[FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
Steven Liu
lingjiujianke at gmail.com
Tue Jul 18 12:54:01 EEST 2023
Anton Khirnov <anton at khirnov.net> 于2023年7月18日周二 17:50写道:
>
> Quoting Steven Liu (2023-07-18 09:32:12)
> > Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> > ---
> > tests/fate/flvenc.mak | 11 +++++++++++
> > tests/ref/fate/enhanced-flv-hevc | 6 ++++++
> > 2 files changed, 17 insertions(+)
> > create mode 100644 tests/ref/fate/enhanced-flv-hevc
> >
> > diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
> > index 5032fface3..a0af45e1a8 100644
> > --- a/tests/fate/flvenc.mak
> > +++ b/tests/fate/flvenc.mak
> > @@ -1,5 +1,16 @@
> > 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"
> >
> > +
> > +tests/data/enhanced_flv_hevc.flv: TAG = GEN
> > +tests/data/enhanced_flv_hevc.flv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
> > + $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
> > + -f lavfi -i "testsrc=s=176x144:r=1:n=1:d=0.04"
> -filter_complex "testsrc=s=176x144:r=1:n=1:d=0.04"
>
> >-threads 1
>
> why?
thread type maybe have slice , frame, i cannot sure some times about
the framecrc is only one result after encode operation.
>
> > -t 0.04
> seems like you mean -frames 1
fix locally.
>
> --
> Anton Khirnov
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list