В сообщении от Monday 13 May 2019 05:20:50 Phyllis Smith написал(а):
Hi, Andrew, sorry for the late reply and THANK YOU for the information about nvenc below.
as you can see it choked at "git clone yes ffmpeg.git" ... may be removing
'yes' will make it work, until finish or at least next err... Time to patch.
GG checked a patch into the GIT repository today. The short response is use the latest GIT with this:
#!/bin/bash ( ./autogen.sh ./configure --with-single-user --with-booby --with-git-ffmpeg= https://git.ffmpeg.org/ffmpeg.git make && make install ) 2>&1 | tee log mv Makefile Makefile.cfg cp Makefile.devel Makefile
He says you will understand the above. Basically you do not provide the "yes" but rather the actual URL location of the ffmpeg git.
Thanks, will try this after sleep!
The procedure for obtaining the latest ffmpeg IS NOT KEPT UP-TO-DATE. So the line numbers will always change. He generally only updates those line numbers when he adds a new released/stable version of ffmpeg to CinelerraGG. Ffmpeg is constantly changing and many times the git version is not as stable as desired (just like CinGG sometimes in the middle of the month.) But he has updated it today and he ran it and it built correctly so it should for you too. -----------------------------------------------------------------------------------------------------------------------
*PS: reason why I tried this was interesting commit in ffmpeg, removing nvenc from non-free: *
*WHOA!!! Huge Thank You for discovering this and passing it along.* -------------------------------------------------------------------------------------------------------------------------
Also, I found this text, explaining various options you can pass to hw encoders:
https://gist.github.com/Brainiarc7/4b49f463a08377530df6cecb8171306a FFmpeg and libav's playbook: Advanced encoding options with hardware-based acceleration, NVIDIA's NVENC and Intel's VAAPI-based encoder. -----------------
ffmpeg -h encoder=h264_vaapi
Encoder h264_vaapi [H.264/AVC (VAAPI)]: General capabilities: delay Threading capabilities: none Supported pixel formats: vaapi_vld h264_vaapi AVOptions: -qp <int> E..V.... Constant QP (for P-frames; scaled by qfactor/qoffset for I/B) (from 0 to 52) (default 20) -quality <int> E..V.... Set encode quality (trades off against speed, higher is faster) (from 0 to 8) (default 0) -low_power <int> E..V.... Use low-power encoding mode (experimental: only supported on some platforms, does not support all features) (from 0 to 1) (default 0) -----------------
I will have to study the meaning of the above. ------------------------------------------------------------------------------------------------------------------------
basically options you can pass to vaapi-based encoders, as far as I understand ..current ffmpeg git gives: ./ffmpeg -h encoder=h264_vaapi ffmpeg version N-93849-g98478c05ed Copyright (c) 2000-2019 the FFmpeg developers built with gcc 5.5.0 (GCC) configuration: --enable-pthreads --enable-gpl --disable-ffplay --enable-vaapi --enable-vdpau --enable-libtwolame --enable-libopenjpeg --enable-libmp3lame --enable-libaom --enable-libopus --enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 --extra-cflags=' -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/src/lib/openjp2 -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source ' --extra-cxxflags=-D__STDC_CONSTANT_MACROS --pkg-config=true --extra-libs='-Wl,--start-group -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs/libtwolame.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs/libmp3lame.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/mpglib/.libs/libmpgdecoder.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib/libaom.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin/libopenjp2.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs/libopus.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/src/.libs/libogg.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbis.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisenc.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisfile.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheora.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoradec.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoraenc.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/libvpx.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/libx264.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/libx265.a -Wl,--end-group -lm -lstdc++ -pthread -lva -L/usr/X11R7/lib -lva-x11 -lva-drm -lvdpau -L/usr/X11R7/lib -ldl' --extra-ldflags=' -lva -lva-x11 -lva-drm -lvdpau -ldl' libavutil 56. 27.100 / 56. 27.100 libavcodec 58. 52.101 / 58. 52.101 libavformat 58. 27.103 / 58. 27.103 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 51.100 / 7. 51.100 libswscale 5. 4.101 / 5. 4.101 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100 Encoder h264_vaapi [H.264/AVC (VAAPI)]: General capabilities: delay hardware Threading capabilities: none Supported pixel formats: vaapi_vld h264_vaapi AVOptions: -low_power <boolean> E..V..... Use low-power encoding mode (only available on some platforms; may not support all encoding features) (default false) -idr_interval <int> E..V..... Distance (in I-frames) between IDR frames (from 0 to INT_MAX) (default 0) -b_depth <int> E..V..... Maximum B-frame reference depth (from 1 to INT_MAX) (default 1) -rc_mode <int> E..V..... Set rate control mode (from 0 to 6) (default auto) auto E..V..... Choose mode automatically based on other parameters CQP E..V..... Constant-quality CBR E..V..... Constant-bitrate VBR E..V..... Variable-bitrate ICQ E..V..... Intelligent constant-quality QVBR E..V..... Quality-defined variable-bitrate AVBR E..V..... Average variable-bitrate -qp <int> E..V..... Constant QP (for P-frames; scaled by qfactor/qoffset for I/B) (from 0 to 52) (default 0) -quality <int> E..V..... Set encode quality (trades off against speed, higher is faster) (from -1 to INT_MAX) (default -1) -coder <int> E..V..... Entropy coder type (from 0 to 1) (default cabac) cavlc E..V..... cabac E..V..... vlc E..V..... ac E..V..... -aud <boolean> E..V..... Include AUD (default false) -sei <flags> E..V..... Set SEI to include (default identifier+timing+recovery_point) identifier E..V..... Include encoder version identifier timing E..V..... Include timing parameters (buffering_period and pic_timing) recovery_point E..V..... Include recovery points where appropriate -profile <int> E..V..... Set profile (profile_idc and constraint_set*_flag) (from -99 to 65535) (default -99) constrained_baseline E..V..... main E..V..... high E..V..... -level <int> E..V..... Set level (level_idc) (from -99 to 255) (default -99) 1 E..V..... 1.1 E..V..... 1.2 E..V..... 1.3 E..V..... 2 E..V..... 2.1 E..V..... 2.2 E..V..... 3 E..V..... 3.1 E..V..... 3.2 E..V..... 4 E..V..... 4.1 E..V..... 4.2 E..V..... 5 E..V..... 5.1 E..V..... 5.2 E..V..... 6 E..V..... 6.1 E..V..... 6.2 E..V..... ----------------- /ffmpeg -h encoder=mpeg2_vaapi ffmpeg version N-93849-g98478c05ed Copyright (c) 2000-2019 the FFmpeg developers built with gcc 5.5.0 (GCC) configuration: --enable-pthreads --enable-gpl --disable-ffplay --enable-vaapi --enable-vdpau --enable-libtwolame --enable-libopenjpeg --enable-libmp3lame --enable-libaom --enable-libopus --enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 --extra-cflags=' -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/src/lib/openjp2 -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source ' --extra-cxxflags=-D__STDC_CONSTANT_MACROS --pkg-config=true --extra-libs='-Wl,--start-group -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs/libtwolame.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs/libmp3lame.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/mpglib/.libs/libmpgdecoder.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib/libaom.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin/libopenjp2.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs/libopus.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/src/.libs/libogg.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbis.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisenc.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisfile.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheora.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoradec.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoraenc.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/libvpx.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/libx264.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/libx265.a -Wl,--end-group -lm -lstdc++ -pthread -lva -L/usr/X11R7/lib -lva-x11 -lva-drm -lvdpau -L/usr/X11R7/lib -ldl' --extra-ldflags=' -lva -lva-x11 -lva-drm -lvdpau -ldl' libavutil 56. 27.100 / 56. 27.100 libavcodec 58. 52.101 / 58. 52.101 libavformat 58. 27.103 / 58. 27.103 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 51.100 / 7. 51.100 libswscale 5. 4.101 / 5. 4.101 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100 Encoder mpeg2_vaapi [MPEG-2 (VAAPI)]: General capabilities: delay hardware Threading capabilities: none Supported pixel formats: vaapi_vld mpeg2_vaapi AVOptions: -low_power <boolean> E..V..... Use low-power encoding mode (only available on some platforms; may not support all encoding features) (default false) -idr_interval <int> E..V..... Distance (in I-frames) between IDR frames (from 0 to INT_MAX) (default 0) -b_depth <int> E..V..... Maximum B-frame reference depth (from 1 to INT_MAX) (default 1) -rc_mode <int> E..V..... Set rate control mode (from 0 to 6) (default auto) auto E..V..... Choose mode automatically based on other parameters CQP E..V..... Constant-quality CBR E..V..... Constant-bitrate VBR E..V..... Variable-bitrate ICQ E..V..... Intelligent constant-quality QVBR E..V..... Quality-defined variable-bitrate AVBR E..V..... Average variable-bitrate -profile <int> E..V..... Set profile (in profile_and_level_indication) (from -99 to 7) (default -99) simple E..V..... main E..V..... -level <int> E..V..... Set level (in profile_and_level_indication) (from 0 to 15) (default high) low E..V..... main E..V..... high_1440 E..V..... high E..V..... -------------------- ./ffmpeg -h encoder=hevc_vaapi ffmpeg version N-93849-g98478c05ed Copyright (c) 2000-2019 the FFmpeg developers built with gcc 5.5.0 (GCC) configuration: --enable-pthreads --enable-gpl --disable-ffplay --enable-vaapi --enable-vdpau --enable-libtwolame --enable-libopenjpeg --enable-libmp3lame --enable-libaom --enable-libopus --enable-libvorbis --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 --extra-cflags=' -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/src/lib/openjp2 -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/include -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/. -I/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/source ' --extra-cxxflags=-D__STDC_CONSTANT_MACROS --pkg-config=true --extra-libs='-Wl,--start-group -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/twolame-0.3.13/libtwolame/.libs/libtwolame.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/libmp3lame/.libs/libmp3lame.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/lame-3.100/mpglib/.libs/libmpgdecoder.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libaom-v1.0.0/usr/local/lib/libaom.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/openjpeg-2.3.0/bin/libopenjp2.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/opus-1.3/.libs/libopus.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libogg-1.3.3/src/.libs/libogg.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbis.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisenc.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvorbis-1.3.6/lib/.libs/libvorbisfile.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheora.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoradec.a /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libtheora-1.1.1/lib/.libs/libtheoraenc.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/libvpx-1.8.0/libvpx.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x264-snapshot-20190117-2245-stable/libx264.a -L/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/ /dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/thirdparty/../thirdparty/x265_3.0/libx265.a -Wl,--end-group -lm -lstdc++ -pthread -lva -L/usr/X11R7/lib -lva-x11 -lva-drm -lvdpau -L/usr/X11R7/lib -ldl' --extra-ldflags=' -lva -lva-x11 -lva-drm -lvdpau -ldl' libavutil 56. 27.100 / 56. 27.100 libavcodec 58. 52.101 / 58. 52.101 libavformat 58. 27.103 / 58. 27.103 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 51.100 / 7. 51.100 libswscale 5. 4.101 / 5. 4.101 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100 Encoder hevc_vaapi [H.265/HEVC (VAAPI)]: General capabilities: delay hardware Threading capabilities: none Supported pixel formats: vaapi_vld h265_vaapi AVOptions: -low_power <boolean> E..V..... Use low-power encoding mode (only available on some platforms; may not support all encoding features) (default false) -idr_interval <int> E..V..... Distance (in I-frames) between IDR frames (from 0 to INT_MAX) (default 0) -b_depth <int> E..V..... Maximum B-frame reference depth (from 1 to INT_MAX) (default 1) -rc_mode <int> E..V..... Set rate control mode (from 0 to 6) (default auto) auto E..V..... Choose mode automatically based on other parameters CQP E..V..... Constant-quality CBR E..V..... Constant-bitrate VBR E..V..... Variable-bitrate ICQ E..V..... Intelligent constant-quality QVBR E..V..... Quality-defined variable-bitrate AVBR E..V..... Average variable-bitrate -qp <int> E..V..... Constant QP (for P-frames; scaled by qfactor/qoffset for I/B) (from 0 to 52) (default 0) -aud <boolean> E..V..... Include AUD (default false) -profile <int> E..V..... Set profile (general_profile_idc) (from -99 to 255) (default -99) main E..V..... main10 E..V..... rext E..V..... -tier <int> E..V..... Set tier (general_tier_flag) (from 0 to 1) (default main) main E..V..... high E..V..... -level <int> E..V..... Set level (general_level_idc) (from -99 to 255) (default -99) 1 E..V..... 2 E..V..... 2.1 E..V..... 3 E..V..... 3.1 E..V..... 4 E..V..... 4.1 E..V..... 5 E..V..... 5.1 E..V..... 5.2 E..V..... 6 E..V..... 6.1 E..V..... 6.2 E..V..... -sei <flags> E..V..... Set SEI to include (default hdr) hdr E..V..... Include HDR metadata for mastering display colour volume and content light level information ---------------------
Also, I wonder if some ffmpeg filters, based on va-api (deinterlace, scale, brightness ...) or opencl will work for at least Intel/AMD ... But then Cinelerra probably should understand what kind of hw (GPU) based filters attached to track, and not call download from GPU until first sw effect appear ... (a bit like it should work with OpenGL today).
Hmmm. GG has not had a chance to think about this yet. But first he is going to see if he can get ffmpeg nvenc working with Cinelerra. Earlier when he first looked into it, there was still a requirement for a lot more libraries to be included. gg/Phyllis
I think -lOpenCL in global_config (in addition to --enable-opencl flag for ffmpeg) did trick for me - OpenCL filters surfaced in Cin-GG, but I don't have GPU with openCL drivers to test them. My global_config was hacked by me in accordance with my additions to ffmpeg's configure (see another email) system_libs += -ldav1d system_libs += -lOpenCL system_libs += -lvidstab system_libs += -lsnappy but unfortunately testing jsut compiled cin showed very bad decoding of those AV1 samples: https://www.elecard.com/videos -> Stream2_AV1_720p_3.2mbps.webm and Stream2_AV1_4K_22.7mbps.webm root@slax:/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/bin# ./cin Cinelerra Infinity - built: May 13 2019 03:29:52 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2018 Heroine Virtual Ltd. by Adam Williams (c) 2007-2018 cin5 derivative by W.P. Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFStream::decode: avcodec_send_packet failed. file:/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm err: Invalid data found when processing input FFStream::decode: failed FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm Session time: 0:02:59 Cpu time: user: 0:04:37.254 sys: 0:00:03.832 and whole point (for me) was trying faster dav1d decoder .. :/ http://www.jbkempf.com/blog/post/2019/dav1d-0.3-release:-even-faster! yes, URL with '!" .... More normal Cinelerra-GG with 4.1 ffmpeg and libaom-1.0 decodes them OK, but as slideshow ... root@slax:/dev/shm/tmp/cinelerra-goodguy-20190512/cinelerra-5.1/bin# cin Cinelerra Infinity - built: May 12 2019 00:37:38 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2018 Heroine Virtual Ltd. by Adam Williams (c) 2007-2018 cin5 derivative by W.P. Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. PluginFFilter::new_ffilter(anlmdn) err: Нет такого файла или каталога PluginFFilter::new_ffilter(asoftclip) err: Нет такого файла или каталога PluginFFilter::new_ffilter(avgblur_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(boxblur_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(chromashift) err: Нет такого файла или каталога PluginFFilter::new_ffilter(colorkey_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(colorhold) err: Нет такого файла или каталога PluginFFilter::new_ffilter(convolution_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(dedot) err: Нет такого файла или каталога PluginFFilter::new_ffilter(dilation_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(erosion_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(freezedetect) err: Нет такого файла или каталога PluginFFilter::new_ffilter(lagfun) err: Нет такого файла или каталога PluginFFilter::new_ffilter(maskfun) err: Нет такого файла или каталога PluginFFilter::new_ffilter(prewitt_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(program_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(rgbashift) err: Нет такого файла или каталога PluginFFilter::new_ffilter(roberts_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(sobel_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(tonemap_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(tpad) err: Нет такого файла или каталога PluginFFilter::new_ffilter(transpose_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(unsharp_opencl) err: Нет такого файла или каталога PluginFFilter::new_ffilter(vidstabdetect) err: Нет такого файла или каталога PluginFFilter::new_ffilter(vidstabtransform) err: Нет такого файла или каталога FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm FFMPEG::open_decoder: some stream times estimated: /mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm Session time: 0:04:12 Cpu time: user: 0:06:34.651 sys: 0:00:04.781 (do not worry about failed filters/plugins - just both versions of Cin-GG used same plugin cache ...) Thanks again for paying attention to my hacks!