mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate/matroska: Test remuxing tracks for hearing/visually impaired
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
9b06c4c10d
commit
efa012cbdb
@ -100,6 +100,14 @@ FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL MATROSKA_DEMUXER \
|
||||
+= fate-matroska-vp8-alpha-remux
|
||||
fate-matroska-vp8-alpha-remux: CMD = transcode matroska $(TARGET_SAMPLES)/vp8_alpha/vp8_video_with_alpha.webm matroska "-c copy -disposition +hearing_impaired -cluster_size_limit 100000" "-c copy -t 0.2" "" "-show_entries stream_disposition:stream_side_data_list"
|
||||
|
||||
# The audio stream to be remuxed here has AV_DISPOSITION_VISUAL_IMPAIRED.
|
||||
FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL MPEGTS_DEMUXER \
|
||||
AC3_DECODER MATROSKA_MUXER \
|
||||
MATROSKA_DEMUXER FRAMECRC_MUXER \
|
||||
PIPE_PROTOCOL) \
|
||||
+= fate-matroska-mpegts-remux
|
||||
fate-matroska-mpegts-remux: CMD = transcode mpegts $(TARGET_SAMPLES)/mpegts/pmtchange.ts matroska "-map 0:2 -map 0:2 -c copy -disposition:a:1 -visual_impaired+hearing_impaired" "-map 0 -c copy" "" "-show_entries stream_disposition:stream=index"
|
||||
|
||||
FATE_MATROSKA_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER) += fate-matroska-spherical-mono
|
||||
fate-matroska-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mkv/spherical.mkv
|
||||
|
||||
|
52
tests/ref/fate/matroska-mpegts-remux
Normal file
52
tests/ref/fate/matroska-mpegts-remux
Normal file
@ -0,0 +1,52 @@
|
||||
4e6253c1f5f96ff64ae855dea426547d *tests/data/fate/matroska-mpegts-remux.matroska
|
||||
6509 tests/data/fate/matroska-mpegts-remux.matroska
|
||||
#tb 0: 1/1000
|
||||
#media_type 0: audio
|
||||
#codec_id 0: ac3
|
||||
#sample_rate 0: 48000
|
||||
#channel_layout 0: 3
|
||||
#channel_layout_name 0: stereo
|
||||
#tb 1: 1/1000
|
||||
#media_type 1: audio
|
||||
#codec_id 1: ac3
|
||||
#sample_rate 1: 48000
|
||||
#channel_layout 1: 3
|
||||
#channel_layout_name 1: stereo
|
||||
0, 0, 0, 32, 768, 0xa63778d4
|
||||
1, 0, 0, 32, 768, 0xa63778d4
|
||||
0, 32, 32, 32, 768, 0x7d577f3f
|
||||
1, 32, 32, 32, 768, 0x7d577f3f
|
||||
0, 64, 64, 32, 768, 0xd86b7c8f
|
||||
1, 64, 64, 32, 768, 0xd86b7c8f
|
||||
0, 96, 96, 32, 626, 0x09f4382f
|
||||
1, 96, 96, 32, 626, 0x09f4382f
|
||||
[STREAM]
|
||||
index=0
|
||||
DISPOSITION:default=1
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=0
|
||||
DISPOSITION:visual_impaired=1
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
[/STREAM]
|
||||
[STREAM]
|
||||
index=1
|
||||
DISPOSITION:default=0
|
||||
DISPOSITION:dub=0
|
||||
DISPOSITION:original=0
|
||||
DISPOSITION:comment=0
|
||||
DISPOSITION:lyrics=0
|
||||
DISPOSITION:karaoke=0
|
||||
DISPOSITION:forced=0
|
||||
DISPOSITION:hearing_impaired=1
|
||||
DISPOSITION:visual_impaired=0
|
||||
DISPOSITION:clean_effects=0
|
||||
DISPOSITION:attached_pic=0
|
||||
DISPOSITION:timed_thumbnails=0
|
||||
[/STREAM]
|
Loading…
Reference in New Issue
Block a user