Message ID | 20230718073214.14415-4-lq@chinaffmpeg.org |
---|---|
State | New |
Headers | show |
Series | Add test cases of hevc, vp9, av1 in enhanced flv | expand |
Context | Check | Description |
---|---|---|
andriy/configure_x86 | warning | Failed to run configure |
yinshiyou/configure_loongarch64 | warning | Failed to run configure |
Steven Liu <lq@chinaffmpeg.org> 于2023年7月18日周二 15:33写道: > > Signed-off-by: Steven Liu <lq@chinaffmpeg.org> > --- > tests/fate/flvenc.mak | 12 ++++++++++++ > tests/ref/fate/enhanced-flv-av1 | 6 ++++++ > 2 files changed, 18 insertions(+) > create mode 100644 tests/ref/fate/enhanced-flv-av1 > > diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak > index b7ea6d3efa..c2c780daac 100644 > --- a/tests/fate/flvenc.mak > +++ b/tests/fate/flvenc.mak > @@ -22,5 +22,17 @@ fate-enhanced-flv-vp9: tests/data/enhanced_flv_vp9.flv > fate-enhanced-flv-vp9: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv > fate-enhanced-flv-vp9: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv > > +tests/data/enhanced_flv_av1.flv: TAG = GEN > +tests/data/enhanced_flv_av1.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" -pix_fmt yuv420p -c:v libaom-av1 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv 2>/dev/null > + > +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBAOM_AV1, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-av1 > +fate-enhanced-flv-av1: tests/data/enhanced_flv_av1.flv > +fate-enhanced-flv-av1: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv > +fate-enhanced-flv-av1: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv > + > + > + removed two empty line locally. > FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) > fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) > diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1 > new file mode 100644 > index 0000000000..1cfb85da12 > --- /dev/null > +++ b/tests/ref/fate/enhanced-flv-av1 > @@ -0,0 +1,6 @@ > +#tb 0: 1/1 > +#media_type 0: video > +#codec_id 0: rawvideo > +#dimensions 0: 176x144 > +#sar 0: 1/1 > +0, 0, 0, 1, 38016, 0xd484e642 > -- > 2.40.0 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak index b7ea6d3efa..c2c780daac 100644 --- a/tests/fate/flvenc.mak +++ b/tests/fate/flvenc.mak @@ -22,5 +22,17 @@ fate-enhanced-flv-vp9: tests/data/enhanced_flv_vp9.flv fate-enhanced-flv-vp9: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv fate-enhanced-flv-vp9: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv +tests/data/enhanced_flv_av1.flv: TAG = GEN +tests/data/enhanced_flv_av1.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" -pix_fmt yuv420p -c:v libaom-av1 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv 2>/dev/null + +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBAOM_AV1, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-av1 +fate-enhanced-flv-av1: tests/data/enhanced_flv_av1.flv +fate-enhanced-flv-av1: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv +fate-enhanced-flv-av1: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv + + + FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1 new file mode 100644 index 0000000000..1cfb85da12 --- /dev/null +++ b/tests/ref/fate/enhanced-flv-av1 @@ -0,0 +1,6 @@ +#tb 0: 1/1 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 176x144 +#sar 0: 1/1 +0, 0, 0, 1, 38016, 0xd484e642
Signed-off-by: Steven Liu <lq@chinaffmpeg.org> --- tests/fate/flvenc.mak | 12 ++++++++++++ tests/ref/fate/enhanced-flv-av1 | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-av1