diff mbox

[FFmpeg-devel,3/4] tests/fate/ffmpeg: add test for mpegts->mxf steram copy (Ticket 4914)

Message ID 20160905175839.19118-3-michael@niedermayer.cc
State Accepted
Headers show

Commit Message

Michael Niedermayer Sept. 5, 2016, 5:58 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 tests/fate/ffmpeg.mak    | 5 +++++
 tests/ref/fate/copy-4914 | 2 ++
 2 files changed, 7 insertions(+)
 create mode 100644 tests/ref/fate/copy-4914
diff mbox

Patch

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index e896d05..22e0e62 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -56,6 +56,11 @@  fate-copy-236: $(TARGET_SAMPLES)/mov/fcp_export8-236.mov
 fate-copy-236: CMD = transcode mov $(TARGET_SAMPLES)/mov/fcp_export8-236.mov\
                      mov "-codec copy -map 0"
 
+FATE_SAMPLES_FFMPEG-$(call ALLYES, MPEGTS_DEMUXER MXF_MUXER PCM_S16LE_ENCODER) += fate-copy-4914
+fate-copy-4914: $(TARGET_SAMPLES)/mpeg2/xdcam8mp2-1s_small.ts
+fate-copy-4914: CMD = transcode mpegts $(TARGET_SAMPLES)/mpeg2/xdcam8mp2-1s_small.ts\
+                      mxf "-c:a pcm_s16le -c:v copy"
+
 FATE_SAMPLES_FFMPEG-$(call DEMMUX, OGG, OGG) += fate-limited_input_seek fate-limited_input_seek-copyts
 fate-limited_input_seek: $(TARGET_SAMPLES)/vorbis/moog_small.ogg
 fate-limited_input_seek: CMD = md5 -ss 1.5 -t 1.3 -i $(TARGET_SAMPLES)/vorbis/moog_small.ogg -c:a copy -fflags +bitexact -f ogg
diff --git a/tests/ref/fate/copy-4914 b/tests/ref/fate/copy-4914
new file mode 100644
index 0000000..50f7d32
--- /dev/null
+++ b/tests/ref/fate/copy-4914
@@ -0,0 +1,2 @@ 
+84316a64b609052d9974891686fbf607 *tests/data/fate/copy-4914.mxf
+566329 tests/data/fate/copy-4914.mxf