U. Artie Eoff (8b808656) at 21 Mar 16:10
libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT
... and 47 more commits
@He_Junyan maybe you have time to take a look at this request?
U. Artie Eoff (69f6f4de) at 13 Mar 14:34
libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT
... and 14 more commits
The FF_API_AYUV_CODECID api was dropped in upstream:
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9ee59b63f5ea
The FF_API_OLD_CHANNEL_LAYOUT api was dropped in upstream:
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/65ddc7498824
U. Artie Eoff (2088b271) at 12 Mar 17:00
libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT
... and 6129 more commits
Unable to compile gst-libav with upstream ffmpeg since ffmpeg commit https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/b800327f4c72
../subprojects/gst-libav/ext/libav/gstavdemux.c: In function ‘gst_ffmpegdemux_type_find’:
../subprojects/gst-libav/ext/libav/gstavdemux.c:1403:16: error: ‘AVInputFormat’ has no member named ‘read_probe’
1403 | if (in_plugin->read_probe &&
| ^~
../subprojects/gst-libav/ext/libav/gstavdemux.c:1411:20: error: ‘AVInputFormat’ has no member named ‘read_probe’
1411 | res = in_plugin->read_probe (&probe_data);
| ^~
!5931 (merged) fixes it
Fixes #3230 (closed)
AVCodecContext is in libavcodec. Use the correct version macro for frame_num/frame_number.
Fixes #3230
Ha... !5931 (merged)
AVCodecContext is in libavcodec. Use the correct version macro for frame_num/frame_number.
Fixes #3230
U. Artie Eoff (8c11f6b5) at 17 Jan 16:45
libav: use correct version macro for frame_num
... and 5676 more commits
Since !5186 libav plugin fails to compile with upstream ffmpeg...
ffmpeg version N-113347-g8e23ebe6f971 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12 (GCC)
configuration: --prefix=/home/uaeoff/Work/workspace/media/install --disable-static --enable-shared --enable-libdrm --enable-vaapi --enable-libvpl --disable-amf --disable-audiotoolbox --disable-cuda --disable-cuda-sdk --disable-cuvid --disable-d3d11va --disable-dxva2 --disable-libnpp --disable-mmal --disable-nvdec --disable-nvenc --disable-omx --disable-omx-rpi --disable-rkmpp --disable-v4l2-m2m --disable-vdpau --disable-videotoolbox --enable-gpl --enable-libx264 --enable-libx265
libavutil 58. 36.101 / 58. 36.101
libavcodec 60. 37.100 / 60. 37.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
../subprojects/gst-libav/ext/libav/gstavauddec.c: In function ‘gst_ffmpegauddec_frame’:
../subprojects/gst-libav/ext/libav/gstavauddec.c:596:3: error: ‘frame_number’ is deprecated [-Werror=deprecated-declarations]
596 | ffmpegdec->context->frame_number++;
| ^~~~~~~~~
In file included from ../subprojects/gst-libav/ext/libav/gstavauddec.c:29:
/home/uaeoff/Work/workspace/media/install/include/libavcodec/avcodec.h:1106:9: note: declared here
1106 | int frame_number;
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
It looks like the wrong version macro was used !5186 (diffs)
...it should be LIBAVCODEC_VERSION_INT
I am sending a patch...
U. Artie Eoff (c5e99ce6) at 17 Nov 04:41
U. Artie Eoff (5a92b9e2) at 16 Nov 15:55
vaapi: add device env to plugin dependencies
... and 6 more commits
In a multi-gpu system, each device may support different features.
Add GST_VAAPI_DRM_DEVICE to plugin dependencies to ensure registered features are re-evaluated according to user specified device.
U. Artie Eoff (59105c5f) at 15 Nov 22:19
vaapi: add device env to plugin dependencies
U. Artie Eoff (a08f84d5) at 15 Nov 22:01
vaapi: add device env to plugin dependencies
... and 5272 more commits
Also reproduced with decodebin
:
gst-launch-1.0 -vf filesrc location=./test-va.h265 ! decodebin ! fakesink
Seems files generated by vah265lpenc
(i.e. low-power va encoder) do not cause discoverer to crash either.
gst-launch-1.0 -vf videotestsrc num-buffers=150 \
! video/x-raw,format=NV12,width=720,height=480,framerate=30/1 \
! vah265lpenc rate-control=cbr key-int-max=60 num-slices=3 b-frames=2 bitrate=500 \
! video/x-h265,profile=main ! h265parse ! filesink location=test-va-lp.h265
...possibly b-frames?? IIUC, low-power encode does not support b-frames. If I set b-frames=0 on vah265enc
pipeline, discoverer does not puke.