[FFmpeg-devel] [PATCH 01/18] tests/fate/mov: add a test for dv audio demuxed through dv demuxer

Anton Khirnov anton at khirnov.net
Wed Aug 24 11:43:01 EEST 2022


---
 tests/fate/mov.mak         |  3 +++
 tests/ref/fate/mov-dvaudio | 31 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 tests/ref/fate/mov-dvaudio

diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index 8a7218a215..9e8bb729a6 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -17,6 +17,7 @@ FATE_MOV = fate-mov-3elist \
            fate-mov-bbi-elst-starts-b \
            fate-mov-neg-firstpts-discard-frames \
            fate-mov-stream-shorter-than-movie \
+           fate-mov-dvaudio \
 # FIXME: Uncomment these two lines once the test files are uploaded to the fate
 # server.
 #           fate-mov-avif-demux-still-image-1-item \
@@ -104,6 +105,8 @@ fate-mov-neg-firstpts-discard-frames: CMD = framemd5 -flags +bitexact -i $(TARGE
 # Makes sure that no frame is dropped/duplicated with fps filter due to start_time / duration miscalculations.
 fate-mov-stream-shorter-than-movie: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_stream_shorter_than_movie.mov -vf fps=fps=24 -an
 
+fate-mov-dvaudio: CMD = framecrc -i $(TARGET_SAMPLES)/mov/qt_dv_pal_test_cut.mov -c copy -map 0:a
+
 fate-mov-aac-2048-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact $(TARGET_SAMPLES)/mov/aac-2048-priming.mov
 
 fate-mov-zombie: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_streams -show_packets -show_frames -bitexact -print_format compact $(TARGET_SAMPLES)/mov/white_zombie_scrunch-part.mov
diff --git a/tests/ref/fate/mov-dvaudio b/tests/ref/fate/mov-dvaudio
new file mode 100644
index 0000000000..13e551c722
--- /dev/null
+++ b/tests/ref/fate/mov-dvaudio
@@ -0,0 +1,31 @@
+#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 48000
+#channel_layout_name 0: stereo
+0,       -720,       -720,     1920,     7680, 0xdb43ddfd, S=1,       10
+0,       1200,       1200,     1920,     7680, 0xcd872ca8
+0,       3120,       3120,     1920,     7680, 0xa1800c21
+0,       5040,       5040,     1920,     7680, 0x87fee57a
+0,       6960,       6960,     1920,     7680, 0x2e926842
+0,       8880,       8880,     1920,     7680, 0xaf141f81
+0,      10800,      10800,     1920,     7680, 0xf0bc6ad8
+0,      12720,      12720,     1920,     7680, 0x18139585
+0,      14640,      14640,     1920,     7680, 0xadf3e99e
+0,      16560,      16560,     1920,     7680, 0xb18e02e3
+0,      18480,      18480,     1920,     7680, 0x4d8e9e72
+0,      20400,      20400,     1920,     7680, 0x27f3fd22
+0,      22320,      22320,     1920,     7680, 0xf896b2c0
+0,      24240,      24240,     1920,     7680, 0xf707d734
+0,      26160,      26160,     1920,     7680, 0xc3d4bf6a
+0,      28080,      28080,     1920,     7680, 0xaf4f92f0
+0,      30000,      30000,     1920,     7680, 0xf72ea49d
+0,      31920,      31920,     1920,     7680, 0xbd975338
+0,      33840,      33840,     1920,     7680, 0x50ab26db
+0,      35760,      35760,     1920,     7680, 0x2a70b14f
+0,      37680,      37680,     1920,     7680, 0x32e3ce37
+0,      39600,      39600,     1920,     7680, 0x7f5b54ec
+0,      41520,      41520,     1920,     7680, 0x2cd5478f
+0,      43440,      43440,     1920,     7680, 0x7dda4151
+0,      45360,      45360,     1920,     7680, 0x09b4886d
+0,      47280,      47280,     1920,     7680, 0x4824062e
-- 
2.35.1



More information about the ffmpeg-devel mailing list