[FFmpeg-devel] [PATCH v4 3/3] fate/flvenc: support enhanced flv PacketTypeMetadata

411294962 at qq.com 411294962 at qq.com
Sat Mar 2 10:51:45 EET 2024


From: Zhu Pengfei <411294962 at qq.com>

Signed-off-by: Zhu Pengfei <411294962 at qq.com>
---
 tests/fate/lavf-container.mak    | 2 ++
 tests/ref/fate/enhanced-flv-hevc | 4 ++--
 tests/ref/fate/enhanced-flv-vp9  | 4 ++--
 tests/ref/lavf-fate/hevc.flv     | 3 +++
 4 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 tests/ref/lavf-fate/hevc.flv

diff --git a/tests/fate/lavf-container.mak b/tests/fate/lavf-container.mak
index fa7ecd2cb5..efef00d5b3 100644
--- a/tests/fate/lavf-container.mak
+++ b/tests/fate/lavf-container.mak
@@ -80,6 +80,7 @@ FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MOV_DEMUXER        LATM_MUXER)         +
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MP3_DEMUXER        MP3_MUXER)          += mp3
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MOV_DEMUXER        MOV_MUXER)          += qtrle_mace6.mov
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, AVI_DEMUXER        AVI_MUXER)          += cram.avi
+FATE_LAVF_CONTAINER_FATE-$(call ALLYES, AVI_DEMUXER        FLV_MUXER)          += hevc.flv
 
 FATE_LAVF_CONTAINER_FATE = $(FATE_LAVF_CONTAINER_FATE-yes:%=fate-lavf-fate-%)
 
@@ -96,6 +97,7 @@ fate-lavf-fate-latm: CMD = lavf_container_fate "aac/al04_44.mp4" "" "-acodec cop
 fate-lavf-fate-mp3: CMD = lavf_container_fate "mp3-conformance/he_32khz.bit" "" "-acodec copy"
 fate-lavf-fate-qtrle_mace6.mov: CMD = lavf_container_fate "qtrle/Animation-16Greys.mov" "-idct auto"
 fate-lavf-fate-cram.avi: CMD = lavf_container_fate "cram/toon.avi" "-idct auto"
+fate-lavf-fate-hevc.flv: CMD = lavf_container_fate "mkv/hdr10tags-both.mkv" "" "-c:v copy"
 
 FATE_SAMPLES_FFMPEG += $(FATE_LAVF_CONTAINER_FATE)
 fate-lavf-fate fate-lavf: $(FATE_LAVF_CONTAINER_FATE)
diff --git a/tests/ref/fate/enhanced-flv-hevc b/tests/ref/fate/enhanced-flv-hevc
index 90b81fcc0f..f011d38a30 100644
--- a/tests/ref/fate/enhanced-flv-hevc
+++ b/tests/ref/fate/enhanced-flv-hevc
@@ -1,5 +1,5 @@
-25fb1fcdcfde498ab86a3387f1a7f833 *tests/data/fate/enhanced-flv-hevc.flv
-3602897 tests/data/fate/enhanced-flv-hevc.flv
+0da54607064548fa1aae5695751f189c *tests/data/fate/enhanced-flv-hevc.flv
+3603038 tests/data/fate/enhanced-flv-hevc.flv
 #extradata 0:      551, 0xa18acf66
 #extradata 1:        2, 0x00340022
 #tb 0: 1/1000
diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9
index c9bcaa8029..1c70b52e6a 100644
--- a/tests/ref/fate/enhanced-flv-vp9
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -1,5 +1,5 @@
-f5cd49123111202ff220850e60f17ac4 *tests/data/fate/enhanced-flv-vp9.flv
-9388 tests/data/fate/enhanced-flv-vp9.flv
+7dae331e8e7a73e2e2288a31fe51104c *tests/data/fate/enhanced-flv-vp9.flv
+9441 tests/data/fate/enhanced-flv-vp9.flv
 #extradata 0:       12, 0x03bc009d
 #tb 0: 1/1000
 #media_type 0: video
diff --git a/tests/ref/lavf-fate/hevc.flv b/tests/ref/lavf-fate/hevc.flv
new file mode 100644
index 0000000000..5f47c352fd
--- /dev/null
+++ b/tests/ref/lavf-fate/hevc.flv
@@ -0,0 +1,3 @@
+eca3b99e846e509c6957260b1ce4d82d *tests/data/lavf-fate/lavf.hevc.flv
+11784 tests/data/lavf-fate/lavf.hevc.flv
+tests/data/lavf-fate/lavf.hevc.flv CRC=0xd29da885
-- 
2.44.0



More information about the ffmpeg-devel mailing list