Andreas Rheinhardt <andreas.rheinha...@outlook.com> 于2023年7月24日周一 15:54写道: > > Steven Liu: > > Andreas Rheinhardt <andreas.rheinha...@outlook.com> 于2023年7月24日周一 15:36写道: > >> > >> Steven Liu: > >>> Signed-off-by: Steven Liu <l...@chinaffmpeg.org> > >>> --- > >>> tests/fate/flvenc.mak | 7 +- > >>> tests/ref/fate/enhanced-flv-hevc | 256 +++++++++++++++++++++++++++++++ > >>> 2 files changed, 262 insertions(+), 1 deletion(-) > >>> create mode 100644 tests/ref/fate/enhanced-flv-hevc > >>> > >>> diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak > >>> index 5032fface3..f34c595f88 100644 > >>> --- a/tests/fate/flvenc.mak > >>> +++ b/tests/fate/flvenc.mak > >>> @@ -1,5 +1,10 @@ > >>> FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, FLV, FLV, RAWVIDEO_DECODER > >>> SCALE_FILTER TESTSRC_FILTER LAVFI_INDEV) += fate-flv-add_keyframe_index > >>> fate-flv-add_keyframe_index: CMD = transcode "lavfi -graph > >>> testsrc=r=7:n=2:d=20" "foo" flv "-vf scale -c:v flv1 -dct int -g 7 > >>> -flvflags add_keyframe_index" "-c copy -t 0.1" "-show_entries format_tags" > >>> > >>> +FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV MOV, FLV_DEMUXER > >>> HEVC_PARSER) += fate-enhanced-flv-hevc > >>> +fate-enhanced-flv-hevc: CMD = stream_remux mov > >>> $(TARGET_SAMPLES)/hevc/dv84.mov\ > >>> + flv "-c copy" "-c copy" > >>> + > >>> FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) > >>> -fate-flvenc: $(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) > >>> diff --git a/tests/ref/fate/enhanced-flv-hevc > >>> b/tests/ref/fate/enhanced-flv-hevc > >>> new file mode 100644 > >>> index 0000000000..774c5e6df4 > >>> --- /dev/null > >>> +++ b/tests/ref/fate/enhanced-flv-hevc > >>> @@ -0,0 +1,256 @@ > >> > >> stream_remux does not provide a checksum of the intermediate file and > >> also does not report its size. This seems intended for the AV1 file, yet > >> it is unnecessary for HEVC and VP9 where we don't run into the problem > >> of not having a native decoder. Here not having this info is a malus. > > only use stream_remux for AV1? > >> > > That would be one solution. Another solution is to use > "-nofind_stream_info" which will bypass the part of libavformat that > calls the decoder. See the fate-webm-av1-extradata-update test for an > example. Maybe the flv format reason, cannot read the stream info of video stream from flv format, so i try to use stream_remux, it can read the av1 stream in flv correctly. I have resubmit a patch version 6. > > - Andreas > > _______________________________________________ > 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".