* [FFmpeg-devel] [PATCH v1 0/3] Add test cases of hevc, vp9, av1 in enhanced flv
@ 2023-07-18 7:32 Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
` (2 more replies)
0 siblings, 3 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 7:32 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Steven Liu (3):
tests/fate/flvenc: add hevc in enhanced flv test case
tests/fate/flvenc: add vp9 in enhanced flv test case
tests/fate/flvenc: add av1 in enhanced flv test case
tests/fate/flvenc.mak | 33 ++++++++++++++++++++++++++++++++
tests/ref/fate/enhanced-flv-av1 | 6 ++++++
tests/ref/fate/enhanced-flv-hevc | 6 ++++++
tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
4 files changed, 51 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
create mode 100644 tests/ref/fate/enhanced-flv-hevc
create mode 100644 tests/ref/fate/enhanced-flv-vp9
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 7:32 [FFmpeg-devel] [PATCH v1 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
@ 2023-07-18 7:32 ` Steven Liu
2023-07-18 9:50 ` Anton Khirnov
2023-07-18 11:36 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 2 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 7:32 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@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" -pix_fmt yuv420p -c:v libx265 -bf 0 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv 2>/dev/null
+
+FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBX265 HEVC, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-hevc
+fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
+fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+
FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
diff --git a/tests/ref/fate/enhanced-flv-hevc b/tests/ref/fate/enhanced-flv-hevc
new file mode 100644
index 0000000000..ee53ccf982
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -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, 0x01bce789
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v1 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-18 7:32 [FFmpeg-devel] [PATCH v1 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-18 7:32 ` Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 7:32 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 10 ++++++++++
tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
2 files changed, 16 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index a0af45e1a8..b7ea6d3efa 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+tests/data/enhanced_flv_vp9.flv: TAG = GEN
+tests/data/enhanced_flv_vp9.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 libvpx-vp9 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null
+
+FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBVPX_VP9 VP9, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-vp9
+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
+
FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..1669943bde
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,6 @@
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
+0, 0, 0, 1, 38016, 0xec80eb63
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-18 7:32 [FFmpeg-devel] [PATCH v1 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-18 7:32 ` Steven Liu
2023-07-18 7:58 ` Steven Liu
2 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-18 7:32 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
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
+
+
+
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 " Steven Liu
@ 2023-07-18 7:58 ` Steven Liu
0 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 7:58 UTC (permalink / raw)
To: FFmpeg development discussions and patches
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".
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-18 9:50 ` Anton Khirnov
2023-07-18 9:54 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 11:36 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
1 sibling, 2 replies; 46+ messages in thread
From: Anton Khirnov @ 2023-07-18 9:50 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Steven Liu
Quoting Steven Liu (2023-07-18 09:32:12)
> Signed-off-by: Steven Liu <lq@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?
> -t 0.04
seems like you mean -frames 1
--
Anton Khirnov
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 9:50 ` Anton Khirnov
@ 2023-07-18 9:54 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
1 sibling, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 9:54 UTC (permalink / raw)
To: FFmpeg development discussions and patches, Steven Liu
Anton Khirnov <anton@khirnov.net> 于2023年7月18日周二 17:50写道:
>
> Quoting Steven Liu (2023-07-18 09:32:12)
> > Signed-off-by: Steven Liu <lq@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@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv
2023-07-18 9:50 ` Anton Khirnov
2023-07-18 9:54 ` Steven Liu
@ 2023-07-18 11:21 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
` (3 more replies)
1 sibling, 4 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 11:21 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
v2: remove -threads option and set frames 1
Steven Liu (3):
tests/fate/flvenc: add hevc in enhanced flv test case
tests/fate/flvenc: add vp9 in enhanced flv test case
tests/fate/flvenc: add av1 in enhanced flv test case
tests/fate/flvenc.mak | 31 +++++++++++++++++++++++++++++++
tests/ref/fate/enhanced-flv-av1 | 6 ++++++
tests/ref/fate/enhanced-flv-hevc | 6 ++++++
tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
4 files changed, 49 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
create mode 100644 tests/ref/fate/enhanced-flv-hevc
create mode 100644 tests/ref/fate/enhanced-flv-vp9
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v2 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
@ 2023-07-18 11:21 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 " Steven Liu
` (2 subsequent siblings)
3 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 11:21 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@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..69210c78a2 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" -pix_fmt yuv420p -c:v libx265 -frames 1 -y $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv 2>/dev/null
+
+FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBX265 HEVC, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-hevc
+fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
+fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+
FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
diff --git a/tests/ref/fate/enhanced-flv-hevc b/tests/ref/fate/enhanced-flv-hevc
new file mode 100644
index 0000000000..ee53ccf982
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -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, 0x01bce789
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-18 11:21 ` Steven Liu
2023-07-18 15:46 ` Michael Niedermayer
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-18 11:21 ` Steven Liu
3 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-18 11:21 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 10 ++++++++++
tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
2 files changed, 16 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 69210c78a2..dafad26734 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+tests/data/enhanced_flv_vp9.flv: TAG = GEN
+tests/data/enhanced_flv_vp9.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 libvpx-vp9 -frames 1 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null
+
+FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBVPX_VP9 VP9, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-vp9
+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
+
FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..1669943bde
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,6 @@
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
+0, 0, 0, 1, 38016, 0xec80eb63
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-18 11:21 ` Steven Liu
2023-07-18 11:21 ` Steven Liu
3 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 11:21 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 10 ++++++++++
tests/ref/fate/enhanced-flv-av1 | 6 ++++++
2 files changed, 16 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index dafad26734..2ad7a2708e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -22,5 +22,15 @@ 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 -frames 1 -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..4feeee72e2
--- /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, 0xe439e757
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
` (2 preceding siblings ...)
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 " Steven Liu
@ 2023-07-18 11:21 ` Steven Liu
3 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-18 11:21 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 10 ++++++++++
tests/ref/fate/enhanced-flv-av1 | 6 ++++++
2 files changed, 16 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index dafad26734..2ad7a2708e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -22,5 +22,15 @@ 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 -frames 1 -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..4feeee72e2
--- /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, 0xe439e757
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-18 9:50 ` Anton Khirnov
@ 2023-07-18 11:36 ` Andreas Rheinhardt
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-19 9:11 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Steven Liu
1 sibling, 2 replies; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-18 11:36 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Signed-off-by: Steven Liu <lq@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" -pix_fmt yuv420p -c:v libx265 -bf 0 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv 2>/dev/null
> +
This will encode using libx265 which is beyond our control (and has
issues with Valgrind). This would only work if the codec were lossless;
but your command line isn't.
Anyway, you should instead just use any of our hevc samples and remux it
to flv and read the resulting file. There are lots of examples of how to
do this that also avoid keeping the intermediate file around.
The other two patches have the same issues.
> +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBX265 HEVC, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-hevc
> +fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
> +fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
> +fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
> +
> FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
> fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
> diff --git a/tests/ref/fate/enhanced-flv-hevc b/tests/ref/fate/enhanced-flv-hevc
> new file mode 100644
> index 0000000000..ee53ccf982
> --- /dev/null
> +++ b/tests/ref/fate/enhanced-flv-hevc
> @@ -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, 0x01bce789
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-18 15:46 ` Michael Niedermayer
2023-07-19 9:10 ` Steven Liu
0 siblings, 1 reply; 46+ messages in thread
From: Michael Niedermayer @ 2023-07-18 15:46 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 2863 bytes --]
On Tue, Jul 18, 2023 at 07:21:57PM +0800, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> ---
> tests/fate/flvenc.mak | 10 ++++++++++
> tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
> 2 files changed, 16 insertions(+)
> create mode 100644 tests/ref/fate/enhanced-flv-vp9
>
> diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
> index 69210c78a2..dafad26734 100644
> --- a/tests/fate/flvenc.mak
> +++ b/tests/fate/flvenc.mak
> @@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
> fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
> fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
>
> +tests/data/enhanced_flv_vp9.flv: TAG = GEN
> +tests/data/enhanced_flv_vp9.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 libvpx-vp9 -frames 1 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null
generating data with an extarnal lib (like libvpx) will not produce the same
results accross revissions of that lib
> +
> +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBVPX_VP9 VP9, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-vp9
> +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
> +
> FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
> fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
> diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
> new file mode 100644
> index 0000000000..1669943bde
> --- /dev/null
> +++ b/tests/ref/fate/enhanced-flv-vp9
> @@ -0,0 +1,6 @@
> +#tb 0: 1/1
> +#media_type 0: video
> +#codec_id 0: rawvideo
> +#dimensions 0: 176x144
> +#sar 0: 0/1
> +0, 0, 0, 1, 38016, 0xec80eb63
Thats what i would get here:
--- ./tests/ref/fate/enhanced-flv-vp9 2023-07-18 17:43:03.926825292 +0200
+++ tests/data/fate/enhanced-flv-vp9 2023-07-18 17:43:08.402875138 +0200
@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 176x144
#sar 0: 0/1
-0, 0, 0, 1, 38016, 0xec80eb63
+0, 0, 0, 1, 38016, 0x8b3ceb6b
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv
2023-07-18 11:36 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
@ 2023-07-19 9:03 ` Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
` (2 more replies)
2023-07-19 9:11 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Steven Liu
1 sibling, 3 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:03 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
v2: remove -threads option and set frames 1
v3: modify test cases use fate-suite samples for remux hevc,vp9,av1 in into flv.
Steven Liu (3):
tests/fate/flvenc: add hevc in enhanced flv test case
tests/fate/flvenc: add vp9 in enhanced flv test case
tests/fate/flvenc: add av1 in enhanced flv test case
tests/fate/flvenc.mak | 15 ++++++++++++++-
tests/ref/fate/enhanced-flv-av1 | 8 ++++++++
tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
tests/ref/fate/enhanced-flv-vp9 | 8 ++++++++
4 files changed, 38 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/fate/enhanced-flv-av1
create mode 100644 tests/ref/fate/enhanced-flv-hevc
create mode 100644 tests/ref/fate/enhanced-flv-vp9
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
@ 2023-07-19 9:03 ` Steven Liu
2023-07-19 10:33 ` Andreas Rheinhardt
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:03 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 7 ++++++-
tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
+fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
+ flv "-vcodec copy -map 0:v -frames 1"
+
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..41eaefaf6e
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -0,0 +1,8 @@
+afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
+64396 tests/data/fate/enhanced-flv-hevc.flv
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+0, 0, 0, 1, 6220800, 0x1f259c93
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v3 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-19 9:03 ` Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:03 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-vp9 | 8 ++++++++
2 files changed, 12 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 6b2fbe8c89..2012892ef5 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, MOV, FLV_MUXER) += fate-enhanced-flv-h
fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-vcodec copy -map 0:v -frames 1"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
+ flv "-vcodec copy -frames 1"
+
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)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..9a2b5ba7c9
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,8 @@
+00bf4de153bb8bcb0af32f1610dc7b6d *tests/data/fate/enhanced-flv-vp9.flv
+4179 tests/data/fate/enhanced-flv-vp9.flv
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 1, 152064, 0x452f964c
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v3 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-19 9:03 ` Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:03 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-av1 | 8 ++++++++
2 files changed, 12 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 2012892ef5..9cfe55535e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-v
fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
flv "-vcodec copy -frames 1"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = transcode ivf $(TARGET_SAMPLES)/av1/decode_model.ivf\
+ flv "-vcodec copy -frames 1"
+
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)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..7e3392ab30
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,8 @@
+811d8a96cefb28ed2d4bd445e6bdabb4 *tests/data/fate/enhanced-flv-av1.flv
+8412 tests/data/fate/enhanced-flv-av1.flv
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 240x100
+#sar 0: 1/1
+0, 0, 0, 1, 36000, 0x1e8fa12e
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-18 15:46 ` Michael Niedermayer
@ 2023-07-19 9:10 ` Steven Liu
0 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:10 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Michael Niedermayer <michael@niedermayer.cc> 于2023年7月18日周二 23:46写道:
>
> On Tue, Jul 18, 2023 at 07:21:57PM +0800, Steven Liu wrote:
> > Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> > ---
> > tests/fate/flvenc.mak | 10 ++++++++++
> > tests/ref/fate/enhanced-flv-vp9 | 6 ++++++
> > 2 files changed, 16 insertions(+)
> > create mode 100644 tests/ref/fate/enhanced-flv-vp9
> >
> > diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
> > index 69210c78a2..dafad26734 100644
> > --- a/tests/fate/flvenc.mak
> > +++ b/tests/fate/flvenc.mak
> > @@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
> > fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
> > fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
> >
> > +tests/data/enhanced_flv_vp9.flv: TAG = GEN
> > +tests/data/enhanced_flv_vp9.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 libvpx-vp9 -frames 1 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null
>
> generating data with an extarnal lib (like libvpx) will not produce the same
> results accross revissions of that lib
Hi Michael,
Yes, i resubmit new patchset modified as Nicolas suggestion which try
to use the samples from fate-suite.
new patchset is: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9350
Thanks
Steven
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-18 11:36 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
@ 2023-07-19 9:11 ` Steven Liu
1 sibling, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-19 9:11 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月18日周二 19:35写道:
>
> Steven Liu:
> > Signed-off-by: Steven Liu <lq@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" -pix_fmt yuv420p -c:v libx265 -bf 0 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv 2>/dev/null
> > +
>
> This will encode using libx265 which is beyond our control (and has
> issues with Valgrind). This would only work if the codec were lossless;
> but your command line isn't.
>
> Anyway, you should instead just use any of our hevc samples and remux it
> to flv and read the resulting file. There are lots of examples of how to
> do this that also avoid keeping the intermediate file around.
>
> The other two patches have the same issues.
Thanks Nicolas, i have modified the patchset try to use the samples
now, and resumit patchset :
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9350
Thanks
Steven
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-19 10:33 ` Andreas Rheinhardt
2023-07-20 2:07 ` Steven Liu
0 siblings, 1 reply; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-19 10:33 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> ---
> tests/fate/flvenc.mak | 7 ++++++-
> tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
> 2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
> +fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
> + flv "-vcodec copy -map 0:v -frames 1"
> +
> 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..41eaefaf6e
> --- /dev/null
> +++ b/tests/ref/fate/enhanced-flv-hevc
> @@ -0,0 +1,8 @@
> +afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
> +64396 tests/data/fate/enhanced-flv-hevc.flv
> +#tb 0: 1/30
> +#media_type 0: video
> +#codec_id 0: rawvideo
> +#dimensions 0: 1920x1080
> +#sar 0: 0/1
> +0, 0, 0, 1, 6220800, 0x1f259c93
Why are you restricting this to one frame? And why are you not copying
the audio, too (this would test multiplexing)? After all, FLV supports AAC.
Furthermore, you are copying the video when creating the intermediate
FLV file, yet then you are decoding it at the next stage. This decoding
would necessitate a dependency on the HEVC decoder (and maybe the parser
as well as the extract_extradata bsf?). Alternatively, one can just use
codec copy when reading the intermediate file as well (the latter is my
preferred approach).
The same remarks also apply to the other patches.
- 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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-19 10:33 ` Andreas Rheinhardt
@ 2023-07-20 2:07 ` Steven Liu
2023-07-20 8:42 ` Andreas Rheinhardt
0 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-20 2:07 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月19日周三 18:32写道:
>
> Steven Liu:
> > Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> > ---
> > tests/fate/flvenc.mak | 7 ++++++-
> > tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
> > 2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
> > +fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
> > + flv "-vcodec copy -map 0:v -frames 1"
> > +
> > 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..41eaefaf6e
> > --- /dev/null
> > +++ b/tests/ref/fate/enhanced-flv-hevc
> > @@ -0,0 +1,8 @@
> > +afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
> > +64396 tests/data/fate/enhanced-flv-hevc.flv
> > +#tb 0: 1/30
> > +#media_type 0: video
> > +#codec_id 0: rawvideo
> > +#dimensions 0: 1920x1080
> > +#sar 0: 0/1
> > +0, 0, 0, 1, 6220800, 0x1f259c93
>
> Why are you restricting this to one frame? And why are you not copying
> the audio, too (this would test multiplexing)? After all, FLV supports AAC.
> Furthermore, you are copying the video when creating the intermediate
> FLV file, yet then you are decoding it at the next stage. This decoding
> would necessitate a dependency on the HEVC decoder (and maybe the parser
> as well as the extract_extradata bsf?). Alternatively, one can just use
> codec copy when reading the intermediate file as well (the latter is my
> preferred approach).
> The same remarks also apply to the other patches.
Hi Andreas,
What about do it like this:
FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO HEVC, FLV MOV,
HEVCPARSE) += fate-enhanced-flv-hevc
fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-c copy" "-af aresample"
Thanks
Steven
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-20 2:07 ` Steven Liu
@ 2023-07-20 8:42 ` Andreas Rheinhardt
2023-07-20 8:45 ` Steven Liu
0 siblings, 1 reply; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-20 8:42 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月19日周三 18:32写道:
>>
>> Steven Liu:
>>> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
>>> ---
>>> tests/fate/flvenc.mak | 7 ++++++-
>>> tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
>>> 2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
>>> +fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
>>> + flv "-vcodec copy -map 0:v -frames 1"
>>> +
>>> 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..41eaefaf6e
>>> --- /dev/null
>>> +++ b/tests/ref/fate/enhanced-flv-hevc
>>> @@ -0,0 +1,8 @@
>>> +afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
>>> +64396 tests/data/fate/enhanced-flv-hevc.flv
>>> +#tb 0: 1/30
>>> +#media_type 0: video
>>> +#codec_id 0: rawvideo
>>> +#dimensions 0: 1920x1080
>>> +#sar 0: 0/1
>>> +0, 0, 0, 1, 6220800, 0x1f259c93
>>
>> Why are you restricting this to one frame? And why are you not copying
>> the audio, too (this would test multiplexing)? After all, FLV supports AAC.
>> Furthermore, you are copying the video when creating the intermediate
>> FLV file, yet then you are decoding it at the next stage. This decoding
>> would necessitate a dependency on the HEVC decoder (and maybe the parser
>> as well as the extract_extradata bsf?). Alternatively, one can just use
>> codec copy when reading the intermediate file as well (the latter is my
>> preferred approach).
>> The same remarks also apply to the other patches.
> Hi Andreas,
>
>
> What about do it like this:
>
> FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO HEVC, FLV MOV,
> HEVCPARSE) += fate-enhanced-flv-hevc
> fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
> flv "-c copy" "-af aresample"
>
You would not need to resample when you simply copied the stuff instead
of decoding.
- 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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-20 8:42 ` Andreas Rheinhardt
@ 2023-07-20 8:45 ` Steven Liu
2023-07-20 10:06 ` Andreas Rheinhardt
0 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-20 8:45 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月20日周四 16:41写道:
>
> Steven Liu:
> > Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月19日周三 18:32写道:
> >>
> >> Steven Liu:
> >>> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> >>> ---
> >>> tests/fate/flvenc.mak | 7 ++++++-
> >>> tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
> >>> 2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
> >>> +fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
> >>> + flv "-vcodec copy -map 0:v -frames 1"
> >>> +
> >>> 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..41eaefaf6e
> >>> --- /dev/null
> >>> +++ b/tests/ref/fate/enhanced-flv-hevc
> >>> @@ -0,0 +1,8 @@
> >>> +afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
> >>> +64396 tests/data/fate/enhanced-flv-hevc.flv
> >>> +#tb 0: 1/30
> >>> +#media_type 0: video
> >>> +#codec_id 0: rawvideo
> >>> +#dimensions 0: 1920x1080
> >>> +#sar 0: 0/1
> >>> +0, 0, 0, 1, 6220800, 0x1f259c93
> >>
> >> Why are you restricting this to one frame? And why are you not copying
> >> the audio, too (this would test multiplexing)? After all, FLV supports AAC.
> >> Furthermore, you are copying the video when creating the intermediate
> >> FLV file, yet then you are decoding it at the next stage. This decoding
> >> would necessitate a dependency on the HEVC decoder (and maybe the parser
> >> as well as the extract_extradata bsf?). Alternatively, one can just use
> >> codec copy when reading the intermediate file as well (the latter is my
> >> preferred approach).
> >> The same remarks also apply to the other patches.
> > Hi Andreas,
> >
> >
> > What about do it like this:
> >
> > FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO HEVC, FLV MOV,
> > HEVCPARSE) += fate-enhanced-flv-hevc
> > fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
> > flv "-c copy" "-af aresample"
> >
>
> You would not need to resample when you simply copied the stuff instead
> of decoding.
It will get error message if i don't use resample:
ffmpeg version N-111514-g6efbbe7d25 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-libaom --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
Input #0, flv, from
'/Users/liuqi/multimedia/upstream_ffmpeg/ufbuild/tests/data/fate/enhanced-flv-hevc.flv':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
com.apple.quicktime.creationdate: 2021-05-29T15:14:19-0400
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 12 mini
com.apple.quicktime.software: 14.4.1
Duration: 00:00:03.40, start: 0.000000, bitrate: 8469 kb/s
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv,
bt2020nc/bt2020/arib-std-b67), 1920x1080, 8479 kb/s, 30 fps, 29.97
tbr, 1k tbn
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 148 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
The filters 'Parsed_anull_0' and 'format_out_0_1' do not have a common
format and automatic conversion is disabled.
[af#0:1 @ 0x61000000b740] Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Invalid argument
Conversion failed!
threads=1
>
> - 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-request@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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-20 8:45 ` Steven Liu
@ 2023-07-20 10:06 ` Andreas Rheinhardt
2023-07-20 10:59 ` [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
0 siblings, 1 reply; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-20 10:06 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月20日周四 16:41写道:
>>
>> Steven Liu:
>>> Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月19日周三 18:32写道:
>>>>
>>>> Steven Liu:
>>>>> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
>>>>> ---
>>>>> tests/fate/flvenc.mak | 7 ++++++-
>>>>> tests/ref/fate/enhanced-flv-hevc | 8 ++++++++
>>>>> 2 files changed, 14 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..6b2fbe8c89 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, MOV, FLV_MUXER) += fate-enhanced-flv-hevc
>>>>> +fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
>>>>> + flv "-vcodec copy -map 0:v -frames 1"
>>>>> +
>>>>> 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..41eaefaf6e
>>>>> --- /dev/null
>>>>> +++ b/tests/ref/fate/enhanced-flv-hevc
>>>>> @@ -0,0 +1,8 @@
>>>>> +afed0105d121688bad7dc94218256571 *tests/data/fate/enhanced-flv-hevc.flv
>>>>> +64396 tests/data/fate/enhanced-flv-hevc.flv
>>>>> +#tb 0: 1/30
>>>>> +#media_type 0: video
>>>>> +#codec_id 0: rawvideo
>>>>> +#dimensions 0: 1920x1080
>>>>> +#sar 0: 0/1
>>>>> +0, 0, 0, 1, 6220800, 0x1f259c93
>>>>
>>>> Why are you restricting this to one frame? And why are you not copying
>>>> the audio, too (this would test multiplexing)? After all, FLV supports AAC.
>>>> Furthermore, you are copying the video when creating the intermediate
>>>> FLV file, yet then you are decoding it at the next stage. This decoding
>>>> would necessitate a dependency on the HEVC decoder (and maybe the parser
>>>> as well as the extract_extradata bsf?). Alternatively, one can just use
>>>> codec copy when reading the intermediate file as well (the latter is my
>>>> preferred approach).
>>>> The same remarks also apply to the other patches.
>>> Hi Andreas,
>>>
>>>
>>> What about do it like this:
>>>
>>> FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO HEVC, FLV MOV,
>>> HEVCPARSE) += fate-enhanced-flv-hevc
>>> fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
>>> flv "-c copy" "-af aresample"
>>>
>>
>> You would not need to resample when you simply copied the stuff instead
>> of decoding.
>
> It will get error message if i don't use resample:
>
> ffmpeg version N-111514-g6efbbe7d25 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-libaom --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
> Input #0, flv, from
> '/Users/liuqi/multimedia/upstream_ffmpeg/ufbuild/tests/data/fate/enhanced-flv-hevc.flv':
> Metadata:
> major_brand : qt
> minor_version : 0
> compatible_brands: qt
> com.apple.quicktime.creationdate: 2021-05-29T15:14:19-0400
> com.apple.quicktime.make: Apple
> com.apple.quicktime.model: iPhone 12 mini
> com.apple.quicktime.software: 14.4.1
> Duration: 00:00:03.40, start: 0.000000, bitrate: 8469 kb/s
> Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv,
> bt2020nc/bt2020/arib-std-b67), 1920x1080, 8479 kb/s, 30 fps, 29.97
> tbr, 1k tbn
> Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 148 kb/s
> Stream mapping:
> Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
> Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
> The filters 'Parsed_anull_0' and 'format_out_0_1' do not have a common
> format and automatic conversion is disabled.
> [af#0:1 @ 0x61000000b740] Error reinitializing filters!
> Failed to inject frame into filter network: Invalid argument
> Invalid argument
> Conversion failed!
> threads=1
>
>
The reason for this is that you do not copy the stuff when demuxing the
intermediate file; instead you decode it.
- 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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv
2023-07-20 10:06 ` Andreas Rheinhardt
@ 2023-07-20 10:59 ` Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
` (2 more replies)
0 siblings, 3 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-20 10:59 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Steven Liu (3):
tests/fate/flvenc: add hevc in enhanced flv test case
tests/fate/flvenc: add vp9 in enhanced flv test case
tests/fate/flvenc: add av1 in enhanced flv test case
tests/fate/flvenc.mak | 15 +-
tests/ref/fate/enhanced-flv-av1 | 32 ++++
tests/ref/fate/enhanced-flv-hevc | 258 +++++++++++++++++++++++++++++++
tests/ref/fate/enhanced-flv-vp9 | 18 +++
4 files changed, 322 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/fate/enhanced-flv-av1
create mode 100644 tests/ref/fate/enhanced-flv-hevc
create mode 100644 tests/ref/fate/enhanced-flv-vp9
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v4 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-20 10:59 ` [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
@ 2023-07-20 11:00 ` Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-20 11:00 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 7 +-
tests/ref/fate/enhanced-flv-hevc | 258 +++++++++++++++++++++++++++++++
2 files changed, 264 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..b472dffe5b 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 TRANSCODE, RAWVIDEO HEVC, FLV MOV, HEVC_PARSER) += fate-enhanced-flv-hevc
+fate-enhanced-flv-hevc: CMD = transcode 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..3799f1f50b
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -0,0 +1,258 @@
+e7030c9d4301afbbe0ec6f6899a80bdc *tests/data/fate/enhanced-flv-hevc.flv
+3602600 tests/data/fate/enhanced-flv-hevc.flv
+#extradata 0: 551, 0xa18acf66
+#extradata 1: 2, 0x00340022
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+#tb 1: 1/1000
+#media_type 1: audio
+#codec_id 1: aac
+#sample_rate 1: 44100
+#channel_layout_name 1: stereo
+0, 0, 0, 33, 63375, 0xc76606ab
+0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
+0, 66, 66, 33, 29766, 0x753c031a, F=0x0
+1, 68, 68, 23, 6, 0x031e0108
+1, 91, 91, 23, 251, 0x6b4a7cbd
+0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
+1, 114, 114, 23, 389, 0x6673c205
+0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
+1, 138, 138, 23, 356, 0x8c71a316
+1, 161, 161, 23, 339, 0x3018a45a
+0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
+1, 184, 184, 23, 405, 0xc89ebe05
+0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
+1, 207, 207, 23, 449, 0x42eadf96
+1, 231, 231, 23, 416, 0x28a7c9b9
+0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
+1, 254, 254, 23, 426, 0x9a74d4ec
+0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
+1, 277, 277, 23, 419, 0xbe3dc54b
+0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
+1, 300, 300, 23, 424, 0x5102d50e
+1, 323, 323, 23, 402, 0xb11cc14c
+0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
+1, 347, 347, 23, 401, 0x3820b8f9
+0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
+1, 370, 370, 23, 400, 0xe5c4c168
+1, 393, 393, 23, 435, 0x6dbecc33
+0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
+1, 416, 416, 23, 441, 0x0ad3d199
+0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
+1, 440, 440, 23, 479, 0x44dce967
+1, 463, 463, 23, 439, 0x7d85e4c9
+0, 466, 466, 33, 35400, 0xbe179462, F=0x0
+1, 486, 486, 23, 461, 0xca18e36b
+0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
+1, 509, 509, 23, 498, 0xf73befd7
+1, 532, 532, 23, 469, 0x0119e958
+0, 533, 533, 33, 16136, 0x78a74880, F=0x0
+1, 556, 556, 23, 472, 0x4980e108
+0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
+1, 579, 579, 23, 488, 0x42baeb77
+0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
+1, 602, 602, 23, 458, 0x2198dde8
+1, 625, 625, 23, 430, 0x0858cc8f
+0, 633, 633, 33, 16524, 0xb297a886, F=0x0
+1, 648, 648, 23, 464, 0x9590e068
+0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
+1, 672, 672, 23, 415, 0xf926cf5f
+1, 695, 695, 23, 429, 0xf4a4d6c3
+0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
+1, 718, 718, 23, 420, 0xb64ac826
+0, 733, 733, 33, 37648, 0x540b100f, F=0x0
+1, 741, 741, 23, 442, 0xae2fd0ef
+1, 765, 765, 23, 426, 0xf1b7ccff
+0, 766, 766, 33, 16363, 0x569798e5, F=0x0
+1, 788, 788, 23, 435, 0xd3a1cb35
+0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
+1, 811, 811, 23, 424, 0xc204c05d
+0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
+1, 834, 834, 23, 448, 0x3a3adc76
+1, 857, 857, 23, 451, 0x6a1bd675
+0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
+1, 881, 881, 23, 440, 0x6219d30d
+0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
+1, 904, 904, 23, 438, 0xb55dd535
+1, 927, 927, 23, 412, 0xd591ccfd
+0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
+1, 950, 950, 23, 419, 0x1069d097
+0, 966, 966, 33, 107788, 0xcf28b065
+1, 974, 974, 23, 407, 0x1a3ec967
+1, 997, 997, 23, 400, 0x4ca1c7e9
+0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
+1, 1020, 1020, 23, 465, 0x8dbbdfa5
+0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
+1, 1043, 1043, 23, 444, 0xed1cd498
+0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
+1, 1066, 1066, 23, 414, 0xada6c395
+1, 1090, 1090, 23, 419, 0x7d64d269
+0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
+1, 1113, 1113, 23, 415, 0xf2e5c75d
+0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
+1, 1136, 1136, 23, 431, 0xeae2d257
+1, 1159, 1159, 23, 437, 0x10c1cfa6
+0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
+1, 1183, 1183, 23, 428, 0x9b18ce7e
+0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
+1, 1206, 1206, 23, 426, 0xec1bce70
+1, 1229, 1229, 23, 433, 0xad18d26f
+0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
+1, 1252, 1252, 23, 419, 0x99beccaf
+0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
+1, 1275, 1275, 23, 422, 0x38add249
+1, 1299, 1299, 23, 335, 0x243499db
+0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
+1, 1322, 1322, 23, 427, 0x614fccd2
+0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
+1, 1345, 1345, 23, 434, 0xd97acebe
+0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
+1, 1368, 1368, 23, 427, 0x0a24cf66
+1, 1392, 1392, 23, 406, 0x868bc306
+0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
+1, 1415, 1415, 23, 410, 0x32c4cd52
+0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
+1, 1438, 1438, 23, 416, 0xbd3dcaa5
+1, 1461, 1461, 23, 420, 0x42c5ccf6
+0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
+1, 1484, 1484, 23, 437, 0xe302cd64
+0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
+1, 1508, 1508, 23, 444, 0xdc1ad47f
+1, 1531, 1531, 23, 472, 0xc314e301
+0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
+1, 1554, 1554, 23, 466, 0xdb51e992
+0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
+1, 1577, 1577, 23, 425, 0x35b6c4be
+0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
+1, 1601, 1601, 23, 429, 0xd479cc89
+1, 1624, 1624, 23, 424, 0x0994cbfa
+0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
+1, 1647, 1647, 23, 424, 0x1145cad4
+0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
+1, 1670, 1670, 23, 417, 0x0cb5c9d6
+1, 1693, 1693, 23, 425, 0xd316c722
+0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
+1, 1717, 1717, 23, 412, 0x97d8c424
+0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
+1, 1740, 1740, 23, 422, 0x444ad135
+1, 1763, 1763, 23, 436, 0x0575c48b
+0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
+1, 1786, 1786, 23, 418, 0xdd73c42f
+0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
+1, 1809, 1809, 23, 412, 0x64d0c0cd
+1, 1833, 1833, 23, 417, 0xf7e3cc8d
+0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
+1, 1856, 1856, 23, 414, 0xef17ca47
+0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
+1, 1879, 1879, 23, 420, 0x86f5d28f
+0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
+1, 1902, 1902, 23, 415, 0x73dec27c
+1, 1926, 1926, 23, 451, 0x62abdbfb
+0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
+1, 1949, 1949, 23, 511, 0xbb42f40b
+0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
+1, 1972, 1972, 23, 470, 0xe422df11
+1, 1995, 1995, 23, 459, 0x7c24e067
+0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
+1, 2018, 2018, 23, 464, 0xb1a5ebf6
+0, 2035, 2035, 33, 108249, 0x74b9d9a5
+1, 2042, 2042, 23, 435, 0x7acbd073
+1, 2065, 2065, 23, 475, 0x9498e6ff
+0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
+1, 2088, 2088, 23, 473, 0xf42ddcb4
+0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
+1, 2111, 2111, 23, 439, 0x898ad0ed
+0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
+1, 2135, 2135, 23, 483, 0x94f5e826
+1, 2158, 2158, 23, 474, 0x80b8f7ad
+0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
+1, 2181, 2181, 23, 495, 0xd027e373
+0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
+1, 2204, 2204, 23, 479, 0x4841ea3d
+1, 2227, 2227, 23, 446, 0x0b64d3e2
+0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
+1, 2251, 2251, 23, 464, 0xc939de26
+0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
+1, 2274, 2274, 23, 457, 0xc069e099
+1, 2297, 2297, 23, 451, 0x2f22d7a1
+0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
+1, 2320, 2320, 23, 475, 0x4de7e675
+0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
+1, 2344, 2344, 23, 464, 0x430de113
+1, 2367, 2367, 23, 428, 0x6546c66d
+0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
+1, 2390, 2390, 23, 455, 0xb5e5db4f
+0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
+1, 2413, 2413, 23, 493, 0xae57eafd
+0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
+1, 2436, 2436, 23, 448, 0xa170db5e
+1, 2460, 2460, 23, 419, 0x0bfec67f
+0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
+1, 2483, 2483, 23, 406, 0x2e33d13b
+0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
+1, 2506, 2506, 23, 395, 0x0ef7c208
+1, 2529, 2529, 23, 397, 0x736fc48d
+0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
+1, 2553, 2553, 23, 463, 0x6397def2
+0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
+1, 2576, 2576, 23, 414, 0x4c5fc473
+1, 2599, 2599, 23, 426, 0x7028d53d
+0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
+1, 2622, 2622, 23, 382, 0x7344b178
+0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
+1, 2645, 2645, 23, 400, 0x17ecb9e3
+0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
+1, 2669, 2669, 23, 384, 0x40cfba37
+1, 2692, 2692, 23, 420, 0xb01cce29
+0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
+1, 2715, 2715, 23, 443, 0x2b15dd89
+0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
+1, 2738, 2738, 23, 456, 0xf875e323
+1, 2762, 2762, 23, 448, 0x190fd804
+0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
+1, 2785, 2785, 23, 408, 0x54f8c9ae
+0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
+1, 2808, 2808, 23, 404, 0x6812c0cc
+1, 2831, 2831, 23, 457, 0x9618e228
+0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
+1, 2854, 2854, 23, 470, 0x3371e47e
+0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
+1, 2878, 2878, 23, 476, 0x3e0dea61
+0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
+1, 2901, 2901, 23, 438, 0x7e1aca04
+1, 2924, 2924, 23, 468, 0xe22de588
+0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
+1, 2947, 2947, 23, 448, 0xf820d2df
+0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
+1, 2970, 2970, 23, 446, 0x4346da55
+1, 2994, 2994, 23, 413, 0x8091c5e5
+0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
+1, 3017, 3017, 23, 447, 0x799cdff9
+0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
+1, 3040, 3040, 23, 485, 0x61f0e3ee
+1, 3063, 3063, 23, 446, 0x09aad595
+0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
+1, 3087, 3087, 23, 503, 0x5ff6f1bd
+0, 3101, 3101, 33, 108398, 0x04e8955a
+1, 3110, 3110, 23, 481, 0x680bf2ff
+1, 3133, 3133, 23, 481, 0x77e1e3eb
+0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
+1, 3156, 3156, 23, 500, 0xf446f43a
+0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
+1, 3179, 3179, 23, 503, 0x5a21f932
+0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
+1, 3203, 3203, 23, 443, 0x503bd45b
+1, 3226, 3226, 23, 443, 0xb652e056
+0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
+1, 3249, 3249, 23, 441, 0xb0bbdc3e
+0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
+1, 3272, 3272, 23, 410, 0xa2aeb940
+1, 3296, 3296, 23, 430, 0x9b32d228
+0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
+1, 3319, 3319, 23, 406, 0xd3ccc550
+1, 3342, 3342, 23, 397, 0xcf2bc6d6
+1, 3365, 3365, 23, 411, 0xecf7bf70
+1, 3388, 3388, 23, 403, 0x4a35c58a
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v4 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-20 10:59 ` [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
@ 2023-07-20 11:00 ` Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-20 11:00 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-vp9 | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index b472dffe5b..87a1093136 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO HEVC, FLV MOV, HEVC_PARSE
fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-c copy" "-c copy"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO VP9, FLV IVF, VP9_PARSER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..149d9a6269
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,18 @@
+8e7403c6fb638202ac2b8b7d8c5df3f6 *tests/data/fate/enhanced-flv-vp9.flv
+9384 tests/data/fate/enhanced-flv-vp9.flv
+#extradata 0: 8, 0x03b0009c
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 33, 3964, 0x8ff9b15f
+0, 33, 33, 33, 373, 0x985fb479, F=0x0
+0, 67, 67, 33, 375, 0x2813bc1b, F=0x0
+0, 100, 100, 33, 261, 0x69557ae9, F=0x0
+0, 133, 133, 33, 527, 0xb4a7fe75, F=0x0
+0, 167, 167, 33, 608, 0x80a8212a, F=0x0
+0, 200, 200, 33, 1551, 0x28f2f1f9, F=0x0
+0, 233, 233, 33, 520, 0xbec201ee, F=0x0
+0, 267, 267, 33, 426, 0xf9e0d260, F=0x0
+0, 300, 300, 33, 384, 0xcbd8b904, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-20 10:59 ` [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-20 11:00 ` Steven Liu
2023-07-20 21:51 ` Michael Niedermayer
2 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-20 11:00 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@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)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..120c880ddd
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,32 @@
+b40c54b7a26854fd3a4da13dcbba37a3 *tests/data/fate/enhanced-flv-av1.flv
+22742 tests/data/fate/enhanced-flv-av1.flv
+#extradata 0: 35, 0x527207cd
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 240x100
+#sar 0: 1/1
+0, 0, 0, 41, 8170, 0x56e3ab74
+0, 42, 42, 41, 7042, 0x85b9890b, F=0x0
+0, 83, 83, 41, 6, 0x026000f4, F=0x0
+0, 125, 125, 41, 50, 0x4d311090, F=0x0
+0, 167, 167, 41, 6, 0x0288010c, F=0x0
+0, 208, 208, 41, 281, 0x7d34844b, F=0x0
+0, 250, 250, 41, 6, 0x023000e4, F=0x0
+0, 292, 292, 41, 65, 0xa0511848, F=0x0
+0, 333, 333, 41, 6, 0x02d8013c, F=0x0
+0, 375, 375, 41, 1067, 0x193503be, F=0x0
+0, 417, 417, 41, 6, 0x020000d4, F=0x0
+0, 458, 458, 41, 54, 0x7dcd1303, F=0x0
+0, 500, 500, 41, 6, 0x0288011c, F=0x0
+0, 542, 542, 41, 691, 0x4f2149f9, F=0x0
+0, 583, 583, 41, 6, 0x02500104, F=0x0
+0, 625, 625, 41, 211, 0x212267a2, F=0x0
+0, 667, 667, 41, 44, 0xed810e43, F=0x0
+0, 708, 708, 41, 3523, 0xcf33e296, F=0x0
+0, 750, 750, 41, 65, 0x4a0418a1, F=0x0
+0, 792, 792, 41, 388, 0xcbc0c26b, F=0x0
+0, 833, 833, 41, 180, 0x2b635133, F=0x0
+0, 875, 875, 41, 62, 0x76ef1809, F=0x0
+0, 917, 917, 41, 42, 0xb08b0a78, F=0x0
+0, 958, 958, 41, 63, 0xd07b1a32, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 " Steven Liu
@ 2023-07-20 21:51 ` Michael Niedermayer
2023-07-21 7:54 ` Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
0 siblings, 2 replies; 46+ messages in thread
From: Michael Niedermayer @ 2023-07-20 21:51 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 2192 bytes --]
On Thu, Jul 20, 2023 at 07:00:02PM +0800, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq@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
[...]
--
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
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-20 21:51 ` Michael Niedermayer
@ 2023-07-21 7:54 ` Steven Liu
2023-07-21 8:14 ` Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
1 sibling, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-21 7:54 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Michael Niedermayer <michael@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 <lq@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?
>
>
> [...]
> --
> 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-request@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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-21 7:54 ` Steven Liu
@ 2023-07-21 8:14 ` Steven Liu
0 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-21 8:14 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Steven Liu <lingjiujianke@gmail.com> 于2023年7月21日周五 15:54写道:
>
> Michael Niedermayer <michael@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 <lq@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-request@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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-20 21:51 ` Michael Niedermayer
2023-07-21 7:54 ` Steven Liu
@ 2023-07-24 2:14 ` Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 2/3] tests/fate/flvenc: add vp9 " Steven Liu
` (2 more replies)
1 sibling, 3 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 2:14 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@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 @@
+#extradata 0: 551, 0xa18acf66
+#extradata 1: 2, 0x00340022
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+#tb 1: 1/1000
+#media_type 1: audio
+#codec_id 1: aac
+#sample_rate 1: 44100
+#channel_layout_name 1: stereo
+0, 0, 0, 33, 63375, 0xc76606ab
+0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
+0, 66, 66, 33, 29766, 0x753c031a, F=0x0
+1, 68, 68, 23, 6, 0x031e0108
+1, 91, 91, 23, 251, 0x6b4a7cbd
+0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
+1, 114, 114, 23, 389, 0x6673c205
+0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
+1, 138, 138, 23, 356, 0x8c71a316
+1, 161, 161, 23, 339, 0x3018a45a
+0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
+1, 184, 184, 23, 405, 0xc89ebe05
+0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
+1, 207, 207, 23, 449, 0x42eadf96
+1, 231, 231, 23, 416, 0x28a7c9b9
+0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
+1, 254, 254, 23, 426, 0x9a74d4ec
+0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
+1, 277, 277, 23, 419, 0xbe3dc54b
+0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
+1, 300, 300, 23, 424, 0x5102d50e
+1, 323, 323, 23, 402, 0xb11cc14c
+0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
+1, 347, 347, 23, 401, 0x3820b8f9
+0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
+1, 370, 370, 23, 400, 0xe5c4c168
+1, 393, 393, 23, 435, 0x6dbecc33
+0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
+1, 416, 416, 23, 441, 0x0ad3d199
+0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
+1, 440, 440, 23, 479, 0x44dce967
+1, 463, 463, 23, 439, 0x7d85e4c9
+0, 466, 466, 33, 35400, 0xbe179462, F=0x0
+1, 486, 486, 23, 461, 0xca18e36b
+0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
+1, 509, 509, 23, 498, 0xf73befd7
+1, 532, 532, 23, 469, 0x0119e958
+0, 533, 533, 33, 16136, 0x78a74880, F=0x0
+1, 556, 556, 23, 472, 0x4980e108
+0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
+1, 579, 579, 23, 488, 0x42baeb77
+0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
+1, 602, 602, 23, 458, 0x2198dde8
+1, 625, 625, 23, 430, 0x0858cc8f
+0, 633, 633, 33, 16524, 0xb297a886, F=0x0
+1, 648, 648, 23, 464, 0x9590e068
+0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
+1, 672, 672, 23, 415, 0xf926cf5f
+1, 695, 695, 23, 429, 0xf4a4d6c3
+0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
+1, 718, 718, 23, 420, 0xb64ac826
+0, 733, 733, 33, 37648, 0x540b100f, F=0x0
+1, 741, 741, 23, 442, 0xae2fd0ef
+1, 765, 765, 23, 426, 0xf1b7ccff
+0, 766, 766, 33, 16363, 0x569798e5, F=0x0
+1, 788, 788, 23, 435, 0xd3a1cb35
+0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
+1, 811, 811, 23, 424, 0xc204c05d
+0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
+1, 834, 834, 23, 448, 0x3a3adc76
+1, 857, 857, 23, 451, 0x6a1bd675
+0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
+1, 881, 881, 23, 440, 0x6219d30d
+0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
+1, 904, 904, 23, 438, 0xb55dd535
+1, 927, 927, 23, 412, 0xd591ccfd
+0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
+1, 950, 950, 23, 419, 0x1069d097
+0, 966, 966, 33, 107788, 0xcf28b065
+1, 974, 974, 23, 407, 0x1a3ec967
+1, 997, 997, 23, 400, 0x4ca1c7e9
+0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
+1, 1020, 1020, 23, 465, 0x8dbbdfa5
+0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
+1, 1043, 1043, 23, 444, 0xed1cd498
+0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
+1, 1066, 1066, 23, 414, 0xada6c395
+1, 1090, 1090, 23, 419, 0x7d64d269
+0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
+1, 1113, 1113, 23, 415, 0xf2e5c75d
+0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
+1, 1136, 1136, 23, 431, 0xeae2d257
+1, 1159, 1159, 23, 437, 0x10c1cfa6
+0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
+1, 1183, 1183, 23, 428, 0x9b18ce7e
+0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
+1, 1206, 1206, 23, 426, 0xec1bce70
+1, 1229, 1229, 23, 433, 0xad18d26f
+0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
+1, 1252, 1252, 23, 419, 0x99beccaf
+0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
+1, 1275, 1275, 23, 422, 0x38add249
+1, 1299, 1299, 23, 335, 0x243499db
+0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
+1, 1322, 1322, 23, 427, 0x614fccd2
+0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
+1, 1345, 1345, 23, 434, 0xd97acebe
+0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
+1, 1368, 1368, 23, 427, 0x0a24cf66
+1, 1392, 1392, 23, 406, 0x868bc306
+0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
+1, 1415, 1415, 23, 410, 0x32c4cd52
+0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
+1, 1438, 1438, 23, 416, 0xbd3dcaa5
+1, 1461, 1461, 23, 420, 0x42c5ccf6
+0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
+1, 1484, 1484, 23, 437, 0xe302cd64
+0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
+1, 1508, 1508, 23, 444, 0xdc1ad47f
+1, 1531, 1531, 23, 472, 0xc314e301
+0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
+1, 1554, 1554, 23, 466, 0xdb51e992
+0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
+1, 1577, 1577, 23, 425, 0x35b6c4be
+0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
+1, 1601, 1601, 23, 429, 0xd479cc89
+1, 1624, 1624, 23, 424, 0x0994cbfa
+0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
+1, 1647, 1647, 23, 424, 0x1145cad4
+0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
+1, 1670, 1670, 23, 417, 0x0cb5c9d6
+1, 1693, 1693, 23, 425, 0xd316c722
+0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
+1, 1717, 1717, 23, 412, 0x97d8c424
+0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
+1, 1740, 1740, 23, 422, 0x444ad135
+1, 1763, 1763, 23, 436, 0x0575c48b
+0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
+1, 1786, 1786, 23, 418, 0xdd73c42f
+0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
+1, 1809, 1809, 23, 412, 0x64d0c0cd
+1, 1833, 1833, 23, 417, 0xf7e3cc8d
+0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
+1, 1856, 1856, 23, 414, 0xef17ca47
+0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
+1, 1879, 1879, 23, 420, 0x86f5d28f
+0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
+1, 1902, 1902, 23, 415, 0x73dec27c
+1, 1926, 1926, 23, 451, 0x62abdbfb
+0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
+1, 1949, 1949, 23, 511, 0xbb42f40b
+0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
+1, 1972, 1972, 23, 470, 0xe422df11
+1, 1995, 1995, 23, 459, 0x7c24e067
+0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
+1, 2018, 2018, 23, 464, 0xb1a5ebf6
+0, 2035, 2035, 33, 108249, 0x74b9d9a5
+1, 2042, 2042, 23, 435, 0x7acbd073
+1, 2065, 2065, 23, 475, 0x9498e6ff
+0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
+1, 2088, 2088, 23, 473, 0xf42ddcb4
+0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
+1, 2111, 2111, 23, 439, 0x898ad0ed
+0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
+1, 2135, 2135, 23, 483, 0x94f5e826
+1, 2158, 2158, 23, 474, 0x80b8f7ad
+0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
+1, 2181, 2181, 23, 495, 0xd027e373
+0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
+1, 2204, 2204, 23, 479, 0x4841ea3d
+1, 2227, 2227, 23, 446, 0x0b64d3e2
+0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
+1, 2251, 2251, 23, 464, 0xc939de26
+0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
+1, 2274, 2274, 23, 457, 0xc069e099
+1, 2297, 2297, 23, 451, 0x2f22d7a1
+0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
+1, 2320, 2320, 23, 475, 0x4de7e675
+0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
+1, 2344, 2344, 23, 464, 0x430de113
+1, 2367, 2367, 23, 428, 0x6546c66d
+0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
+1, 2390, 2390, 23, 455, 0xb5e5db4f
+0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
+1, 2413, 2413, 23, 493, 0xae57eafd
+0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
+1, 2436, 2436, 23, 448, 0xa170db5e
+1, 2460, 2460, 23, 419, 0x0bfec67f
+0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
+1, 2483, 2483, 23, 406, 0x2e33d13b
+0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
+1, 2506, 2506, 23, 395, 0x0ef7c208
+1, 2529, 2529, 23, 397, 0x736fc48d
+0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
+1, 2553, 2553, 23, 463, 0x6397def2
+0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
+1, 2576, 2576, 23, 414, 0x4c5fc473
+1, 2599, 2599, 23, 426, 0x7028d53d
+0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
+1, 2622, 2622, 23, 382, 0x7344b178
+0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
+1, 2645, 2645, 23, 400, 0x17ecb9e3
+0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
+1, 2669, 2669, 23, 384, 0x40cfba37
+1, 2692, 2692, 23, 420, 0xb01cce29
+0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
+1, 2715, 2715, 23, 443, 0x2b15dd89
+0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
+1, 2738, 2738, 23, 456, 0xf875e323
+1, 2762, 2762, 23, 448, 0x190fd804
+0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
+1, 2785, 2785, 23, 408, 0x54f8c9ae
+0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
+1, 2808, 2808, 23, 404, 0x6812c0cc
+1, 2831, 2831, 23, 457, 0x9618e228
+0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
+1, 2854, 2854, 23, 470, 0x3371e47e
+0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
+1, 2878, 2878, 23, 476, 0x3e0dea61
+0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
+1, 2901, 2901, 23, 438, 0x7e1aca04
+1, 2924, 2924, 23, 468, 0xe22de588
+0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
+1, 2947, 2947, 23, 448, 0xf820d2df
+0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
+1, 2970, 2970, 23, 446, 0x4346da55
+1, 2994, 2994, 23, 413, 0x8091c5e5
+0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
+1, 3017, 3017, 23, 447, 0x799cdff9
+0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
+1, 3040, 3040, 23, 485, 0x61f0e3ee
+1, 3063, 3063, 23, 446, 0x09aad595
+0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
+1, 3087, 3087, 23, 503, 0x5ff6f1bd
+0, 3101, 3101, 33, 108398, 0x04e8955a
+1, 3110, 3110, 23, 481, 0x680bf2ff
+1, 3133, 3133, 23, 481, 0x77e1e3eb
+0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
+1, 3156, 3156, 23, 500, 0xf446f43a
+0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
+1, 3179, 3179, 23, 503, 0x5a21f932
+0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
+1, 3203, 3203, 23, 443, 0x503bd45b
+1, 3226, 3226, 23, 443, 0xb652e056
+0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
+1, 3249, 3249, 23, 441, 0xb0bbdc3e
+0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
+1, 3272, 3272, 23, 410, 0xa2aeb940
+1, 3296, 3296, 23, 430, 0x9b32d228
+0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
+1, 3319, 3319, 23, 406, 0xd3ccc550
+1, 3342, 3342, 23, 397, 0xcf2bc6d6
+1, 3365, 3365, 23, 411, 0xecf7bf70
+1, 3388, 3388, 23, 403, 0x4a35c58a
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v5 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
@ 2023-07-24 2:14 ` Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-24 7:37 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 2:14 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-vp9 | 16 ++++++++++++++++
2 files changed, 20 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index f34c595f88..b2f2e1a924 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV MOV, FLV_DEMUXER HEVC_PARSER) += f
fate-enhanced-flv-hevc: CMD = stream_remux mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-c copy" "-c copy"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = stream_remux ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..a4746c3a17
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,16 @@
+#extradata 0: 8, 0x03b0009c
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 33, 3964, 0x8ff9b15f
+0, 33, 33, 33, 373, 0x985fb479, F=0x0
+0, 67, 67, 33, 375, 0x2813bc1b, F=0x0
+0, 100, 100, 33, 261, 0x69557ae9, F=0x0
+0, 133, 133, 33, 527, 0xb4a7fe75, F=0x0
+0, 167, 167, 33, 608, 0x80a8212a, F=0x0
+0, 200, 200, 33, 1551, 0x28f2f1f9, F=0x0
+0, 233, 233, 33, 520, 0xbec201ee, F=0x0
+0, 267, 267, 33, 426, 0xf9e0d260, F=0x0
+0, 300, 300, 33, 384, 0xcbd8b904, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v5 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-24 2:14 ` Steven Liu
2023-07-24 7:37 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 2:14 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++
tests/ref/fate/enhanced-flv-av1 | 70 +++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index b2f2e1a924..7585d63ff9 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fa
fate-enhanced-flv-vp9: CMD = stream_remux ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
flv "-c copy" "-c copy"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER AV1_PARSER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = stream_remux ivf $(TARGET_SAMPLES)/av1/seq_hdr_op_param_info.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)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..b2a624e41e
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,70 @@
+#extradata 0: 36, 0x70580971
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 320x176
+#sar 0: 1/1
+0, 0, 0, 41, 4718, 0xc4d912ec
+0, 42, 42, 41, 5109, 0xc065dd7d, F=0x0
+0, 83, 83, 41, 192, 0x160c5335, F=0x0
+0, 125, 125, 41, 196, 0x5e82506a, F=0x0
+0, 167, 167, 41, 267, 0x6c737c10, F=0x0
+0, 209, 209, 41, 189, 0x87af4ec0, F=0x0
+0, 250, 250, 41, 226, 0xb62b6409, F=0x0
+0, 292, 292, 41, 228, 0x986a61d9, F=0x0
+0, 334, 334, 41, 175, 0x32d8485c, F=0x0
+0, 375, 375, 41, 154, 0x31463f47, F=0x0
+0, 417, 417, 41, 63, 0xc62e1171, F=0x0
+0, 459, 459, 41, 5002, 0x4dd4904a, F=0x0
+0, 501, 501, 41, 291, 0xda527f77, F=0x0
+0, 542, 542, 41, 354, 0xf629a59e, F=0x0
+0, 584, 584, 41, 379, 0xeeb2ac32, F=0x0
+0, 626, 626, 41, 356, 0x5907a8df, F=0x0
+0, 667, 667, 41, 399, 0x91b3b07e, F=0x0
+0, 709, 709, 41, 331, 0xbe3c9e2c, F=0x0
+0, 751, 751, 41, 298, 0xc5e67db5, F=0x0
+0, 792, 792, 41, 229, 0x297e636a, F=0x0
+0, 834, 834, 41, 63, 0xb6880f3d, F=0x0
+0, 876, 876, 41, 5457, 0xb8918205, F=0x0
+0, 918, 918, 41, 618, 0xdb332843, F=0x0
+0, 959, 959, 41, 679, 0x5b5b469c, F=0x0
+0, 1001, 1001, 41, 701, 0x400452ba, F=0x0
+0, 1043, 1043, 41, 756, 0xf89675d5, F=0x0
+0, 1084, 1084, 41, 594, 0xbd361b4a, F=0x0
+0, 1126, 1126, 41, 647, 0x222a3f63, F=0x0
+0, 1168, 1168, 41, 606, 0xc92724cd, F=0x0
+0, 1210, 1210, 41, 426, 0xb7e0c9ba, F=0x0
+0, 1251, 1251, 41, 59, 0x8d570f88, F=0x0
+0, 1293, 1293, 41, 4383, 0x8fdc95b7, F=0x0
+0, 1335, 1335, 41, 7223, 0x5229e7a0
+0, 1376, 1376, 41, 7817, 0x017601d3, F=0x0
+0, 1418, 1418, 41, 1255, 0x50216daf, F=0x0
+0, 1460, 1460, 41, 740, 0xb7485d42, F=0x0
+0, 1502, 1502, 41, 767, 0x01dc72b4, F=0x0
+0, 1543, 1543, 41, 570, 0x95830ec3, F=0x0
+0, 1585, 1585, 41, 694, 0xbe17386d, F=0x0
+0, 1627, 1627, 41, 644, 0xc2df2bc2, F=0x0
+0, 1668, 1668, 41, 652, 0xac32324a, F=0x0
+0, 1710, 1710, 41, 413, 0x35f4c58d, F=0x0
+0, 1752, 1752, 41, 63, 0xd61910ad, F=0x0
+0, 1793, 1793, 41, 8156, 0x3fb5b502, F=0x0
+0, 1835, 1835, 41, 1071, 0x4eab0795, F=0x0
+0, 1877, 1877, 41, 839, 0x24f2960c, F=0x0
+0, 1919, 1919, 41, 806, 0xc1eb85e1, F=0x0
+0, 1960, 1960, 41, 591, 0xdaba1bdc, F=0x0
+0, 2002, 2002, 41, 814, 0x52427e40, F=0x0
+0, 2044, 2044, 41, 654, 0x454739a1, F=0x0
+0, 2085, 2085, 41, 600, 0xb5630b54, F=0x0
+0, 2127, 2127, 41, 395, 0xb1aab2cf, F=0x0
+0, 2169, 2169, 41, 59, 0xa6fa1094, F=0x0
+0, 2211, 2211, 41, 9135, 0x6573c423, F=0x0
+0, 2252, 2252, 41, 1198, 0xe9aa40dd, F=0x0
+0, 2294, 2294, 41, 818, 0xd83e9e2a, F=0x0
+0, 2336, 2336, 41, 747, 0xced06fee, F=0x0
+0, 2377, 2377, 41, 661, 0x799b4a75, F=0x0
+0, 2419, 2419, 41, 722, 0x594f549d, F=0x0
+0, 2461, 2461, 41, 722, 0x65b05690, F=0x0
+0, 2503, 2503, 41, 515, 0xe655ef15, F=0x0
+0, 2544, 2544, 41, 443, 0xed42d926, F=0x0
+0, 2586, 2586, 41, 60, 0xb75510a8, F=0x0
+0, 2628, 2628, 41, 670, 0xed514c9d, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 3/3] tests/fate/flvenc: add av1 " Steven Liu
@ 2023-07-24 7:37 ` Andreas Rheinhardt
2023-07-24 7:38 ` Steven Liu
2 siblings, 1 reply; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-24 7:37 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Signed-off-by: Steven Liu <lq@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.
> +#extradata 0: 551, 0xa18acf66
> +#extradata 1: 2, 0x00340022
> +#tb 0: 1/1000
> +#media_type 0: video
> +#codec_id 0: hevc
> +#dimensions 0: 1920x1080
> +#sar 0: 0/1
> +#tb 1: 1/1000
> +#media_type 1: audio
> +#codec_id 1: aac
> +#sample_rate 1: 44100
> +#channel_layout_name 1: stereo
> +0, 0, 0, 33, 63375, 0xc76606ab
> +0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
> +0, 66, 66, 33, 29766, 0x753c031a, F=0x0
> +1, 68, 68, 23, 6, 0x031e0108
> +1, 91, 91, 23, 251, 0x6b4a7cbd
> +0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
> +1, 114, 114, 23, 389, 0x6673c205
> +0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
> +1, 138, 138, 23, 356, 0x8c71a316
> +1, 161, 161, 23, 339, 0x3018a45a
> +0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
> +1, 184, 184, 23, 405, 0xc89ebe05
> +0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
> +1, 207, 207, 23, 449, 0x42eadf96
> +1, 231, 231, 23, 416, 0x28a7c9b9
> +0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
> +1, 254, 254, 23, 426, 0x9a74d4ec
> +0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
> +1, 277, 277, 23, 419, 0xbe3dc54b
> +0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
> +1, 300, 300, 23, 424, 0x5102d50e
> +1, 323, 323, 23, 402, 0xb11cc14c
> +0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
> +1, 347, 347, 23, 401, 0x3820b8f9
> +0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
> +1, 370, 370, 23, 400, 0xe5c4c168
> +1, 393, 393, 23, 435, 0x6dbecc33
> +0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
> +1, 416, 416, 23, 441, 0x0ad3d199
> +0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
> +1, 440, 440, 23, 479, 0x44dce967
> +1, 463, 463, 23, 439, 0x7d85e4c9
> +0, 466, 466, 33, 35400, 0xbe179462, F=0x0
> +1, 486, 486, 23, 461, 0xca18e36b
> +0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
> +1, 509, 509, 23, 498, 0xf73befd7
> +1, 532, 532, 23, 469, 0x0119e958
> +0, 533, 533, 33, 16136, 0x78a74880, F=0x0
> +1, 556, 556, 23, 472, 0x4980e108
> +0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
> +1, 579, 579, 23, 488, 0x42baeb77
> +0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
> +1, 602, 602, 23, 458, 0x2198dde8
> +1, 625, 625, 23, 430, 0x0858cc8f
> +0, 633, 633, 33, 16524, 0xb297a886, F=0x0
> +1, 648, 648, 23, 464, 0x9590e068
> +0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
> +1, 672, 672, 23, 415, 0xf926cf5f
> +1, 695, 695, 23, 429, 0xf4a4d6c3
> +0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
> +1, 718, 718, 23, 420, 0xb64ac826
> +0, 733, 733, 33, 37648, 0x540b100f, F=0x0
> +1, 741, 741, 23, 442, 0xae2fd0ef
> +1, 765, 765, 23, 426, 0xf1b7ccff
> +0, 766, 766, 33, 16363, 0x569798e5, F=0x0
> +1, 788, 788, 23, 435, 0xd3a1cb35
> +0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
> +1, 811, 811, 23, 424, 0xc204c05d
> +0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
> +1, 834, 834, 23, 448, 0x3a3adc76
> +1, 857, 857, 23, 451, 0x6a1bd675
> +0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
> +1, 881, 881, 23, 440, 0x6219d30d
> +0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
> +1, 904, 904, 23, 438, 0xb55dd535
> +1, 927, 927, 23, 412, 0xd591ccfd
> +0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
> +1, 950, 950, 23, 419, 0x1069d097
> +0, 966, 966, 33, 107788, 0xcf28b065
> +1, 974, 974, 23, 407, 0x1a3ec967
> +1, 997, 997, 23, 400, 0x4ca1c7e9
> +0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
> +1, 1020, 1020, 23, 465, 0x8dbbdfa5
> +0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
> +1, 1043, 1043, 23, 444, 0xed1cd498
> +0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
> +1, 1066, 1066, 23, 414, 0xada6c395
> +1, 1090, 1090, 23, 419, 0x7d64d269
> +0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
> +1, 1113, 1113, 23, 415, 0xf2e5c75d
> +0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
> +1, 1136, 1136, 23, 431, 0xeae2d257
> +1, 1159, 1159, 23, 437, 0x10c1cfa6
> +0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
> +1, 1183, 1183, 23, 428, 0x9b18ce7e
> +0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
> +1, 1206, 1206, 23, 426, 0xec1bce70
> +1, 1229, 1229, 23, 433, 0xad18d26f
> +0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
> +1, 1252, 1252, 23, 419, 0x99beccaf
> +0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
> +1, 1275, 1275, 23, 422, 0x38add249
> +1, 1299, 1299, 23, 335, 0x243499db
> +0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
> +1, 1322, 1322, 23, 427, 0x614fccd2
> +0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
> +1, 1345, 1345, 23, 434, 0xd97acebe
> +0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
> +1, 1368, 1368, 23, 427, 0x0a24cf66
> +1, 1392, 1392, 23, 406, 0x868bc306
> +0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
> +1, 1415, 1415, 23, 410, 0x32c4cd52
> +0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
> +1, 1438, 1438, 23, 416, 0xbd3dcaa5
> +1, 1461, 1461, 23, 420, 0x42c5ccf6
> +0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
> +1, 1484, 1484, 23, 437, 0xe302cd64
> +0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
> +1, 1508, 1508, 23, 444, 0xdc1ad47f
> +1, 1531, 1531, 23, 472, 0xc314e301
> +0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
> +1, 1554, 1554, 23, 466, 0xdb51e992
> +0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
> +1, 1577, 1577, 23, 425, 0x35b6c4be
> +0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
> +1, 1601, 1601, 23, 429, 0xd479cc89
> +1, 1624, 1624, 23, 424, 0x0994cbfa
> +0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
> +1, 1647, 1647, 23, 424, 0x1145cad4
> +0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
> +1, 1670, 1670, 23, 417, 0x0cb5c9d6
> +1, 1693, 1693, 23, 425, 0xd316c722
> +0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
> +1, 1717, 1717, 23, 412, 0x97d8c424
> +0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
> +1, 1740, 1740, 23, 422, 0x444ad135
> +1, 1763, 1763, 23, 436, 0x0575c48b
> +0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
> +1, 1786, 1786, 23, 418, 0xdd73c42f
> +0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
> +1, 1809, 1809, 23, 412, 0x64d0c0cd
> +1, 1833, 1833, 23, 417, 0xf7e3cc8d
> +0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
> +1, 1856, 1856, 23, 414, 0xef17ca47
> +0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
> +1, 1879, 1879, 23, 420, 0x86f5d28f
> +0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
> +1, 1902, 1902, 23, 415, 0x73dec27c
> +1, 1926, 1926, 23, 451, 0x62abdbfb
> +0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
> +1, 1949, 1949, 23, 511, 0xbb42f40b
> +0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
> +1, 1972, 1972, 23, 470, 0xe422df11
> +1, 1995, 1995, 23, 459, 0x7c24e067
> +0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
> +1, 2018, 2018, 23, 464, 0xb1a5ebf6
> +0, 2035, 2035, 33, 108249, 0x74b9d9a5
> +1, 2042, 2042, 23, 435, 0x7acbd073
> +1, 2065, 2065, 23, 475, 0x9498e6ff
> +0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
> +1, 2088, 2088, 23, 473, 0xf42ddcb4
> +0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
> +1, 2111, 2111, 23, 439, 0x898ad0ed
> +0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
> +1, 2135, 2135, 23, 483, 0x94f5e826
> +1, 2158, 2158, 23, 474, 0x80b8f7ad
> +0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
> +1, 2181, 2181, 23, 495, 0xd027e373
> +0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
> +1, 2204, 2204, 23, 479, 0x4841ea3d
> +1, 2227, 2227, 23, 446, 0x0b64d3e2
> +0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
> +1, 2251, 2251, 23, 464, 0xc939de26
> +0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
> +1, 2274, 2274, 23, 457, 0xc069e099
> +1, 2297, 2297, 23, 451, 0x2f22d7a1
> +0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
> +1, 2320, 2320, 23, 475, 0x4de7e675
> +0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
> +1, 2344, 2344, 23, 464, 0x430de113
> +1, 2367, 2367, 23, 428, 0x6546c66d
> +0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
> +1, 2390, 2390, 23, 455, 0xb5e5db4f
> +0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
> +1, 2413, 2413, 23, 493, 0xae57eafd
> +0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
> +1, 2436, 2436, 23, 448, 0xa170db5e
> +1, 2460, 2460, 23, 419, 0x0bfec67f
> +0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
> +1, 2483, 2483, 23, 406, 0x2e33d13b
> +0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
> +1, 2506, 2506, 23, 395, 0x0ef7c208
> +1, 2529, 2529, 23, 397, 0x736fc48d
> +0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
> +1, 2553, 2553, 23, 463, 0x6397def2
> +0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
> +1, 2576, 2576, 23, 414, 0x4c5fc473
> +1, 2599, 2599, 23, 426, 0x7028d53d
> +0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
> +1, 2622, 2622, 23, 382, 0x7344b178
> +0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
> +1, 2645, 2645, 23, 400, 0x17ecb9e3
> +0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
> +1, 2669, 2669, 23, 384, 0x40cfba37
> +1, 2692, 2692, 23, 420, 0xb01cce29
> +0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
> +1, 2715, 2715, 23, 443, 0x2b15dd89
> +0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
> +1, 2738, 2738, 23, 456, 0xf875e323
> +1, 2762, 2762, 23, 448, 0x190fd804
> +0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
> +1, 2785, 2785, 23, 408, 0x54f8c9ae
> +0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
> +1, 2808, 2808, 23, 404, 0x6812c0cc
> +1, 2831, 2831, 23, 457, 0x9618e228
> +0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
> +1, 2854, 2854, 23, 470, 0x3371e47e
> +0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
> +1, 2878, 2878, 23, 476, 0x3e0dea61
> +0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
> +1, 2901, 2901, 23, 438, 0x7e1aca04
> +1, 2924, 2924, 23, 468, 0xe22de588
> +0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
> +1, 2947, 2947, 23, 448, 0xf820d2df
> +0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
> +1, 2970, 2970, 23, 446, 0x4346da55
> +1, 2994, 2994, 23, 413, 0x8091c5e5
> +0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
> +1, 3017, 3017, 23, 447, 0x799cdff9
> +0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
> +1, 3040, 3040, 23, 485, 0x61f0e3ee
> +1, 3063, 3063, 23, 446, 0x09aad595
> +0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
> +1, 3087, 3087, 23, 503, 0x5ff6f1bd
> +0, 3101, 3101, 33, 108398, 0x04e8955a
> +1, 3110, 3110, 23, 481, 0x680bf2ff
> +1, 3133, 3133, 23, 481, 0x77e1e3eb
> +0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
> +1, 3156, 3156, 23, 500, 0xf446f43a
> +0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
> +1, 3179, 3179, 23, 503, 0x5a21f932
> +0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
> +1, 3203, 3203, 23, 443, 0x503bd45b
> +1, 3226, 3226, 23, 443, 0xb652e056
> +0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
> +1, 3249, 3249, 23, 441, 0xb0bbdc3e
> +0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
> +1, 3272, 3272, 23, 410, 0xa2aeb940
> +1, 3296, 3296, 23, 430, 0x9b32d228
> +0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
> +1, 3319, 3319, 23, 406, 0xd3ccc550
> +1, 3342, 3342, 23, 397, 0xcf2bc6d6
> +1, 3365, 3365, 23, 411, 0xecf7bf70
> +1, 3388, 3388, 23, 403, 0x4a35c58a
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 7:37 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
@ 2023-07-24 7:38 ` Steven Liu
2023-07-24 7:54 ` Andreas Rheinhardt
0 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-07-24 7:38 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月24日周一 15:36写道:
>
> Steven Liu:
> > Signed-off-by: Steven Liu <lq@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?
>
> > +#extradata 0: 551, 0xa18acf66
> > +#extradata 1: 2, 0x00340022
> > +#tb 0: 1/1000
> > +#media_type 0: video
> > +#codec_id 0: hevc
> > +#dimensions 0: 1920x1080
> > +#sar 0: 0/1
> > +#tb 1: 1/1000
> > +#media_type 1: audio
> > +#codec_id 1: aac
> > +#sample_rate 1: 44100
> > +#channel_layout_name 1: stereo
> > +0, 0, 0, 33, 63375, 0xc76606ab
> > +0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
> > +0, 66, 66, 33, 29766, 0x753c031a, F=0x0
> > +1, 68, 68, 23, 6, 0x031e0108
> > +1, 91, 91, 23, 251, 0x6b4a7cbd
> > +0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
> > +1, 114, 114, 23, 389, 0x6673c205
> > +0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
> > +1, 138, 138, 23, 356, 0x8c71a316
> > +1, 161, 161, 23, 339, 0x3018a45a
> > +0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
> > +1, 184, 184, 23, 405, 0xc89ebe05
> > +0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
> > +1, 207, 207, 23, 449, 0x42eadf96
> > +1, 231, 231, 23, 416, 0x28a7c9b9
> > +0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
> > +1, 254, 254, 23, 426, 0x9a74d4ec
> > +0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
> > +1, 277, 277, 23, 419, 0xbe3dc54b
> > +0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
> > +1, 300, 300, 23, 424, 0x5102d50e
> > +1, 323, 323, 23, 402, 0xb11cc14c
> > +0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
> > +1, 347, 347, 23, 401, 0x3820b8f9
> > +0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
> > +1, 370, 370, 23, 400, 0xe5c4c168
> > +1, 393, 393, 23, 435, 0x6dbecc33
> > +0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
> > +1, 416, 416, 23, 441, 0x0ad3d199
> > +0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
> > +1, 440, 440, 23, 479, 0x44dce967
> > +1, 463, 463, 23, 439, 0x7d85e4c9
> > +0, 466, 466, 33, 35400, 0xbe179462, F=0x0
> > +1, 486, 486, 23, 461, 0xca18e36b
> > +0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
> > +1, 509, 509, 23, 498, 0xf73befd7
> > +1, 532, 532, 23, 469, 0x0119e958
> > +0, 533, 533, 33, 16136, 0x78a74880, F=0x0
> > +1, 556, 556, 23, 472, 0x4980e108
> > +0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
> > +1, 579, 579, 23, 488, 0x42baeb77
> > +0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
> > +1, 602, 602, 23, 458, 0x2198dde8
> > +1, 625, 625, 23, 430, 0x0858cc8f
> > +0, 633, 633, 33, 16524, 0xb297a886, F=0x0
> > +1, 648, 648, 23, 464, 0x9590e068
> > +0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
> > +1, 672, 672, 23, 415, 0xf926cf5f
> > +1, 695, 695, 23, 429, 0xf4a4d6c3
> > +0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
> > +1, 718, 718, 23, 420, 0xb64ac826
> > +0, 733, 733, 33, 37648, 0x540b100f, F=0x0
> > +1, 741, 741, 23, 442, 0xae2fd0ef
> > +1, 765, 765, 23, 426, 0xf1b7ccff
> > +0, 766, 766, 33, 16363, 0x569798e5, F=0x0
> > +1, 788, 788, 23, 435, 0xd3a1cb35
> > +0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
> > +1, 811, 811, 23, 424, 0xc204c05d
> > +0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
> > +1, 834, 834, 23, 448, 0x3a3adc76
> > +1, 857, 857, 23, 451, 0x6a1bd675
> > +0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
> > +1, 881, 881, 23, 440, 0x6219d30d
> > +0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
> > +1, 904, 904, 23, 438, 0xb55dd535
> > +1, 927, 927, 23, 412, 0xd591ccfd
> > +0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
> > +1, 950, 950, 23, 419, 0x1069d097
> > +0, 966, 966, 33, 107788, 0xcf28b065
> > +1, 974, 974, 23, 407, 0x1a3ec967
> > +1, 997, 997, 23, 400, 0x4ca1c7e9
> > +0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
> > +1, 1020, 1020, 23, 465, 0x8dbbdfa5
> > +0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
> > +1, 1043, 1043, 23, 444, 0xed1cd498
> > +0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
> > +1, 1066, 1066, 23, 414, 0xada6c395
> > +1, 1090, 1090, 23, 419, 0x7d64d269
> > +0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
> > +1, 1113, 1113, 23, 415, 0xf2e5c75d
> > +0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
> > +1, 1136, 1136, 23, 431, 0xeae2d257
> > +1, 1159, 1159, 23, 437, 0x10c1cfa6
> > +0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
> > +1, 1183, 1183, 23, 428, 0x9b18ce7e
> > +0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
> > +1, 1206, 1206, 23, 426, 0xec1bce70
> > +1, 1229, 1229, 23, 433, 0xad18d26f
> > +0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
> > +1, 1252, 1252, 23, 419, 0x99beccaf
> > +0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
> > +1, 1275, 1275, 23, 422, 0x38add249
> > +1, 1299, 1299, 23, 335, 0x243499db
> > +0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
> > +1, 1322, 1322, 23, 427, 0x614fccd2
> > +0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
> > +1, 1345, 1345, 23, 434, 0xd97acebe
> > +0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
> > +1, 1368, 1368, 23, 427, 0x0a24cf66
> > +1, 1392, 1392, 23, 406, 0x868bc306
> > +0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
> > +1, 1415, 1415, 23, 410, 0x32c4cd52
> > +0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
> > +1, 1438, 1438, 23, 416, 0xbd3dcaa5
> > +1, 1461, 1461, 23, 420, 0x42c5ccf6
> > +0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
> > +1, 1484, 1484, 23, 437, 0xe302cd64
> > +0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
> > +1, 1508, 1508, 23, 444, 0xdc1ad47f
> > +1, 1531, 1531, 23, 472, 0xc314e301
> > +0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
> > +1, 1554, 1554, 23, 466, 0xdb51e992
> > +0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
> > +1, 1577, 1577, 23, 425, 0x35b6c4be
> > +0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
> > +1, 1601, 1601, 23, 429, 0xd479cc89
> > +1, 1624, 1624, 23, 424, 0x0994cbfa
> > +0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
> > +1, 1647, 1647, 23, 424, 0x1145cad4
> > +0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
> > +1, 1670, 1670, 23, 417, 0x0cb5c9d6
> > +1, 1693, 1693, 23, 425, 0xd316c722
> > +0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
> > +1, 1717, 1717, 23, 412, 0x97d8c424
> > +0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
> > +1, 1740, 1740, 23, 422, 0x444ad135
> > +1, 1763, 1763, 23, 436, 0x0575c48b
> > +0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
> > +1, 1786, 1786, 23, 418, 0xdd73c42f
> > +0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
> > +1, 1809, 1809, 23, 412, 0x64d0c0cd
> > +1, 1833, 1833, 23, 417, 0xf7e3cc8d
> > +0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
> > +1, 1856, 1856, 23, 414, 0xef17ca47
> > +0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
> > +1, 1879, 1879, 23, 420, 0x86f5d28f
> > +0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
> > +1, 1902, 1902, 23, 415, 0x73dec27c
> > +1, 1926, 1926, 23, 451, 0x62abdbfb
> > +0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
> > +1, 1949, 1949, 23, 511, 0xbb42f40b
> > +0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
> > +1, 1972, 1972, 23, 470, 0xe422df11
> > +1, 1995, 1995, 23, 459, 0x7c24e067
> > +0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
> > +1, 2018, 2018, 23, 464, 0xb1a5ebf6
> > +0, 2035, 2035, 33, 108249, 0x74b9d9a5
> > +1, 2042, 2042, 23, 435, 0x7acbd073
> > +1, 2065, 2065, 23, 475, 0x9498e6ff
> > +0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
> > +1, 2088, 2088, 23, 473, 0xf42ddcb4
> > +0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
> > +1, 2111, 2111, 23, 439, 0x898ad0ed
> > +0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
> > +1, 2135, 2135, 23, 483, 0x94f5e826
> > +1, 2158, 2158, 23, 474, 0x80b8f7ad
> > +0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
> > +1, 2181, 2181, 23, 495, 0xd027e373
> > +0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
> > +1, 2204, 2204, 23, 479, 0x4841ea3d
> > +1, 2227, 2227, 23, 446, 0x0b64d3e2
> > +0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
> > +1, 2251, 2251, 23, 464, 0xc939de26
> > +0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
> > +1, 2274, 2274, 23, 457, 0xc069e099
> > +1, 2297, 2297, 23, 451, 0x2f22d7a1
> > +0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
> > +1, 2320, 2320, 23, 475, 0x4de7e675
> > +0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
> > +1, 2344, 2344, 23, 464, 0x430de113
> > +1, 2367, 2367, 23, 428, 0x6546c66d
> > +0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
> > +1, 2390, 2390, 23, 455, 0xb5e5db4f
> > +0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
> > +1, 2413, 2413, 23, 493, 0xae57eafd
> > +0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
> > +1, 2436, 2436, 23, 448, 0xa170db5e
> > +1, 2460, 2460, 23, 419, 0x0bfec67f
> > +0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
> > +1, 2483, 2483, 23, 406, 0x2e33d13b
> > +0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
> > +1, 2506, 2506, 23, 395, 0x0ef7c208
> > +1, 2529, 2529, 23, 397, 0x736fc48d
> > +0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
> > +1, 2553, 2553, 23, 463, 0x6397def2
> > +0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
> > +1, 2576, 2576, 23, 414, 0x4c5fc473
> > +1, 2599, 2599, 23, 426, 0x7028d53d
> > +0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
> > +1, 2622, 2622, 23, 382, 0x7344b178
> > +0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
> > +1, 2645, 2645, 23, 400, 0x17ecb9e3
> > +0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
> > +1, 2669, 2669, 23, 384, 0x40cfba37
> > +1, 2692, 2692, 23, 420, 0xb01cce29
> > +0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
> > +1, 2715, 2715, 23, 443, 0x2b15dd89
> > +0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
> > +1, 2738, 2738, 23, 456, 0xf875e323
> > +1, 2762, 2762, 23, 448, 0x190fd804
> > +0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
> > +1, 2785, 2785, 23, 408, 0x54f8c9ae
> > +0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
> > +1, 2808, 2808, 23, 404, 0x6812c0cc
> > +1, 2831, 2831, 23, 457, 0x9618e228
> > +0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
> > +1, 2854, 2854, 23, 470, 0x3371e47e
> > +0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
> > +1, 2878, 2878, 23, 476, 0x3e0dea61
> > +0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
> > +1, 2901, 2901, 23, 438, 0x7e1aca04
> > +1, 2924, 2924, 23, 468, 0xe22de588
> > +0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
> > +1, 2947, 2947, 23, 448, 0xf820d2df
> > +0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
> > +1, 2970, 2970, 23, 446, 0x4346da55
> > +1, 2994, 2994, 23, 413, 0x8091c5e5
> > +0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
> > +1, 3017, 3017, 23, 447, 0x799cdff9
> > +0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
> > +1, 3040, 3040, 23, 485, 0x61f0e3ee
> > +1, 3063, 3063, 23, 446, 0x09aad595
> > +0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
> > +1, 3087, 3087, 23, 503, 0x5ff6f1bd
> > +0, 3101, 3101, 33, 108398, 0x04e8955a
> > +1, 3110, 3110, 23, 481, 0x680bf2ff
> > +1, 3133, 3133, 23, 481, 0x77e1e3eb
> > +0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
> > +1, 3156, 3156, 23, 500, 0xf446f43a
> > +0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
> > +1, 3179, 3179, 23, 503, 0x5a21f932
> > +0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
> > +1, 3203, 3203, 23, 443, 0x503bd45b
> > +1, 3226, 3226, 23, 443, 0xb652e056
> > +0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
> > +1, 3249, 3249, 23, 441, 0xb0bbdc3e
> > +0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
> > +1, 3272, 3272, 23, 410, 0xa2aeb940
> > +1, 3296, 3296, 23, 430, 0x9b32d228
> > +0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
> > +1, 3319, 3319, 23, 406, 0xd3ccc550
> > +1, 3342, 3342, 23, 397, 0xcf2bc6d6
> > +1, 3365, 3365, 23, 411, 0xecf7bf70
> > +1, 3388, 3388, 23, 403, 0x4a35c58a
>
> _______________________________________________
> 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".
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 7:38 ` Steven Liu
@ 2023-07-24 7:54 ` Andreas Rheinhardt
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
2023-07-24 9:22 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
0 siblings, 2 replies; 46+ messages in thread
From: Andreas Rheinhardt @ 2023-07-24 7:54 UTC (permalink / raw)
To: ffmpeg-devel
Steven Liu:
> Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月24日周一 15:36写道:
>>
>> Steven Liu:
>>> Signed-off-by: Steven Liu <lq@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.
- 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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 7:54 ` Andreas Rheinhardt
@ 2023-07-24 9:20 ` Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 2/3] tests/fate/flvenc: add vp9 " Steven Liu
` (2 more replies)
2023-07-24 9:22 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
1 sibling, 3 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 9:20 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 7 +-
tests/ref/fate/enhanced-flv-hevc | 258 +++++++++++++++++++++++++++++++
2 files changed, 264 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..406d04db1d 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 = transcode 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..3799f1f50b
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -0,0 +1,258 @@
+e7030c9d4301afbbe0ec6f6899a80bdc *tests/data/fate/enhanced-flv-hevc.flv
+3602600 tests/data/fate/enhanced-flv-hevc.flv
+#extradata 0: 551, 0xa18acf66
+#extradata 1: 2, 0x00340022
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+#tb 1: 1/1000
+#media_type 1: audio
+#codec_id 1: aac
+#sample_rate 1: 44100
+#channel_layout_name 1: stereo
+0, 0, 0, 33, 63375, 0xc76606ab
+0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
+0, 66, 66, 33, 29766, 0x753c031a, F=0x0
+1, 68, 68, 23, 6, 0x031e0108
+1, 91, 91, 23, 251, 0x6b4a7cbd
+0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
+1, 114, 114, 23, 389, 0x6673c205
+0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
+1, 138, 138, 23, 356, 0x8c71a316
+1, 161, 161, 23, 339, 0x3018a45a
+0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
+1, 184, 184, 23, 405, 0xc89ebe05
+0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
+1, 207, 207, 23, 449, 0x42eadf96
+1, 231, 231, 23, 416, 0x28a7c9b9
+0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
+1, 254, 254, 23, 426, 0x9a74d4ec
+0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
+1, 277, 277, 23, 419, 0xbe3dc54b
+0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
+1, 300, 300, 23, 424, 0x5102d50e
+1, 323, 323, 23, 402, 0xb11cc14c
+0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
+1, 347, 347, 23, 401, 0x3820b8f9
+0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
+1, 370, 370, 23, 400, 0xe5c4c168
+1, 393, 393, 23, 435, 0x6dbecc33
+0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
+1, 416, 416, 23, 441, 0x0ad3d199
+0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
+1, 440, 440, 23, 479, 0x44dce967
+1, 463, 463, 23, 439, 0x7d85e4c9
+0, 466, 466, 33, 35400, 0xbe179462, F=0x0
+1, 486, 486, 23, 461, 0xca18e36b
+0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
+1, 509, 509, 23, 498, 0xf73befd7
+1, 532, 532, 23, 469, 0x0119e958
+0, 533, 533, 33, 16136, 0x78a74880, F=0x0
+1, 556, 556, 23, 472, 0x4980e108
+0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
+1, 579, 579, 23, 488, 0x42baeb77
+0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
+1, 602, 602, 23, 458, 0x2198dde8
+1, 625, 625, 23, 430, 0x0858cc8f
+0, 633, 633, 33, 16524, 0xb297a886, F=0x0
+1, 648, 648, 23, 464, 0x9590e068
+0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
+1, 672, 672, 23, 415, 0xf926cf5f
+1, 695, 695, 23, 429, 0xf4a4d6c3
+0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
+1, 718, 718, 23, 420, 0xb64ac826
+0, 733, 733, 33, 37648, 0x540b100f, F=0x0
+1, 741, 741, 23, 442, 0xae2fd0ef
+1, 765, 765, 23, 426, 0xf1b7ccff
+0, 766, 766, 33, 16363, 0x569798e5, F=0x0
+1, 788, 788, 23, 435, 0xd3a1cb35
+0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
+1, 811, 811, 23, 424, 0xc204c05d
+0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
+1, 834, 834, 23, 448, 0x3a3adc76
+1, 857, 857, 23, 451, 0x6a1bd675
+0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
+1, 881, 881, 23, 440, 0x6219d30d
+0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
+1, 904, 904, 23, 438, 0xb55dd535
+1, 927, 927, 23, 412, 0xd591ccfd
+0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
+1, 950, 950, 23, 419, 0x1069d097
+0, 966, 966, 33, 107788, 0xcf28b065
+1, 974, 974, 23, 407, 0x1a3ec967
+1, 997, 997, 23, 400, 0x4ca1c7e9
+0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
+1, 1020, 1020, 23, 465, 0x8dbbdfa5
+0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
+1, 1043, 1043, 23, 444, 0xed1cd498
+0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
+1, 1066, 1066, 23, 414, 0xada6c395
+1, 1090, 1090, 23, 419, 0x7d64d269
+0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
+1, 1113, 1113, 23, 415, 0xf2e5c75d
+0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
+1, 1136, 1136, 23, 431, 0xeae2d257
+1, 1159, 1159, 23, 437, 0x10c1cfa6
+0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
+1, 1183, 1183, 23, 428, 0x9b18ce7e
+0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
+1, 1206, 1206, 23, 426, 0xec1bce70
+1, 1229, 1229, 23, 433, 0xad18d26f
+0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
+1, 1252, 1252, 23, 419, 0x99beccaf
+0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
+1, 1275, 1275, 23, 422, 0x38add249
+1, 1299, 1299, 23, 335, 0x243499db
+0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
+1, 1322, 1322, 23, 427, 0x614fccd2
+0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
+1, 1345, 1345, 23, 434, 0xd97acebe
+0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
+1, 1368, 1368, 23, 427, 0x0a24cf66
+1, 1392, 1392, 23, 406, 0x868bc306
+0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
+1, 1415, 1415, 23, 410, 0x32c4cd52
+0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
+1, 1438, 1438, 23, 416, 0xbd3dcaa5
+1, 1461, 1461, 23, 420, 0x42c5ccf6
+0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
+1, 1484, 1484, 23, 437, 0xe302cd64
+0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
+1, 1508, 1508, 23, 444, 0xdc1ad47f
+1, 1531, 1531, 23, 472, 0xc314e301
+0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
+1, 1554, 1554, 23, 466, 0xdb51e992
+0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
+1, 1577, 1577, 23, 425, 0x35b6c4be
+0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
+1, 1601, 1601, 23, 429, 0xd479cc89
+1, 1624, 1624, 23, 424, 0x0994cbfa
+0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
+1, 1647, 1647, 23, 424, 0x1145cad4
+0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
+1, 1670, 1670, 23, 417, 0x0cb5c9d6
+1, 1693, 1693, 23, 425, 0xd316c722
+0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
+1, 1717, 1717, 23, 412, 0x97d8c424
+0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
+1, 1740, 1740, 23, 422, 0x444ad135
+1, 1763, 1763, 23, 436, 0x0575c48b
+0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
+1, 1786, 1786, 23, 418, 0xdd73c42f
+0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
+1, 1809, 1809, 23, 412, 0x64d0c0cd
+1, 1833, 1833, 23, 417, 0xf7e3cc8d
+0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
+1, 1856, 1856, 23, 414, 0xef17ca47
+0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
+1, 1879, 1879, 23, 420, 0x86f5d28f
+0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
+1, 1902, 1902, 23, 415, 0x73dec27c
+1, 1926, 1926, 23, 451, 0x62abdbfb
+0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
+1, 1949, 1949, 23, 511, 0xbb42f40b
+0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
+1, 1972, 1972, 23, 470, 0xe422df11
+1, 1995, 1995, 23, 459, 0x7c24e067
+0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
+1, 2018, 2018, 23, 464, 0xb1a5ebf6
+0, 2035, 2035, 33, 108249, 0x74b9d9a5
+1, 2042, 2042, 23, 435, 0x7acbd073
+1, 2065, 2065, 23, 475, 0x9498e6ff
+0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
+1, 2088, 2088, 23, 473, 0xf42ddcb4
+0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
+1, 2111, 2111, 23, 439, 0x898ad0ed
+0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
+1, 2135, 2135, 23, 483, 0x94f5e826
+1, 2158, 2158, 23, 474, 0x80b8f7ad
+0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
+1, 2181, 2181, 23, 495, 0xd027e373
+0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
+1, 2204, 2204, 23, 479, 0x4841ea3d
+1, 2227, 2227, 23, 446, 0x0b64d3e2
+0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
+1, 2251, 2251, 23, 464, 0xc939de26
+0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
+1, 2274, 2274, 23, 457, 0xc069e099
+1, 2297, 2297, 23, 451, 0x2f22d7a1
+0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
+1, 2320, 2320, 23, 475, 0x4de7e675
+0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
+1, 2344, 2344, 23, 464, 0x430de113
+1, 2367, 2367, 23, 428, 0x6546c66d
+0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
+1, 2390, 2390, 23, 455, 0xb5e5db4f
+0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
+1, 2413, 2413, 23, 493, 0xae57eafd
+0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
+1, 2436, 2436, 23, 448, 0xa170db5e
+1, 2460, 2460, 23, 419, 0x0bfec67f
+0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
+1, 2483, 2483, 23, 406, 0x2e33d13b
+0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
+1, 2506, 2506, 23, 395, 0x0ef7c208
+1, 2529, 2529, 23, 397, 0x736fc48d
+0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
+1, 2553, 2553, 23, 463, 0x6397def2
+0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
+1, 2576, 2576, 23, 414, 0x4c5fc473
+1, 2599, 2599, 23, 426, 0x7028d53d
+0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
+1, 2622, 2622, 23, 382, 0x7344b178
+0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
+1, 2645, 2645, 23, 400, 0x17ecb9e3
+0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
+1, 2669, 2669, 23, 384, 0x40cfba37
+1, 2692, 2692, 23, 420, 0xb01cce29
+0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
+1, 2715, 2715, 23, 443, 0x2b15dd89
+0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
+1, 2738, 2738, 23, 456, 0xf875e323
+1, 2762, 2762, 23, 448, 0x190fd804
+0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
+1, 2785, 2785, 23, 408, 0x54f8c9ae
+0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
+1, 2808, 2808, 23, 404, 0x6812c0cc
+1, 2831, 2831, 23, 457, 0x9618e228
+0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
+1, 2854, 2854, 23, 470, 0x3371e47e
+0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
+1, 2878, 2878, 23, 476, 0x3e0dea61
+0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
+1, 2901, 2901, 23, 438, 0x7e1aca04
+1, 2924, 2924, 23, 468, 0xe22de588
+0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
+1, 2947, 2947, 23, 448, 0xf820d2df
+0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
+1, 2970, 2970, 23, 446, 0x4346da55
+1, 2994, 2994, 23, 413, 0x8091c5e5
+0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
+1, 3017, 3017, 23, 447, 0x799cdff9
+0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
+1, 3040, 3040, 23, 485, 0x61f0e3ee
+1, 3063, 3063, 23, 446, 0x09aad595
+0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
+1, 3087, 3087, 23, 503, 0x5ff6f1bd
+0, 3101, 3101, 33, 108398, 0x04e8955a
+1, 3110, 3110, 23, 481, 0x680bf2ff
+1, 3133, 3133, 23, 481, 0x77e1e3eb
+0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
+1, 3156, 3156, 23, 500, 0xf446f43a
+0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
+1, 3179, 3179, 23, 503, 0x5a21f932
+0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
+1, 3203, 3203, 23, 443, 0x503bd45b
+1, 3226, 3226, 23, 443, 0xb652e056
+0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
+1, 3249, 3249, 23, 441, 0xb0bbdc3e
+0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
+1, 3272, 3272, 23, 410, 0xa2aeb940
+1, 3296, 3296, 23, 430, 0x9b32d228
+0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
+1, 3319, 3319, 23, 406, 0xd3ccc550
+1, 3342, 3342, 23, 397, 0xcf2bc6d6
+1, 3365, 3365, 23, 411, 0xecf7bf70
+1, 3388, 3388, 23, 403, 0x4a35c58a
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v6 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
@ 2023-07-24 9:20 ` Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-08-04 9:59 ` [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 9:20 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-vp9 | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 406d04db1d..dae6e0963e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV MOV, FLV_DEMUXER HEVC_PARSER) += f
fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-c copy" "-c copy"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..149d9a6269
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,18 @@
+8e7403c6fb638202ac2b8b7d8c5df3f6 *tests/data/fate/enhanced-flv-vp9.flv
+9384 tests/data/fate/enhanced-flv-vp9.flv
+#extradata 0: 8, 0x03b0009c
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 33, 3964, 0x8ff9b15f
+0, 33, 33, 33, 373, 0x985fb479, F=0x0
+0, 67, 67, 33, 375, 0x2813bc1b, F=0x0
+0, 100, 100, 33, 261, 0x69557ae9, F=0x0
+0, 133, 133, 33, 527, 0xb4a7fe75, F=0x0
+0, 167, 167, 33, 608, 0x80a8212a, F=0x0
+0, 200, 200, 33, 1551, 0x28f2f1f9, F=0x0
+0, 233, 233, 33, 520, 0xbec201ee, F=0x0
+0, 267, 267, 33, 426, 0xf9e0d260, F=0x0
+0, 300, 300, 33, 384, 0xcbd8b904, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v6 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-07-24 9:20 ` Steven Liu
2023-08-04 9:59 ` [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc " Steven Liu
2 siblings, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 9:20 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++
tests/ref/fate/enhanced-flv-av1 | 70 +++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index dae6e0963e..8dc2f7adfd 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fa
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 REMUX, FLV IVF, FLV_DEMUXER AV1_PARSER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = stream_remux ivf $(TARGET_SAMPLES)/av1/seq_hdr_op_param_info.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)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..b2a624e41e
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,70 @@
+#extradata 0: 36, 0x70580971
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 320x176
+#sar 0: 1/1
+0, 0, 0, 41, 4718, 0xc4d912ec
+0, 42, 42, 41, 5109, 0xc065dd7d, F=0x0
+0, 83, 83, 41, 192, 0x160c5335, F=0x0
+0, 125, 125, 41, 196, 0x5e82506a, F=0x0
+0, 167, 167, 41, 267, 0x6c737c10, F=0x0
+0, 209, 209, 41, 189, 0x87af4ec0, F=0x0
+0, 250, 250, 41, 226, 0xb62b6409, F=0x0
+0, 292, 292, 41, 228, 0x986a61d9, F=0x0
+0, 334, 334, 41, 175, 0x32d8485c, F=0x0
+0, 375, 375, 41, 154, 0x31463f47, F=0x0
+0, 417, 417, 41, 63, 0xc62e1171, F=0x0
+0, 459, 459, 41, 5002, 0x4dd4904a, F=0x0
+0, 501, 501, 41, 291, 0xda527f77, F=0x0
+0, 542, 542, 41, 354, 0xf629a59e, F=0x0
+0, 584, 584, 41, 379, 0xeeb2ac32, F=0x0
+0, 626, 626, 41, 356, 0x5907a8df, F=0x0
+0, 667, 667, 41, 399, 0x91b3b07e, F=0x0
+0, 709, 709, 41, 331, 0xbe3c9e2c, F=0x0
+0, 751, 751, 41, 298, 0xc5e67db5, F=0x0
+0, 792, 792, 41, 229, 0x297e636a, F=0x0
+0, 834, 834, 41, 63, 0xb6880f3d, F=0x0
+0, 876, 876, 41, 5457, 0xb8918205, F=0x0
+0, 918, 918, 41, 618, 0xdb332843, F=0x0
+0, 959, 959, 41, 679, 0x5b5b469c, F=0x0
+0, 1001, 1001, 41, 701, 0x400452ba, F=0x0
+0, 1043, 1043, 41, 756, 0xf89675d5, F=0x0
+0, 1084, 1084, 41, 594, 0xbd361b4a, F=0x0
+0, 1126, 1126, 41, 647, 0x222a3f63, F=0x0
+0, 1168, 1168, 41, 606, 0xc92724cd, F=0x0
+0, 1210, 1210, 41, 426, 0xb7e0c9ba, F=0x0
+0, 1251, 1251, 41, 59, 0x8d570f88, F=0x0
+0, 1293, 1293, 41, 4383, 0x8fdc95b7, F=0x0
+0, 1335, 1335, 41, 7223, 0x5229e7a0
+0, 1376, 1376, 41, 7817, 0x017601d3, F=0x0
+0, 1418, 1418, 41, 1255, 0x50216daf, F=0x0
+0, 1460, 1460, 41, 740, 0xb7485d42, F=0x0
+0, 1502, 1502, 41, 767, 0x01dc72b4, F=0x0
+0, 1543, 1543, 41, 570, 0x95830ec3, F=0x0
+0, 1585, 1585, 41, 694, 0xbe17386d, F=0x0
+0, 1627, 1627, 41, 644, 0xc2df2bc2, F=0x0
+0, 1668, 1668, 41, 652, 0xac32324a, F=0x0
+0, 1710, 1710, 41, 413, 0x35f4c58d, F=0x0
+0, 1752, 1752, 41, 63, 0xd61910ad, F=0x0
+0, 1793, 1793, 41, 8156, 0x3fb5b502, F=0x0
+0, 1835, 1835, 41, 1071, 0x4eab0795, F=0x0
+0, 1877, 1877, 41, 839, 0x24f2960c, F=0x0
+0, 1919, 1919, 41, 806, 0xc1eb85e1, F=0x0
+0, 1960, 1960, 41, 591, 0xdaba1bdc, F=0x0
+0, 2002, 2002, 41, 814, 0x52427e40, F=0x0
+0, 2044, 2044, 41, 654, 0x454739a1, F=0x0
+0, 2085, 2085, 41, 600, 0xb5630b54, F=0x0
+0, 2127, 2127, 41, 395, 0xb1aab2cf, F=0x0
+0, 2169, 2169, 41, 59, 0xa6fa1094, F=0x0
+0, 2211, 2211, 41, 9135, 0x6573c423, F=0x0
+0, 2252, 2252, 41, 1198, 0xe9aa40dd, F=0x0
+0, 2294, 2294, 41, 818, 0xd83e9e2a, F=0x0
+0, 2336, 2336, 41, 747, 0xced06fee, F=0x0
+0, 2377, 2377, 41, 661, 0x799b4a75, F=0x0
+0, 2419, 2419, 41, 722, 0x594f549d, F=0x0
+0, 2461, 2461, 41, 722, 0x65b05690, F=0x0
+0, 2503, 2503, 41, 515, 0xe655ef15, F=0x0
+0, 2544, 2544, 41, 443, 0xed42d926, F=0x0
+0, 2586, 2586, 41, 60, 0xb75510a8, F=0x0
+0, 2628, 2628, 41, 670, 0xed514c9d, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 7:54 ` Andreas Rheinhardt
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
@ 2023-07-24 9:22 ` Steven Liu
1 sibling, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-07-24 9:22 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月24日周一 15:54写道:
>
> Steven Liu:
> > Andreas Rheinhardt <andreas.rheinhardt@outlook.com> 于2023年7月24日周一 15:36写道:
> >>
> >> Steven Liu:
> >>> Signed-off-by: Steven Liu <lq@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-request@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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 3/3] tests/fate/flvenc: add av1 " Steven Liu
@ 2023-08-04 9:59 ` Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 " Steven Liu
2 siblings, 1 reply; 46+ messages in thread
From: Steven Liu @ 2023-08-04 9:59 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Steven Liu <lq@chinaffmpeg.org> 于2023年7月24日周一 17:20写道:
>
> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
> ---
> tests/fate/flvenc.mak | 7 +-
> tests/ref/fate/enhanced-flv-hevc | 258 +++++++++++++++++++++++++++++++
> 2 files changed, 264 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..406d04db1d 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 = transcode 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..3799f1f50b
> --- /dev/null
> +++ b/tests/ref/fate/enhanced-flv-hevc
> @@ -0,0 +1,258 @@
> +e7030c9d4301afbbe0ec6f6899a80bdc *tests/data/fate/enhanced-flv-hevc.flv
> +3602600 tests/data/fate/enhanced-flv-hevc.flv
> +#extradata 0: 551, 0xa18acf66
> +#extradata 1: 2, 0x00340022
> +#tb 0: 1/1000
> +#media_type 0: video
> +#codec_id 0: hevc
> +#dimensions 0: 1920x1080
> +#sar 0: 0/1
> +#tb 1: 1/1000
> +#media_type 1: audio
> +#codec_id 1: aac
> +#sample_rate 1: 44100
> +#channel_layout_name 1: stereo
> +0, 0, 0, 33, 63375, 0xc76606ab
> +0, 33, 33, 33, 46706, 0x0e08a7e5, F=0x0
> +0, 66, 66, 33, 29766, 0x753c031a, F=0x0
> +1, 68, 68, 23, 6, 0x031e0108
> +1, 91, 91, 23, 251, 0x6b4a7cbd
> +0, 100, 100, 33, 19409, 0x4b948b6c, F=0x0
> +1, 114, 114, 23, 389, 0x6673c205
> +0, 133, 133, 33, 21086, 0x1b9412ce, F=0x0
> +1, 138, 138, 23, 356, 0x8c71a316
> +1, 161, 161, 23, 339, 0x3018a45a
> +0, 166, 166, 33, 62043, 0xc2356b56, F=0x0
> +1, 184, 184, 23, 405, 0xc89ebe05
> +0, 200, 200, 33, 36175, 0x0a7df38c, F=0x0
> +1, 207, 207, 23, 449, 0x42eadf96
> +1, 231, 231, 23, 416, 0x28a7c9b9
> +0, 233, 233, 33, 16028, 0xa57fcbe9, F=0x0
> +1, 254, 254, 23, 426, 0x9a74d4ec
> +0, 266, 266, 33, 15428, 0x9a91f357, F=0x0
> +1, 277, 277, 23, 419, 0xbe3dc54b
> +0, 300, 300, 33, 66072, 0xa542b6d7, F=0x0
> +1, 300, 300, 23, 424, 0x5102d50e
> +1, 323, 323, 23, 402, 0xb11cc14c
> +0, 333, 333, 33, 34985, 0xbfd8ff45, F=0x0
> +1, 347, 347, 23, 401, 0x3820b8f9
> +0, 366, 366, 33, 16036, 0xfc39c6ea, F=0x0
> +1, 370, 370, 23, 400, 0xe5c4c168
> +1, 393, 393, 23, 435, 0x6dbecc33
> +0, 400, 400, 33, 19893, 0x7e746f4e, F=0x0
> +1, 416, 416, 23, 441, 0x0ad3d199
> +0, 433, 433, 33, 77576, 0xeba2e5c8, F=0x0
> +1, 440, 440, 23, 479, 0x44dce967
> +1, 463, 463, 23, 439, 0x7d85e4c9
> +0, 466, 466, 33, 35400, 0xbe179462, F=0x0
> +1, 486, 486, 23, 461, 0xca18e36b
> +0, 500, 500, 33, 15962, 0x7703dcd8, F=0x0
> +1, 509, 509, 23, 498, 0xf73befd7
> +1, 532, 532, 23, 469, 0x0119e958
> +0, 533, 533, 33, 16136, 0x78a74880, F=0x0
> +1, 556, 556, 23, 472, 0x4980e108
> +0, 566, 566, 33, 74990, 0xb6fc1da7, F=0x0
> +1, 579, 579, 23, 488, 0x42baeb77
> +0, 600, 600, 33, 36594, 0xc3c61c3e, F=0x0
> +1, 602, 602, 23, 458, 0x2198dde8
> +1, 625, 625, 23, 430, 0x0858cc8f
> +0, 633, 633, 33, 16524, 0xb297a886, F=0x0
> +1, 648, 648, 23, 464, 0x9590e068
> +0, 666, 666, 33, 17033, 0x31b3dd63, F=0x0
> +1, 672, 672, 23, 415, 0xf926cf5f
> +1, 695, 695, 23, 429, 0xf4a4d6c3
> +0, 700, 700, 33, 66745, 0x5edee4b1, F=0x0
> +1, 718, 718, 23, 420, 0xb64ac826
> +0, 733, 733, 33, 37648, 0x540b100f, F=0x0
> +1, 741, 741, 23, 442, 0xae2fd0ef
> +1, 765, 765, 23, 426, 0xf1b7ccff
> +0, 766, 766, 33, 16363, 0x569798e5, F=0x0
> +1, 788, 788, 23, 435, 0xd3a1cb35
> +0, 800, 800, 33, 17112, 0x9f04002b, F=0x0
> +1, 811, 811, 23, 424, 0xc204c05d
> +0, 833, 833, 33, 69462, 0x6ed4d0a2, F=0x0
> +1, 834, 834, 23, 448, 0x3a3adc76
> +1, 857, 857, 23, 451, 0x6a1bd675
> +0, 866, 866, 33, 34772, 0x2baa0683, F=0x0
> +1, 881, 881, 23, 440, 0x6219d30d
> +0, 900, 900, 33, 14301, 0x8d69c797, F=0x0
> +1, 904, 904, 23, 438, 0xb55dd535
> +1, 927, 927, 23, 412, 0xd591ccfd
> +0, 933, 933, 33, 16355, 0x1ebb9962, F=0x0
> +1, 950, 950, 23, 419, 0x1069d097
> +0, 966, 966, 33, 107788, 0xcf28b065
> +1, 974, 974, 23, 407, 0x1a3ec967
> +1, 997, 997, 23, 400, 0x4ca1c7e9
> +0, 1000, 1000, 33, 35514, 0xa824dec0, F=0x0
> +1, 1020, 1020, 23, 465, 0x8dbbdfa5
> +0, 1033, 1033, 33, 15937, 0x8c06a068, F=0x0
> +1, 1043, 1043, 23, 444, 0xed1cd498
> +0, 1066, 1066, 33, 15936, 0x1a01f3e9, F=0x0
> +1, 1066, 1066, 23, 414, 0xada6c395
> +1, 1090, 1090, 23, 419, 0x7d64d269
> +0, 1100, 1100, 33, 79014, 0xef4c241e, F=0x0
> +1, 1113, 1113, 23, 415, 0xf2e5c75d
> +0, 1133, 1133, 33, 37293, 0xb32c9665, F=0x0
> +1, 1136, 1136, 23, 431, 0xeae2d257
> +1, 1159, 1159, 23, 437, 0x10c1cfa6
> +0, 1168, 1168, 33, 12826, 0xddc8ba8d, F=0x0
> +1, 1183, 1183, 23, 428, 0x9b18ce7e
> +0, 1201, 1201, 33, 13376, 0x76fbc02f, F=0x0
> +1, 1206, 1206, 23, 426, 0xec1bce70
> +1, 1229, 1229, 23, 433, 0xad18d26f
> +0, 1235, 1235, 33, 68959, 0x5fdeaeac, F=0x0
> +1, 1252, 1252, 23, 419, 0x99beccaf
> +0, 1268, 1268, 33, 35503, 0x15dbf810, F=0x0
> +1, 1275, 1275, 23, 422, 0x38add249
> +1, 1299, 1299, 23, 335, 0x243499db
> +0, 1301, 1301, 33, 12298, 0xbc12d96e, F=0x0
> +1, 1322, 1322, 23, 427, 0x614fccd2
> +0, 1335, 1335, 33, 16357, 0x3bb3e5c9, F=0x0
> +1, 1345, 1345, 23, 434, 0xd97acebe
> +0, 1368, 1368, 33, 69872, 0x643e0e8a, F=0x0
> +1, 1368, 1368, 23, 427, 0x0a24cf66
> +1, 1392, 1392, 23, 406, 0x868bc306
> +0, 1401, 1401, 33, 35059, 0xab5881c4, F=0x0
> +1, 1415, 1415, 23, 410, 0x32c4cd52
> +0, 1435, 1435, 33, 17718, 0xe78b5150, F=0x0
> +1, 1438, 1438, 23, 416, 0xbd3dcaa5
> +1, 1461, 1461, 23, 420, 0x42c5ccf6
> +0, 1468, 1468, 33, 17264, 0xd5297233, F=0x0
> +1, 1484, 1484, 23, 437, 0xe302cd64
> +0, 1501, 1501, 33, 68258, 0xea19d5bb, F=0x0
> +1, 1508, 1508, 23, 444, 0xdc1ad47f
> +1, 1531, 1531, 23, 472, 0xc314e301
> +0, 1535, 1535, 33, 34019, 0x1c25277c, F=0x0
> +1, 1554, 1554, 23, 466, 0xdb51e992
> +0, 1568, 1568, 33, 16085, 0xfc5f1909, F=0x0
> +1, 1577, 1577, 23, 425, 0x35b6c4be
> +0, 1601, 1601, 33, 17133, 0xccd80c32, F=0x0
> +1, 1601, 1601, 23, 429, 0xd479cc89
> +1, 1624, 1624, 23, 424, 0x0994cbfa
> +0, 1635, 1635, 33, 65478, 0x92adbcf5, F=0x0
> +1, 1647, 1647, 23, 424, 0x1145cad4
> +0, 1668, 1668, 33, 35702, 0x85da366e, F=0x0
> +1, 1670, 1670, 23, 417, 0x0cb5c9d6
> +1, 1693, 1693, 23, 425, 0xd316c722
> +0, 1701, 1701, 33, 17729, 0x7c6037dd, F=0x0
> +1, 1717, 1717, 23, 412, 0x97d8c424
> +0, 1735, 1735, 33, 16400, 0x07509624, F=0x0
> +1, 1740, 1740, 23, 422, 0x444ad135
> +1, 1763, 1763, 23, 436, 0x0575c48b
> +0, 1768, 1768, 33, 65450, 0xc93a8591, F=0x0
> +1, 1786, 1786, 23, 418, 0xdd73c42f
> +0, 1801, 1801, 33, 30572, 0xe4892d21, F=0x0
> +1, 1809, 1809, 23, 412, 0x64d0c0cd
> +1, 1833, 1833, 23, 417, 0xf7e3cc8d
> +0, 1835, 1835, 33, 16836, 0x34466a29, F=0x0
> +1, 1856, 1856, 23, 414, 0xef17ca47
> +0, 1868, 1868, 33, 16615, 0x06f42746, F=0x0
> +1, 1879, 1879, 23, 420, 0x86f5d28f
> +0, 1901, 1901, 33, 61621, 0x455e8141, F=0x0
> +1, 1902, 1902, 23, 415, 0x73dec27c
> +1, 1926, 1926, 23, 451, 0x62abdbfb
> +0, 1935, 1935, 33, 35393, 0x91e3f353, F=0x0
> +1, 1949, 1949, 23, 511, 0xbb42f40b
> +0, 1968, 1968, 33, 16421, 0xb5a4a3fd, F=0x0
> +1, 1972, 1972, 23, 470, 0xe422df11
> +1, 1995, 1995, 23, 459, 0x7c24e067
> +0, 2001, 2001, 33, 15874, 0x8a12e636, F=0x0
> +1, 2018, 2018, 23, 464, 0xb1a5ebf6
> +0, 2035, 2035, 33, 108249, 0x74b9d9a5
> +1, 2042, 2042, 23, 435, 0x7acbd073
> +1, 2065, 2065, 23, 475, 0x9498e6ff
> +0, 2068, 2068, 33, 32427, 0x1b4e36e9, F=0x0
> +1, 2088, 2088, 23, 473, 0xf42ddcb4
> +0, 2101, 2101, 33, 15263, 0xc96d6375, F=0x0
> +1, 2111, 2111, 23, 439, 0x898ad0ed
> +0, 2135, 2135, 33, 15124, 0x24bf4865, F=0x0
> +1, 2135, 2135, 23, 483, 0x94f5e826
> +1, 2158, 2158, 23, 474, 0x80b8f7ad
> +0, 2168, 2168, 33, 66156, 0x9536eb3a, F=0x0
> +1, 2181, 2181, 23, 495, 0xd027e373
> +0, 2201, 2201, 33, 33590, 0x12693d54, F=0x0
> +1, 2204, 2204, 23, 479, 0x4841ea3d
> +1, 2227, 2227, 23, 446, 0x0b64d3e2
> +0, 2235, 2235, 33, 15633, 0xa1f67306, F=0x0
> +1, 2251, 2251, 23, 464, 0xc939de26
> +0, 2268, 2268, 33, 16075, 0x1ee82b38, F=0x0
> +1, 2274, 2274, 23, 457, 0xc069e099
> +1, 2297, 2297, 23, 451, 0x2f22d7a1
> +0, 2301, 2301, 33, 63442, 0xb508621f, F=0x0
> +1, 2320, 2320, 23, 475, 0x4de7e675
> +0, 2335, 2335, 33, 35773, 0xa79485e3, F=0x0
> +1, 2344, 2344, 23, 464, 0x430de113
> +1, 2367, 2367, 23, 428, 0x6546c66d
> +0, 2368, 2368, 33, 16970, 0x6fcf7d2c, F=0x0
> +1, 2390, 2390, 23, 455, 0xb5e5db4f
> +0, 2401, 2401, 33, 17773, 0x3a10880d, F=0x0
> +1, 2413, 2413, 23, 493, 0xae57eafd
> +0, 2435, 2435, 33, 66942, 0x91535a55, F=0x0
> +1, 2436, 2436, 23, 448, 0xa170db5e
> +1, 2460, 2460, 23, 419, 0x0bfec67f
> +0, 2468, 2468, 33, 36289, 0xd1337338, F=0x0
> +1, 2483, 2483, 23, 406, 0x2e33d13b
> +0, 2501, 2501, 33, 16878, 0x0c83a101, F=0x0
> +1, 2506, 2506, 23, 395, 0x0ef7c208
> +1, 2529, 2529, 23, 397, 0x736fc48d
> +0, 2535, 2535, 33, 17452, 0x8c3cb218, F=0x0
> +1, 2553, 2553, 23, 463, 0x6397def2
> +0, 2568, 2568, 33, 64256, 0x2243ae19, F=0x0
> +1, 2576, 2576, 23, 414, 0x4c5fc473
> +1, 2599, 2599, 23, 426, 0x7028d53d
> +0, 2601, 2601, 33, 33995, 0x3634ef46, F=0x0
> +1, 2622, 2622, 23, 382, 0x7344b178
> +0, 2635, 2635, 33, 17505, 0xb70bdaef, F=0x0
> +1, 2645, 2645, 23, 400, 0x17ecb9e3
> +0, 2668, 2668, 33, 17420, 0x0a39d08d, F=0x0
> +1, 2669, 2669, 23, 384, 0x40cfba37
> +1, 2692, 2692, 23, 420, 0xb01cce29
> +0, 2701, 2701, 33, 64814, 0x52eba8da, F=0x0
> +1, 2715, 2715, 23, 443, 0x2b15dd89
> +0, 2735, 2735, 33, 35168, 0x3bae1145, F=0x0
> +1, 2738, 2738, 23, 456, 0xf875e323
> +1, 2762, 2762, 23, 448, 0x190fd804
> +0, 2768, 2768, 33, 18363, 0x5aac8d0b, F=0x0
> +1, 2785, 2785, 23, 408, 0x54f8c9ae
> +0, 2801, 2801, 33, 18577, 0x3ef410e2, F=0x0
> +1, 2808, 2808, 23, 404, 0x6812c0cc
> +1, 2831, 2831, 23, 457, 0x9618e228
> +0, 2835, 2835, 33, 65960, 0xd928efea, F=0x0
> +1, 2854, 2854, 23, 470, 0x3371e47e
> +0, 2868, 2868, 33, 35750, 0x1e6b3528, F=0x0
> +1, 2878, 2878, 23, 476, 0x3e0dea61
> +0, 2901, 2901, 33, 18109, 0x04a60f42, F=0x0
> +1, 2901, 2901, 23, 438, 0x7e1aca04
> +1, 2924, 2924, 23, 468, 0xe22de588
> +0, 2935, 2935, 33, 18965, 0xce88b8c2, F=0x0
> +1, 2947, 2947, 23, 448, 0xf820d2df
> +0, 2968, 2968, 33, 64413, 0x0e2a7b8d, F=0x0
> +1, 2970, 2970, 23, 446, 0x4346da55
> +1, 2994, 2994, 23, 413, 0x8091c5e5
> +0, 3001, 3001, 33, 36536, 0x1b69fcc7, F=0x0
> +1, 3017, 3017, 23, 447, 0x799cdff9
> +0, 3035, 3035, 33, 16823, 0xc226cdd8, F=0x0
> +1, 3040, 3040, 23, 485, 0x61f0e3ee
> +1, 3063, 3063, 23, 446, 0x09aad595
> +0, 3068, 3068, 33, 18254, 0xe28d2b32, F=0x0
> +1, 3087, 3087, 23, 503, 0x5ff6f1bd
> +0, 3101, 3101, 33, 108398, 0x04e8955a
> +1, 3110, 3110, 23, 481, 0x680bf2ff
> +1, 3133, 3133, 23, 481, 0x77e1e3eb
> +0, 3135, 3135, 33, 39214, 0xc82d25cc, F=0x0
> +1, 3156, 3156, 23, 500, 0xf446f43a
> +0, 3168, 3168, 33, 17093, 0x81e01006, F=0x0
> +1, 3179, 3179, 23, 503, 0x5a21f932
> +0, 3201, 3201, 33, 16220, 0xb8b86777, F=0x0
> +1, 3203, 3203, 23, 443, 0x503bd45b
> +1, 3226, 3226, 23, 443, 0xb652e056
> +0, 3235, 3235, 33, 60533, 0xc63d4419, F=0x0
> +1, 3249, 3249, 23, 441, 0xb0bbdc3e
> +0, 3268, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
> +1, 3272, 3272, 23, 410, 0xa2aeb940
> +1, 3296, 3296, 23, 430, 0x9b32d228
> +0, 3301, 3301, 33, 16528, 0x5e9dc6fd, F=0x0
> +1, 3319, 3319, 23, 406, 0xd3ccc550
> +1, 3342, 3342, 23, 397, 0xcf2bc6d6
> +1, 3365, 3365, 23, 411, 0xecf7bf70
> +1, 3388, 3388, 23, 403, 0x4a35c58a
> --
> 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".
ping
Thanks
Steven
_______________________________________________
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v7 1/3] tests/fate/flvenc: add hevc in enhanced flv test case
2023-08-04 9:59 ` [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc " Steven Liu
@ 2023-08-14 6:11 ` Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 3/3] tests/fate/flvenc: add av1 " Steven Liu
0 siblings, 2 replies; 46+ messages in thread
From: Steven Liu @ 2023-08-14 6:11 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 7 +-
tests/ref/fate/enhanced-flv-hevc | 258 +++++++++++++++++++++++++++++++
2 files changed, 264 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..406d04db1d 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 = transcode 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..90b81fcc0f
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -0,0 +1,258 @@
+25fb1fcdcfde498ab86a3387f1a7f833 *tests/data/fate/enhanced-flv-hevc.flv
+3602897 tests/data/fate/enhanced-flv-hevc.flv
+#extradata 0: 551, 0xa18acf66
+#extradata 1: 2, 0x00340022
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: hevc
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+#tb 1: 1/1000
+#media_type 1: audio
+#codec_id 1: aac
+#sample_rate 1: 44100
+#channel_layout_name 1: stereo
+0, -68, 0, 33, 63375, 0xc76606ab
+0, -35, 133, 33, 46706, 0x0e08a7e5, F=0x0
+0, -2, 67, 33, 29766, 0x753c031a, F=0x0
+1, 0, 0, 23, 6, 0x031e0108
+1, 23, 23, 23, 251, 0x6b4a7cbd
+0, 32, 33, 33, 19409, 0x4b948b6c, F=0x0
+1, 46, 46, 23, 389, 0x6673c205
+0, 65, 100, 33, 21086, 0x1b9412ce, F=0x0
+1, 70, 70, 23, 356, 0x8c71a316
+1, 93, 93, 23, 339, 0x3018a45a
+0, 98, 267, 33, 62043, 0xc2356b56, F=0x0
+1, 116, 116, 23, 405, 0xc89ebe05
+0, 132, 200, 33, 36175, 0x0a7df38c, F=0x0
+1, 139, 139, 23, 449, 0x42eadf96
+1, 163, 163, 23, 416, 0x28a7c9b9
+0, 165, 167, 33, 16028, 0xa57fcbe9, F=0x0
+1, 186, 186, 23, 426, 0x9a74d4ec
+0, 198, 233, 33, 15428, 0x9a91f357, F=0x0
+1, 209, 209, 23, 419, 0xbe3dc54b
+0, 232, 400, 33, 66072, 0xa542b6d7, F=0x0
+1, 232, 232, 23, 424, 0x5102d50e
+1, 255, 255, 23, 402, 0xb11cc14c
+0, 265, 333, 33, 34985, 0xbfd8ff45, F=0x0
+1, 279, 279, 23, 401, 0x3820b8f9
+0, 298, 300, 33, 16036, 0xfc39c6ea, F=0x0
+1, 302, 302, 23, 400, 0xe5c4c168
+1, 325, 325, 23, 435, 0x6dbecc33
+0, 332, 367, 33, 19893, 0x7e746f4e, F=0x0
+1, 348, 348, 23, 441, 0x0ad3d199
+0, 365, 533, 33, 77576, 0xeba2e5c8, F=0x0
+1, 372, 372, 23, 479, 0x44dce967
+1, 395, 395, 23, 439, 0x7d85e4c9
+0, 398, 467, 33, 35400, 0xbe179462, F=0x0
+1, 418, 418, 23, 461, 0xca18e36b
+0, 432, 433, 33, 15962, 0x7703dcd8, F=0x0
+1, 441, 441, 23, 498, 0xf73befd7
+1, 464, 464, 23, 469, 0x0119e958
+0, 465, 500, 33, 16136, 0x78a74880, F=0x0
+1, 488, 488, 23, 472, 0x4980e108
+0, 498, 667, 33, 74990, 0xb6fc1da7, F=0x0
+1, 511, 511, 23, 488, 0x42baeb77
+0, 532, 600, 33, 36594, 0xc3c61c3e, F=0x0
+1, 534, 534, 23, 458, 0x2198dde8
+1, 557, 557, 23, 430, 0x0858cc8f
+0, 565, 567, 33, 16524, 0xb297a886, F=0x0
+1, 580, 580, 23, 464, 0x9590e068
+0, 598, 633, 33, 17033, 0x31b3dd63, F=0x0
+1, 604, 604, 23, 415, 0xf926cf5f
+1, 627, 627, 23, 429, 0xf4a4d6c3
+0, 632, 800, 33, 66745, 0x5edee4b1, F=0x0
+1, 650, 650, 23, 420, 0xb64ac826
+0, 665, 733, 33, 37648, 0x540b100f, F=0x0
+1, 673, 673, 23, 442, 0xae2fd0ef
+1, 697, 697, 23, 426, 0xf1b7ccff
+0, 698, 700, 33, 16363, 0x569798e5, F=0x0
+1, 720, 720, 23, 435, 0xd3a1cb35
+0, 732, 767, 33, 17112, 0x9f04002b, F=0x0
+1, 743, 743, 23, 424, 0xc204c05d
+0, 765, 933, 33, 69462, 0x6ed4d0a2, F=0x0
+1, 766, 766, 23, 448, 0x3a3adc76
+1, 789, 789, 23, 451, 0x6a1bd675
+0, 798, 867, 33, 34772, 0x2baa0683, F=0x0
+1, 813, 813, 23, 440, 0x6219d30d
+0, 832, 833, 33, 14301, 0x8d69c797, F=0x0
+1, 836, 836, 23, 438, 0xb55dd535
+1, 859, 859, 23, 412, 0xd591ccfd
+0, 865, 900, 33, 16355, 0x1ebb9962, F=0x0
+1, 882, 882, 23, 419, 0x1069d097
+0, 898, 1067, 33, 107788, 0xcf28b065
+1, 906, 906, 23, 407, 0x1a3ec967
+1, 929, 929, 23, 400, 0x4ca1c7e9
+0, 932, 1000, 33, 35514, 0xa824dec0, F=0x0
+1, 952, 952, 23, 465, 0x8dbbdfa5
+0, 965, 967, 33, 15937, 0x8c06a068, F=0x0
+1, 975, 975, 23, 444, 0xed1cd498
+0, 998, 1033, 33, 15936, 0x1a01f3e9, F=0x0
+1, 998, 998, 23, 414, 0xada6c395
+1, 1022, 1022, 23, 419, 0x7d64d269
+0, 1032, 1202, 33, 79014, 0xef4c241e, F=0x0
+1, 1045, 1045, 23, 415, 0xf2e5c75d
+0, 1065, 1133, 33, 37293, 0xb32c9665, F=0x0
+1, 1068, 1068, 23, 431, 0xeae2d257
+1, 1091, 1091, 23, 437, 0x10c1cfa6
+0, 1100, 1100, 33, 12826, 0xddc8ba8d, F=0x0
+1, 1115, 1115, 23, 428, 0x9b18ce7e
+0, 1133, 1168, 33, 13376, 0x76fbc02f, F=0x0
+1, 1138, 1138, 23, 426, 0xec1bce70
+1, 1161, 1161, 23, 433, 0xad18d26f
+0, 1167, 1335, 33, 68959, 0x5fdeaeac, F=0x0
+1, 1184, 1184, 23, 419, 0x99beccaf
+0, 1200, 1268, 33, 35503, 0x15dbf810, F=0x0
+1, 1207, 1207, 23, 422, 0x38add249
+1, 1231, 1231, 23, 335, 0x243499db
+0, 1233, 1235, 33, 12298, 0xbc12d96e, F=0x0
+1, 1254, 1254, 23, 427, 0x614fccd2
+0, 1267, 1302, 33, 16357, 0x3bb3e5c9, F=0x0
+1, 1277, 1277, 23, 434, 0xd97acebe
+0, 1300, 1468, 33, 69872, 0x643e0e8a, F=0x0
+1, 1300, 1300, 23, 427, 0x0a24cf66
+1, 1324, 1324, 23, 406, 0x868bc306
+0, 1333, 1402, 33, 35059, 0xab5881c4, F=0x0
+1, 1347, 1347, 23, 410, 0x32c4cd52
+0, 1367, 1368, 33, 17718, 0xe78b5150, F=0x0
+1, 1370, 1370, 23, 416, 0xbd3dcaa5
+1, 1393, 1393, 23, 420, 0x42c5ccf6
+0, 1400, 1435, 33, 17264, 0xd5297233, F=0x0
+1, 1416, 1416, 23, 437, 0xe302cd64
+0, 1433, 1602, 33, 68258, 0xea19d5bb, F=0x0
+1, 1440, 1440, 23, 444, 0xdc1ad47f
+1, 1463, 1463, 23, 472, 0xc314e301
+0, 1467, 1535, 33, 34019, 0x1c25277c, F=0x0
+1, 1486, 1486, 23, 466, 0xdb51e992
+0, 1500, 1502, 33, 16085, 0xfc5f1909, F=0x0
+1, 1509, 1509, 23, 425, 0x35b6c4be
+0, 1533, 1568, 33, 17133, 0xccd80c32, F=0x0
+1, 1533, 1533, 23, 429, 0xd479cc89
+1, 1556, 1556, 23, 424, 0x0994cbfa
+0, 1567, 1735, 33, 65478, 0x92adbcf5, F=0x0
+1, 1579, 1579, 23, 424, 0x1145cad4
+0, 1600, 1668, 33, 35702, 0x85da366e, F=0x0
+1, 1602, 1602, 23, 417, 0x0cb5c9d6
+1, 1625, 1625, 23, 425, 0xd316c722
+0, 1633, 1635, 33, 17729, 0x7c6037dd, F=0x0
+1, 1649, 1649, 23, 412, 0x97d8c424
+0, 1667, 1702, 33, 16400, 0x07509624, F=0x0
+1, 1672, 1672, 23, 422, 0x444ad135
+1, 1695, 1695, 23, 436, 0x0575c48b
+0, 1700, 1868, 33, 65450, 0xc93a8591, F=0x0
+1, 1718, 1718, 23, 418, 0xdd73c42f
+0, 1733, 1802, 33, 30572, 0xe4892d21, F=0x0
+1, 1741, 1741, 23, 412, 0x64d0c0cd
+1, 1765, 1765, 23, 417, 0xf7e3cc8d
+0, 1767, 1768, 33, 16836, 0x34466a29, F=0x0
+1, 1788, 1788, 23, 414, 0xef17ca47
+0, 1800, 1835, 33, 16615, 0x06f42746, F=0x0
+1, 1811, 1811, 23, 420, 0x86f5d28f
+0, 1833, 2002, 33, 61621, 0x455e8141, F=0x0
+1, 1834, 1834, 23, 415, 0x73dec27c
+1, 1858, 1858, 23, 451, 0x62abdbfb
+0, 1867, 1935, 33, 35393, 0x91e3f353, F=0x0
+1, 1881, 1881, 23, 511, 0xbb42f40b
+0, 1900, 1902, 33, 16421, 0xb5a4a3fd, F=0x0
+1, 1904, 1904, 23, 470, 0xe422df11
+1, 1927, 1927, 23, 459, 0x7c24e067
+0, 1933, 1968, 33, 15874, 0x8a12e636, F=0x0
+1, 1950, 1950, 23, 464, 0xb1a5ebf6
+0, 1967, 2135, 33, 108249, 0x74b9d9a5
+1, 1974, 1974, 23, 435, 0x7acbd073
+1, 1997, 1997, 23, 475, 0x9498e6ff
+0, 2000, 2068, 33, 32427, 0x1b4e36e9, F=0x0
+1, 2020, 2020, 23, 473, 0xf42ddcb4
+0, 2033, 2035, 33, 15263, 0xc96d6375, F=0x0
+1, 2043, 2043, 23, 439, 0x898ad0ed
+0, 2067, 2102, 33, 15124, 0x24bf4865, F=0x0
+1, 2067, 2067, 23, 483, 0x94f5e826
+1, 2090, 2090, 23, 474, 0x80b8f7ad
+0, 2100, 2268, 33, 66156, 0x9536eb3a, F=0x0
+1, 2113, 2113, 23, 495, 0xd027e373
+0, 2133, 2202, 33, 33590, 0x12693d54, F=0x0
+1, 2136, 2136, 23, 479, 0x4841ea3d
+1, 2159, 2159, 23, 446, 0x0b64d3e2
+0, 2167, 2168, 33, 15633, 0xa1f67306, F=0x0
+1, 2183, 2183, 23, 464, 0xc939de26
+0, 2200, 2235, 33, 16075, 0x1ee82b38, F=0x0
+1, 2206, 2206, 23, 457, 0xc069e099
+1, 2229, 2229, 23, 451, 0x2f22d7a1
+0, 2233, 2402, 33, 63442, 0xb508621f, F=0x0
+1, 2252, 2252, 23, 475, 0x4de7e675
+0, 2267, 2335, 33, 35773, 0xa79485e3, F=0x0
+1, 2276, 2276, 23, 464, 0x430de113
+1, 2299, 2299, 23, 428, 0x6546c66d
+0, 2300, 2302, 33, 16970, 0x6fcf7d2c, F=0x0
+1, 2322, 2322, 23, 455, 0xb5e5db4f
+0, 2333, 2368, 33, 17773, 0x3a10880d, F=0x0
+1, 2345, 2345, 23, 493, 0xae57eafd
+0, 2367, 2535, 33, 66942, 0x91535a55, F=0x0
+1, 2368, 2368, 23, 448, 0xa170db5e
+1, 2392, 2392, 23, 419, 0x0bfec67f
+0, 2400, 2468, 33, 36289, 0xd1337338, F=0x0
+1, 2415, 2415, 23, 406, 0x2e33d13b
+0, 2433, 2435, 33, 16878, 0x0c83a101, F=0x0
+1, 2438, 2438, 23, 395, 0x0ef7c208
+1, 2461, 2461, 23, 397, 0x736fc48d
+0, 2467, 2502, 33, 17452, 0x8c3cb218, F=0x0
+1, 2485, 2485, 23, 463, 0x6397def2
+0, 2500, 2668, 33, 64256, 0x2243ae19, F=0x0
+1, 2508, 2508, 23, 414, 0x4c5fc473
+1, 2531, 2531, 23, 426, 0x7028d53d
+0, 2533, 2602, 33, 33995, 0x3634ef46, F=0x0
+1, 2554, 2554, 23, 382, 0x7344b178
+0, 2567, 2568, 33, 17505, 0xb70bdaef, F=0x0
+1, 2577, 2577, 23, 400, 0x17ecb9e3
+0, 2600, 2635, 33, 17420, 0x0a39d08d, F=0x0
+1, 2601, 2601, 23, 384, 0x40cfba37
+1, 2624, 2624, 23, 420, 0xb01cce29
+0, 2633, 2802, 33, 64814, 0x52eba8da, F=0x0
+1, 2647, 2647, 23, 443, 0x2b15dd89
+0, 2667, 2735, 33, 35168, 0x3bae1145, F=0x0
+1, 2670, 2670, 23, 456, 0xf875e323
+1, 2694, 2694, 23, 448, 0x190fd804
+0, 2700, 2702, 33, 18363, 0x5aac8d0b, F=0x0
+1, 2717, 2717, 23, 408, 0x54f8c9ae
+0, 2733, 2768, 33, 18577, 0x3ef410e2, F=0x0
+1, 2740, 2740, 23, 404, 0x6812c0cc
+1, 2763, 2763, 23, 457, 0x9618e228
+0, 2767, 2935, 33, 65960, 0xd928efea, F=0x0
+1, 2786, 2786, 23, 470, 0x3371e47e
+0, 2800, 2868, 33, 35750, 0x1e6b3528, F=0x0
+1, 2810, 2810, 23, 476, 0x3e0dea61
+0, 2833, 2835, 33, 18109, 0x04a60f42, F=0x0
+1, 2833, 2833, 23, 438, 0x7e1aca04
+1, 2856, 2856, 23, 468, 0xe22de588
+0, 2867, 2902, 33, 18965, 0xce88b8c2, F=0x0
+1, 2879, 2879, 23, 448, 0xf820d2df
+0, 2900, 3068, 33, 64413, 0x0e2a7b8d, F=0x0
+1, 2902, 2902, 23, 446, 0x4346da55
+1, 2926, 2926, 23, 413, 0x8091c5e5
+0, 2933, 3002, 33, 36536, 0x1b69fcc7, F=0x0
+1, 2949, 2949, 23, 447, 0x799cdff9
+0, 2967, 2968, 33, 16823, 0xc226cdd8, F=0x0
+1, 2972, 2972, 23, 485, 0x61f0e3ee
+1, 2995, 2995, 23, 446, 0x09aad595
+0, 3000, 3035, 33, 18254, 0xe28d2b32, F=0x0
+1, 3019, 3019, 23, 503, 0x5ff6f1bd
+0, 3033, 3202, 33, 108398, 0x04e8955a
+1, 3042, 3042, 23, 481, 0x680bf2ff
+1, 3065, 3065, 23, 481, 0x77e1e3eb
+0, 3067, 3135, 33, 39214, 0xc82d25cc, F=0x0
+1, 3088, 3088, 23, 500, 0xf446f43a
+0, 3100, 3102, 33, 17093, 0x81e01006, F=0x0
+1, 3111, 3111, 23, 503, 0x5a21f932
+0, 3133, 3168, 33, 16220, 0xb8b86777, F=0x0
+1, 3135, 3135, 23, 443, 0x503bd45b
+1, 3158, 3158, 23, 443, 0xb652e056
+0, 3167, 3302, 33, 60533, 0xc63d4419, F=0x0
+1, 3181, 3181, 23, 441, 0xb0bbdc3e
+0, 3200, 3268, 33, 27638, 0xcd9cb6d0, F=0x0
+1, 3204, 3204, 23, 410, 0xa2aeb940
+1, 3228, 3228, 23, 430, 0x9b32d228
+0, 3233, 3235, 33, 16528, 0x5e9dc6fd, F=0x0
+1, 3251, 3251, 23, 406, 0xd3ccc550
+1, 3274, 3274, 23, 397, 0xcf2bc6d6
+1, 3297, 3297, 23, 411, 0xecf7bf70
+1, 3320, 3320, 23, 403, 0x4a35c58a
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v7 2/3] tests/fate/flvenc: add vp9 in enhanced flv test case
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 " Steven Liu
@ 2023-08-14 6:11 ` Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 3/3] tests/fate/flvenc: add av1 " Steven Liu
1 sibling, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-08-14 6:11 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++++
tests/ref/fate/enhanced-flv-vp9 | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-vp9
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 406d04db1d..dae6e0963e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV MOV, FLV_DEMUXER HEVC_PARSER) += f
fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
flv "-c copy" "-c copy"
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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)
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..149d9a6269
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,18 @@
+8e7403c6fb638202ac2b8b7d8c5df3f6 *tests/data/fate/enhanced-flv-vp9.flv
+9384 tests/data/fate/enhanced-flv-vp9.flv
+#extradata 0: 8, 0x03b0009c
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 0/1
+0, 0, 0, 33, 3964, 0x8ff9b15f
+0, 33, 33, 33, 373, 0x985fb479, F=0x0
+0, 67, 67, 33, 375, 0x2813bc1b, F=0x0
+0, 100, 100, 33, 261, 0x69557ae9, F=0x0
+0, 133, 133, 33, 527, 0xb4a7fe75, F=0x0
+0, 167, 167, 33, 608, 0x80a8212a, F=0x0
+0, 200, 200, 33, 1551, 0x28f2f1f9, F=0x0
+0, 233, 233, 33, 520, 0xbec201ee, F=0x0
+0, 267, 267, 33, 426, 0xf9e0d260, F=0x0
+0, 300, 300, 33, 384, 0xcbd8b904, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
* [FFmpeg-devel] [PATCH v7 3/3] tests/fate/flvenc: add av1 in enhanced flv test case
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 " Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 2/3] tests/fate/flvenc: add vp9 " Steven Liu
@ 2023-08-14 6:11 ` Steven Liu
1 sibling, 0 replies; 46+ messages in thread
From: Steven Liu @ 2023-08-14 6:11 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Steven Liu
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
tests/fate/flvenc.mak | 4 ++
tests/ref/fate/enhanced-flv-av1 | 70 +++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 tests/ref/fate/enhanced-flv-av1
diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index dae6e0963e..8dc2f7adfd 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fa
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 REMUX, FLV IVF, FLV_DEMUXER AV1_PARSER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = stream_remux ivf $(TARGET_SAMPLES)/av1/seq_hdr_op_param_info.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)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..b2a624e41e
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,70 @@
+#extradata 0: 36, 0x70580971
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 320x176
+#sar 0: 1/1
+0, 0, 0, 41, 4718, 0xc4d912ec
+0, 42, 42, 41, 5109, 0xc065dd7d, F=0x0
+0, 83, 83, 41, 192, 0x160c5335, F=0x0
+0, 125, 125, 41, 196, 0x5e82506a, F=0x0
+0, 167, 167, 41, 267, 0x6c737c10, F=0x0
+0, 209, 209, 41, 189, 0x87af4ec0, F=0x0
+0, 250, 250, 41, 226, 0xb62b6409, F=0x0
+0, 292, 292, 41, 228, 0x986a61d9, F=0x0
+0, 334, 334, 41, 175, 0x32d8485c, F=0x0
+0, 375, 375, 41, 154, 0x31463f47, F=0x0
+0, 417, 417, 41, 63, 0xc62e1171, F=0x0
+0, 459, 459, 41, 5002, 0x4dd4904a, F=0x0
+0, 501, 501, 41, 291, 0xda527f77, F=0x0
+0, 542, 542, 41, 354, 0xf629a59e, F=0x0
+0, 584, 584, 41, 379, 0xeeb2ac32, F=0x0
+0, 626, 626, 41, 356, 0x5907a8df, F=0x0
+0, 667, 667, 41, 399, 0x91b3b07e, F=0x0
+0, 709, 709, 41, 331, 0xbe3c9e2c, F=0x0
+0, 751, 751, 41, 298, 0xc5e67db5, F=0x0
+0, 792, 792, 41, 229, 0x297e636a, F=0x0
+0, 834, 834, 41, 63, 0xb6880f3d, F=0x0
+0, 876, 876, 41, 5457, 0xb8918205, F=0x0
+0, 918, 918, 41, 618, 0xdb332843, F=0x0
+0, 959, 959, 41, 679, 0x5b5b469c, F=0x0
+0, 1001, 1001, 41, 701, 0x400452ba, F=0x0
+0, 1043, 1043, 41, 756, 0xf89675d5, F=0x0
+0, 1084, 1084, 41, 594, 0xbd361b4a, F=0x0
+0, 1126, 1126, 41, 647, 0x222a3f63, F=0x0
+0, 1168, 1168, 41, 606, 0xc92724cd, F=0x0
+0, 1210, 1210, 41, 426, 0xb7e0c9ba, F=0x0
+0, 1251, 1251, 41, 59, 0x8d570f88, F=0x0
+0, 1293, 1293, 41, 4383, 0x8fdc95b7, F=0x0
+0, 1335, 1335, 41, 7223, 0x5229e7a0
+0, 1376, 1376, 41, 7817, 0x017601d3, F=0x0
+0, 1418, 1418, 41, 1255, 0x50216daf, F=0x0
+0, 1460, 1460, 41, 740, 0xb7485d42, F=0x0
+0, 1502, 1502, 41, 767, 0x01dc72b4, F=0x0
+0, 1543, 1543, 41, 570, 0x95830ec3, F=0x0
+0, 1585, 1585, 41, 694, 0xbe17386d, F=0x0
+0, 1627, 1627, 41, 644, 0xc2df2bc2, F=0x0
+0, 1668, 1668, 41, 652, 0xac32324a, F=0x0
+0, 1710, 1710, 41, 413, 0x35f4c58d, F=0x0
+0, 1752, 1752, 41, 63, 0xd61910ad, F=0x0
+0, 1793, 1793, 41, 8156, 0x3fb5b502, F=0x0
+0, 1835, 1835, 41, 1071, 0x4eab0795, F=0x0
+0, 1877, 1877, 41, 839, 0x24f2960c, F=0x0
+0, 1919, 1919, 41, 806, 0xc1eb85e1, F=0x0
+0, 1960, 1960, 41, 591, 0xdaba1bdc, F=0x0
+0, 2002, 2002, 41, 814, 0x52427e40, F=0x0
+0, 2044, 2044, 41, 654, 0x454739a1, F=0x0
+0, 2085, 2085, 41, 600, 0xb5630b54, F=0x0
+0, 2127, 2127, 41, 395, 0xb1aab2cf, F=0x0
+0, 2169, 2169, 41, 59, 0xa6fa1094, F=0x0
+0, 2211, 2211, 41, 9135, 0x6573c423, F=0x0
+0, 2252, 2252, 41, 1198, 0xe9aa40dd, F=0x0
+0, 2294, 2294, 41, 818, 0xd83e9e2a, F=0x0
+0, 2336, 2336, 41, 747, 0xced06fee, F=0x0
+0, 2377, 2377, 41, 661, 0x799b4a75, F=0x0
+0, 2419, 2419, 41, 722, 0x594f549d, F=0x0
+0, 2461, 2461, 41, 722, 0x65b05690, F=0x0
+0, 2503, 2503, 41, 515, 0xe655ef15, F=0x0
+0, 2544, 2544, 41, 443, 0xed42d926, F=0x0
+0, 2586, 2586, 41, 60, 0xb75510a8, F=0x0
+0, 2628, 2628, 41, 670, 0xed514c9d, F=0x0
--
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".
^ permalink raw reply [flat|nested] 46+ messages in thread
end of thread, other threads:[~2023-08-14 6:12 UTC | newest]
Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-18 7:32 [FFmpeg-devel] [PATCH v1 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-18 9:50 ` Anton Khirnov
2023-07-18 9:54 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-18 15:46 ` Michael Niedermayer
2023-07-19 9:10 ` Steven Liu
2023-07-18 11:21 ` [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-18 11:21 ` Steven Liu
2023-07-18 11:36 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-19 10:33 ` Andreas Rheinhardt
2023-07-20 2:07 ` Steven Liu
2023-07-20 8:42 ` Andreas Rheinhardt
2023-07-20 8:45 ` Steven Liu
2023-07-20 10:06 ` Andreas Rheinhardt
2023-07-20 10:59 ` [FFmpeg-devel] [PATCH v4 0/3] Add test cases of hevc, vp9, av1 in enhanced flv Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 1/3] tests/fate/flvenc: add hevc in enhanced flv test case Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-20 11:00 ` [FFmpeg-devel] [PATCH v4 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-20 21:51 ` Michael Niedermayer
2023-07-21 7:54 ` Steven Liu
2023-07-21 8:14 ` Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-24 2:14 ` [FFmpeg-devel] [PATCH v5 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-24 7:37 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Andreas Rheinhardt
2023-07-24 7:38 ` Steven Liu
2023-07-24 7:54 ` Andreas Rheinhardt
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 " Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-24 9:20 ` [FFmpeg-devel] [PATCH v6 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-08-04 9:59 ` [FFmpeg-devel] [PATCH v6 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 " Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-08-14 6:11 ` [FFmpeg-devel] [PATCH v7 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-24 9:22 ` [FFmpeg-devel] [PATCH v5 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-19 9:03 ` [FFmpeg-devel] [PATCH v3 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-19 9:11 ` [FFmpeg-devel] [PATCH v1 1/3] tests/fate/flvenc: add hevc " Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 2/3] tests/fate/flvenc: add vp9 " Steven Liu
2023-07-18 7:32 ` [FFmpeg-devel] [PATCH v1 3/3] tests/fate/flvenc: add av1 " Steven Liu
2023-07-18 7:58 ` Steven Liu
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git