Steven Liu <lingjiujia...@gmail.com> 于2023年7月21日周五 15:54写道: > > Michael Niedermayer <mich...@niedermayer.cc> 于2023年7月21日周五 05:51写道: > > > > On Thu, Jul 20, 2023 at 07:00:02PM +0800, Steven Liu wrote: > > > Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > > > --- > > > tests/fate/flvenc.mak | 4 ++++ > > > tests/ref/fate/enhanced-flv-av1 | 32 ++++++++++++++++++++++++++++++++ > > > 2 files changed, 36 insertions(+) > > > create mode 100644 tests/ref/fate/enhanced-flv-av1 > > > > > > diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak > > > index 87a1093136..bfb7faf726 100644 > > > --- a/tests/fate/flvenc.mak > > > +++ b/tests/fate/flvenc.mak > > > @@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO > > > VP9, FLV IVF, VP9_PARSER) > > > fate-enhanced-flv-vp9: CMD = transcode ivf > > > $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\ > > > flv "-c copy" "-c copy" > > > > > > +FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO AV1, FLV IVF, > > > AV1_PARSER) += fate-enhanced-flv-av1 > > > +fate-enhanced-flv-av1: CMD = transcode ivf > > > $(TARGET_SAMPLES)/av1/decode_model.ivf\ > > > + flv "-c copy" "-c copy" > > > + > > > FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) > > > FATE_SAMPLES_FFMPEG += $(FATE_ENHANCED_FLVENC_FFMPEG-yes) > > > fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) > > > $(FATE_ENHANCED_FLVENC_FFMPEG-yes) > > > > does this depend on any other patches ? > > if not it seems failing here: > > > > --- ./tests/ref/fate/enhanced-flv-av1 2023-07-20 23:27:26.197002114 +0200 > > +++ tests/data/fate/enhanced-flv-av1 2023-07-20 23:42:54.419017533 +0200 > > @@ -1,5 +1,5 @@ > > -b40c54b7a26854fd3a4da13dcbba37a3 *tests/data/fate/enhanced-flv-av1.flv > > -22742 tests/data/fate/enhanced-flv-av1.flv > > +a59158ac59815ab6c014383e23b2b792 *tests/data/fate/enhanced-flv-av1.flv > > +22762 tests/data/fate/enhanced-flv-av1.flv > > #extradata 0: 35, 0x527207cd > > #tb 0: 1/1000 > > #media_type 0: video > > Test enhanced-flv-av1 failed. Look at tests/data/fate/enhanced-flv-av1.err > > for details. > > tests/Makefile:307: recipe for target 'fate-enhanced-flv-av1' failed > > make: *** [fate-enhanced-flv-av1] Error 1 > > I cannot sure how to fix it: > > > if i --enable-libaom > > ffmpeg version N-111514-gc101490aa9 Copyright (c) 2000-2023 the FFmpeg > developers > built with Apple clang version 14.0.3 (clang-1403.0.22.14.1) > configuration: --prefix=/usr/local/ --libdir=/usr/local/lib/ > --cc=clang --enable-htmlpages --enable-libx264 --enable-gpl > --extra-cflags='-I/usr/local/include/GraphicsMagick/ > -I/usr/local/opt/openssl/include/ -O0 -g3 -fsanitize=address > -Wno-error -fPIC -I/usr/local/include -fno-omit-frame-pointer' > --extra-ldflags='-O0 -g3 -fsanitize=address -fno-omit-frame-pointer > -Wno-error -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -lpng' > --enable-libfreetype --enable-fontconfig --enable-libspeex > --enable-libopus --enable-libzmq --enable-libx265 --enable-libass > --enable-videotoolbox --disable-optimizations --enable-audiotoolbox > --enable-opengl --disable-stripping --samples=../../fate-suite/ > --enable-encoder=hevc_videotoolbox --enable-hwaccel=hevc_videotoolbox > --enable-hwaccel=h264_videotoolbox --enable-openssl --enable-nonfree > --disable-shared --enable-libfdk_aac --enable-libxml2 > --enable-libmp3lame --enable-lcms2 --enable-libwebp --enable-libvpx > --enable-libaom > libavutil 58. 14.100 / 58. 14.100 > libavcodec 60. 22.100 / 60. 22.100 > libavformat 60. 10.100 / 60. 10.100 > libavdevice 60. 2.101 / 60. 2.101 > libavfilter 9. 8.102 / 9. 8.102 > libswscale 7. 3.100 / 7. 3.100 > libswresample 4. 11.100 / 4. 11.100 > libpostproc 57. 2.100 / 57. 2.100 > [libaom-av1 @ 0x619000025880] 3.2.0-393-g402e264b9 > Input #0, ivf, from > '/Users/liuqi/multimedia/upstream_ffmpeg/ufbuild/../../fate-suite//av1/seq_hdr_op_param_info.ivf': > Duration: 00:00:02.67, start: 0.000000, bitrate: 256 kb/s > Stream #0:0: Video: av1 (Main) (AV01 / 0x31305641), yuv420p(tv), > 320x176 [SAR 1:1 DAR 20:11], 23.98 tbr, 23.98 tbn > At least one output file must be specified > > > > if i don't enable-libaom > > > ffmpeg version N-111514-gc101490aa9 Copyright (c) 2000-2023 the FFmpeg > developers > built with Apple clang version 14.0.3 (clang-1403.0.22.14.1) > configuration: --prefix=/usr/local/ --libdir=/usr/local/lib/ > --cc=clang --enable-htmlpages --enable-libx264 --enable-gpl > --extra-cflags='-I/usr/local/include/GraphicsMagick/ > -I/usr/local/opt/openssl/include/ -O0 -g3 -fsanitize=address > -Wno-error -fPIC -I/usr/local/include -fno-omit-frame-pointer' > --extra-ldflags='-O0 -g3 -fsanitize=address -fno-omit-frame-pointer > -Wno-error -fPIC -L/usr/local/lib -L/usr/local/opt/openssl/lib -lpng' > --enable-libfreetype --enable-fontconfig --enable-libspeex > --enable-libopus --enable-libzmq --enable-libx265 --enable-libass > --enable-videotoolbox --disable-optimizations --enable-audiotoolbox > --enable-opengl --disable-stripping --samples=../../fate-suite/ > --enable-encoder=hevc_videotoolbox --enable-hwaccel=hevc_videotoolbox > --enable-hwaccel=h264_videotoolbox --enable-openssl --enable-nonfree > --disable-shared --enable-libfdk_aac --enable-libxml2 > --enable-libmp3lame --enable-lcms2 --enable-libwebp --enable-libvpx > libavutil 58. 14.100 / 58. 14.100 > libavcodec 60. 22.100 / 60. 22.100 > libavformat 60. 10.100 / 60. 10.100 > libavdevice 60. 2.101 / 60. 2.101 > libavfilter 9. 8.102 / 9. 8.102 > libswscale 7. 3.100 / 7. 3.100 > libswresample 4. 11.100 / 4. 11.100 > libpostproc 57. 2.100 / 57. 2.100 > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [av1 @ 0x619000025880] Your platform doesn't support hardware > accelerated AV1 decoding. > [av1 @ 0x619000025880] Failed to get pixel format. > [ivf @ 0x617000000080] Could not find codec parameters for stream 0 > (Video: av1 (Main) (AV01 / 0x31305641), none(tv), 320x176 [SAR 1:1 DAR > 20:11]): unspecified pixel format > Consider increasing the value for the 'analyzeduration' (0) and > 'probesize' (5000000) options > Input #0, ivf, from > '/Users/liuqi/multimedia/upstream_ffmpeg/noaom/../../fate-suite//av1/seq_hdr_op_param_info.ivf': > Duration: 00:00:02.67, start: 0.000000, bitrate: 256 kb/s > Stream #0:0: Video: av1 (Main) (AV01 / 0x31305641), none(tv), > 320x176 [SAR 1:1 DAR 20:11], 23.98 fps, 23.98 tbr, 23.98 tbn > At least one output file must be specified > > > > > should i make depend LIBAOM?
And have another problem, with libaom: it cannot get avg_frame_rate. without libaom: it can get avg_frame_rate. :( > > > > > > > > [...] > > -- > > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > > > The bravest are surely those who have the clearest vision > > of what is before them, glory and danger alike, and yet > > notwithstanding go out to meet it. -- Thucydides > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > To unsubscribe, visit link above, or email > > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".