View previous topic :: View next topic |
Author |
Message |
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Jun 09, 2016 9:26 pm Post subject: media-libs/mlt --enable-gpl flag |
|
|
I haven't got one of the filters in kdenlive, so one of developer asked me to solve it:
Quote: | Did you add the --enable-gpl flag when configuring MLT? |
But I do not have such flag in Gentoo for mlt?
Code: | # equery u mlt
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for media-libs/mlt-6.2.0:
U I
- - compressed-lumas : Compress the luma files in png.
+ + cpu_flags_x86_mmx : Use the MMX instruction set
+ + cpu_flags_x86_sse : Use the SSE instruction set
+ + cpu_flags_x86_sse2 : Use the SSE2 instruction set
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces
see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
+ + ffmpeg : Enable ffmpeg/libav-based audio/video codec support
- - fftw : Use FFTW library for computing Fourier transforms
+ + frei0r : Build the module for media-plugins/frei0r-plugins
+ + gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
- - jack : Add support for the JACK Audio Connection Kit
- - kde : Add support for KDE (K Desktop Environment)
+ + kdenlive : Build support for kde-apps/kdenlive
- - libav : Prefer libav over ffmpeg whenever both are supported
+ + libsamplerate : Build with support for converting sample rates using libsamplerate
- - lua : Build SWIG bindings for Lua
+ + melt : Build the melt commandline tool
+ + opengl : Add support for OpenGL (3D graphics)
- - python : Build SWIG bindings for Python
+ + python_targets_python2_7 : Build with Python 2.7
- - qt4 : Add support for the Qt GUI/Application Toolkit version 4.x
+ + qt5 : Add support for the Qt 5 application and UI framework
- - rtaudio : Builds rtaudio consumer for native audio support on multiple platforms.
- - ruby : Build SWIG bindings for Ruby
+ + sdl : Add support for Simple Direct Layer (media library)
+ + vdpau : Enable the Video Decode and Presentation API for Unix acceleration interface
- - xine : Add support for the XINE movie libraries
+ + xml : Add support for XML files
|
Last edited by Xywa on Fri Jun 10, 2016 8:15 am; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Jun 09, 2016 10:34 pm Post subject: Re: media-libs/mlt --enable-gpl flag |
|
|
Xywa wrote: | I have not got one of the filters in kdenlive, and one of developer asked me:
Quote: | Did you add the --enable-gpl flag when configuring MLT? |
But I do not have such flag in Gentoo for mlt? |
Xywa ... yes, because useflags don't necessarily map to configure switches. However, both ' --enable-gpl' and '--enable-gpl3' are set:
mlt-6.2.0.ebuild: | local myconf="--enable-gpl
--enable-gpl3 |
... interestingly there is a typo on the next line:
mlt-6.2.0.ebuild: | --enable-motion-est
e --target-arch=$(tc-arch) |
... that may not have anything to do with the missing filters, but I would look at the build.log none the less.
best ... khay |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Fri Jun 10, 2016 8:24 am Post subject: Re: media-libs/mlt --enable-gpl flag |
|
|
khayyam wrote: | mlt-6.2.0.ebuild: | local myconf="--enable-gpl
--enable-gpl3 |
... interestingly there is a typo on the next line:
mlt-6.2.0.ebuild: | --enable-motion-est
e --target-arch=$(tc-arch) |
... that may not have anything to do with the missing filters, but I would look at the build.log none the less.
|
I have the same config, but for some reason GPU processing by Movit library is not aviable in my case (the same with movit filtres):
http://postimg.org/image/v6oilwhbv/
Code: | >>> Configuring source in /var/tmp/portage/media-libs/mlt-6.2.0/work/mlt-6.2.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gpl --enable-gpl3 --enable-motion-est e --target-arch=amd64 --disable-swfdec --disable-debug --enable-sse --enable-sse2 --enable-gtk2 --enable-sdl --disable-jackrack --enable-avformat --avformat-swscale --disable-plus --enable-frei0r --enable-melt --enable-opengl --enable-resample --disable-rtaudio --avformat-vdpau --enable-xml --disable-xine --enable-kdenlive --disable-sox --enable-qt --qt-includedir=/usr/include/qt5 --qt-libdir=/usr/lib64 --enable-mmx --swig-languages=none |
Lokks like Movit filtres are in kdenlive, but I cannot use it as missing GPU processing option:
Code: | # ls /usr/share/kdenlive/effects/
audiobalance.xml frei0r_colortap.xml frei0r_saturat0r.xml movit_opacity.xml
audiopan.xml frei0r_contrast0r.xml frei0r_scale0tilt.xml movit_rect.xml
audiowaveform.xml frei0r_curves.xml frei0r_scanline0r.xml movit_saturation.xml
audiowave.xml frei0r_d90stairsteppingfix.xml frei0r_select0r.xml movit_unsharp_mask.xml
automask.xml frei0r_defish0r.xml frei0r_sharpness.xml movit_vignette.xml
boxblur.xml frei0r_delay0r.xml frei0r_sobel.xml movit_white_balance.xml
brightness.xml frei0r_delaygrab.xml frei0r_sopsat.xml mute.xml
channelcopy.xml frei0r_distort0r.xml frei0r_squareblur.xml normalise.xml
charcoal.xml frei0r_edgeglow.xml frei0r_tehroxx0r.xml obscure.xml
chroma_hold.xml frei0r_equaliz0r.xml frei0r_threelay0r.xml oldfilm.xml
chroma.xml frei0r_facebl0r.xml frei0r_three_point_balance.xml pan_zoom.xml
crop.xml frei0r_facedetect.xml frei0r_threshold0r.xml region.xml
dust.xml frei0r_flippo.xml frei0r_timeout.xml rotation_keyframable.xml
dynamictext.xml frei0r_glow.xml frei0r_tint0r.xml rotation.xml
fade_from_black.xml frei0r_hqdn3d.xml frei0r_twolay0r.xml rotoscoping.xml
fadein.xml frei0r_hueshift0r.xml frei0r_vectorscope.xml scratchlines.xml
fadeout.xml frei0r_iirblur.xml frei0r_vertigo.xml sepia.xml
fade_to_black.xml frei0r_keyspillm0pup.xml frei0r_vignette.xml sox_band.xml
freeze.xml frei0r_lenscorrection.xml gain.xml sox_bass.xml
frei0r_alpha0ps.xml frei0r_letterb0xed.xml gamma.xml sox_echo.xml
frei0r_alphagrad.xml frei0r_levels.xml grain.xml sox_flanger.xml
frei0r_alphaspot.xml frei0r_lightgraffiti.xml greyscale.xml sox_gain.xml
frei0r_balanc0r.xml frei0r_luminance.xml invert.xml sox_phaser.xml
frei0r_baltan.xml frei0r_mask0mate.xml lift_gamma_gain.xml sox_stretch.xml
frei0r_bezier_curves.xml frei0r_medians.xml loudness.xml speed.xml
frei0r_brightness.xml frei0r_nervous.xml mirror.xml swapchannels.xml
frei0r_c0rners.xml frei0r_nosync0r.xml movit_blur.xml tcolor.xml
frei0r_cartoon.xml frei0r_pixeliz0r.xml movit_deconvolution_sharpen.xml threshold.xml
frei0r_cluster.xml frei0r_pr0be.xml movit_diffusion.xml update
frei0r_colgate.xml frei0r_pr0file.xml movit_glow.xml vignette.xml
frei0r_coloradj_rgb.xml frei0r_primaries.xml movit_lift_gamma_gain.xml volume.xml
frei0r_colordistance.xml frei0r_rgbparade.xml movit_mirror.xml wave.xml |
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Jun 10, 2016 10:01 am Post subject: |
|
|
the dev forget to tells you: it need --enable-gpl and --enable-opengl
you have both, great.
but the --enable-opengl should also mean: you need a working opengl environment for me.
are you sure you have one? (a software opengl implementation is certainly bad if you are looking at getting a gpu do the work) |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Fri Jun 10, 2016 1:34 pm Post subject: |
|
|
krinn wrote: | but the --enable-opengl should also mean: you need a working opengl environment for me.
are you sure you have one? (a software opengl implementation is certainly bad if you are looking at getting a gpu do the work) |
What do you mean by opengl environment?
Do you mean this?
Code: | # eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11 |
Code: | # equery u xorg-server
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for x11-base/xorg-server-1.17.4:
U I
- - dmx : Build the Distributed Multiheaded X server
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- - glamor : Enable Glamor OpenGL 2D acceleration
+ + ipv6 : Add support for IP version 6
- - kdrive : Build the kdrive X servers
- - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
- - static-libs : Build static versions of dynamic libraries as well
+ + suid : Enable setuid root program, with potential security risks
- - systemd : Enable use of systemd-specific libraries and features like socket activation or session tracking
- - tslib : Build with tslib support for touchscreen devices
+ + udev : Enable virtual/udev integration (device discovery, power and storage device support, etc)
- - unwind : Enable libunwind usage for backtraces
- - wayland : Enable dev-libs/wayland backend
- - xephyr : Build the Xephyr server
- - xnest : Build the Xnest server
+ + xorg : Build the Xorg X server (HIGHLY RECOMMENDED)
- - xvfb : Build the Xvfb server |
Code: | # emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem: 8080292 total, 5861396 free
KiB Swap: 9484148 total, 9484148 free
Timestamp of repository gentoo: Fri, 10 Jun 2016 09:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22-r4::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
cg
location: /var/lib/layman/cg
masters: gentoo
priority: 0
steam-overlay
location: /usr/local/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay/
masters: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran frei0r gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify libsamplerate mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Jun 11, 2016 9:18 am Post subject: |
|
|
yes, it show your opengl is set as nvidia, but i would expect a check if really the implementation is in use with some:
Code: | glxinfo | grep "direct rendering"
direct rendering: Yes |
|
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Sat Jun 11, 2016 9:25 am Post subject: |
|
|
krinn wrote: | yes, it show your opengl is set as nvidia, but i would expect a check if really the implementation is in use with some:
Code: | glxinfo | grep "direct rendering"
direct rendering: Yes |
|
In my case:
Code: | # glxinfo | grep "direct rendering"
direct rendering: Yes |
Maybe I should start CUDA? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Jun 11, 2016 10:17 am Post subject: |
|
|
didn't saw CUDA as a need, to me, a bad idea then. |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Sat Jun 11, 2016 11:52 am Post subject: |
|
|
krinn wrote: | didn't saw CUDA as a need, to me, a bad idea then. |
So do you think I shoul post a bug on kdenlive website? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Jun 11, 2016 2:50 pm Post subject: |
|
|
a good idea, but if you can have a dev talk in irc, it would faster things. |
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Sat Jun 11, 2016 7:46 pm Post subject: |
|
|
krinn wrote: | a good idea, but if you can have a dev talk in irc, it would faster things. |
I just switch on kdenlive and those effects from Movit just works GPU stll doesn't. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|