mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate: add a test for writing channel descriptions in mov
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
7ccc910803
commit
0e03807f69
@ -153,4 +153,13 @@ fate-mov-mp4-disposition-mpegts-remux: CMD = transcode mpegts $(TARGET_SAMPLES)/
|
||||
|
||||
FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_MOV_FFMPEG_FFPROBE-yes)
|
||||
|
||||
fate-mov: $(FATE_MOV) $(FATE_MOV_FFPROBE) $(FATE_MOV_FASTSTART) $(FATE_MOV_FFMPEG_FFPROBE-yes)
|
||||
FATE_MOV_FFMPEG-$(call ALLYES, FILE_PROTOCOL PIPE_PROTOCOL \
|
||||
WAV_DEMUXER PAN_FILTER PCM_S16LE_ENCODER \
|
||||
MOV_MUXER FRAMECRC_MUXER ) \
|
||||
+= fate-mov-channel-description
|
||||
fate-mov-channel-description: tests/data/asynth-44100-1.wav
|
||||
fate-mov-channel-description: CMD = transcode wav $(TARGET_PATH)/tests/data/asynth-44100-1.wav mov "-filter_complex [0:a:0]pan=FL|c0=c0[outFL] -map [outFL] -filter_complex [0:a:0]pan=FR|c0=c1[outFR] -map [outFR] -filter_complex [0:a:0]pan=FC|c0=c2[outFC] -map [outFC] -filter_complex [0:a:0]pan=LFE|c0=c3[outLFE] -map [outLFE] -filter_complex [0:a:0]pan=BL|c0=c4[outBL] -map [outBL] -filter_complex [0:a:0]pan=BR|c0=c5[outBR] -map [outBR] -filter_complex [0:a:0]pan=DL|c0=c6[outDL] -map [outDL] -filter_complex [0:a:0]pan=DR|c0=c7[outDR] -map [outDR] -c:a pcm_s16le" "-map 0 -c copy -frames:a 0"
|
||||
|
||||
FATE_FFMPEG += $(FATE_MOV_FFMPEG-yes)
|
||||
|
||||
fate-mov: $(FATE_MOV) $(FATE_MOV_FFMPEG-yes) $(FATE_MOV_FFPROBE) $(FATE_MOV_FASTSTART) $(FATE_MOV_FFMPEG_FFPROBE-yes)
|
||||
|
42
tests/ref/fate/mov-channel-description
Normal file
42
tests/ref/fate/mov-channel-description
Normal file
@ -0,0 +1,42 @@
|
||||
497848e1bc5c9dcd416124b6f739d733 *tests/data/fate/mov-channel-description.mov
|
||||
4242044 tests/data/fate/mov-channel-description.mov
|
||||
#tb 0: 1/44100
|
||||
#media_type 0: audio
|
||||
#codec_id 0: pcm_s16le
|
||||
#sample_rate 0: 44100
|
||||
#channel_layout_name 0: 1 channels (FL)
|
||||
#tb 1: 1/44100
|
||||
#media_type 1: audio
|
||||
#codec_id 1: pcm_s16le
|
||||
#sample_rate 1: 44100
|
||||
#channel_layout_name 1: 1 channels (FR)
|
||||
#tb 2: 1/44100
|
||||
#media_type 2: audio
|
||||
#codec_id 2: pcm_s16le
|
||||
#sample_rate 2: 44100
|
||||
#channel_layout_name 2: mono
|
||||
#tb 3: 1/44100
|
||||
#media_type 3: audio
|
||||
#codec_id 3: pcm_s16le
|
||||
#sample_rate 3: 44100
|
||||
#channel_layout_name 3: 1 channels (LFE)
|
||||
#tb 4: 1/44100
|
||||
#media_type 4: audio
|
||||
#codec_id 4: pcm_s16le
|
||||
#sample_rate 4: 44100
|
||||
#channel_layout_name 4: 1 channels (BL)
|
||||
#tb 5: 1/44100
|
||||
#media_type 5: audio
|
||||
#codec_id 5: pcm_s16le
|
||||
#sample_rate 5: 44100
|
||||
#channel_layout_name 5: 1 channels (BR)
|
||||
#tb 6: 1/44100
|
||||
#media_type 6: audio
|
||||
#codec_id 6: pcm_s16le
|
||||
#sample_rate 6: 44100
|
||||
#channel_layout_name 6: 1 channels (DL)
|
||||
#tb 7: 1/44100
|
||||
#media_type 7: audio
|
||||
#codec_id 7: pcm_s16le
|
||||
#sample_rate 7: 44100
|
||||
#channel_layout_name 7: 1 channels (DR)
|
Loading…
Reference in New Issue
Block a user