mirror of https://github.com/FFmpeg/FFmpeg.git
This information is coded in a standard MP4 KindBox and utilizes the scheme and values as per the DASH role scheme defined in MPEG-DASH. Other schemes are technically allowed, but where multiple schemes define the same concepts, the DASH scheme should be utilized. Such flagging is additionally utilized by the DASH-IF CMAF ingest specification, enabling an encoder to inform the following component of the roles of the incoming media streams. A test is added for this functionality in a similar manner to the matroska test. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>pull/369/head
parent
847fd8de7c
commit
7a446b1179
7 changed files with 264 additions and 1 deletions
@ -0,0 +1,81 @@ |
|||||||
|
3c4432fe59ffd9f2ed6ba4b122cea935 *tests/data/fate/mov-mp4-disposition-mpegts-remux.mp4 |
||||||
|
5709 tests/data/fate/mov-mp4-disposition-mpegts-remux.mp4 |
||||||
|
#tb 0: 1/48000 |
||||||
|
#media_type 0: audio |
||||||
|
#codec_id 0: ac3 |
||||||
|
#sample_rate 0: 48000 |
||||||
|
#channel_layout 0: 3 |
||||||
|
#channel_layout_name 0: stereo |
||||||
|
#tb 1: 1/48000 |
||||||
|
#media_type 1: audio |
||||||
|
#codec_id 1: ac3 |
||||||
|
#sample_rate 1: 48000 |
||||||
|
#channel_layout 1: 3 |
||||||
|
#channel_layout_name 1: stereo |
||||||
|
1, 0, 0, 1536, 768, 0xa63778d4, S=1, 4 |
||||||
|
1, 1536, 1536, 1536, 768, 0x7d577f3f |
||||||
|
0, 3072, 3072, 1536, 768, 0xc2867884, S=1, 4 |
||||||
|
1, 3072, 3072, 1536, 768, 0xd86b7c8f |
||||||
|
0, 4608, 4608, 1536, 690, 0xa2714bf3 |
||||||
|
1, 4608, 4608, 1536, 626, 0x09f4382f |
||||||
|
{ |
||||||
|
"programs": [ |
||||||
|
|
||||||
|
], |
||||||
|
"streams": [ |
||||||
|
{ |
||||||
|
"index": 0, |
||||||
|
"disposition": { |
||||||
|
"default": 1, |
||||||
|
"dub": 0, |
||||||
|
"original": 0, |
||||||
|
"comment": 0, |
||||||
|
"lyrics": 0, |
||||||
|
"karaoke": 0, |
||||||
|
"forced": 0, |
||||||
|
"hearing_impaired": 1, |
||||||
|
"visual_impaired": 0, |
||||||
|
"clean_effects": 0, |
||||||
|
"attached_pic": 0, |
||||||
|
"timed_thumbnails": 0, |
||||||
|
"captions": 1, |
||||||
|
"descriptions": 0, |
||||||
|
"metadata": 0, |
||||||
|
"dependent": 0, |
||||||
|
"still_image": 0 |
||||||
|
}, |
||||||
|
"side_data_list": [ |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"index": 1, |
||||||
|
"disposition": { |
||||||
|
"default": 0, |
||||||
|
"dub": 0, |
||||||
|
"original": 0, |
||||||
|
"comment": 0, |
||||||
|
"lyrics": 0, |
||||||
|
"karaoke": 0, |
||||||
|
"forced": 0, |
||||||
|
"hearing_impaired": 0, |
||||||
|
"visual_impaired": 1, |
||||||
|
"clean_effects": 0, |
||||||
|
"attached_pic": 0, |
||||||
|
"timed_thumbnails": 0, |
||||||
|
"captions": 0, |
||||||
|
"descriptions": 1, |
||||||
|
"metadata": 0, |
||||||
|
"dependent": 0, |
||||||
|
"still_image": 0 |
||||||
|
}, |
||||||
|
"side_data_list": [ |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue