1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/tests/ref/fate/mov-mp4-chapters
Jan Ekström 02ddfeadbe avformat/movenc: allow writing out channel count in MP4 and 3GP
ISOBMFF (14496-12) made this field ('channelcount') in the
AudioSampleEntry structure non-template¹ somewhere before the
release of the 2022 edition. As for ETSI TS 126 244 AKA 3GPP
file format (V16.1.0, 2020-10), it does not seem contain any
references limiting the channelcount entry in AudioSampleEntry
or in its own definition of EVSSampleEntry.

fate-mov-mp4-chapters test had to be adjusted as it output a
mono vorbis stream, which would now be properly marked as such
in the container.

1: As per 14496-12:
   Fields shown as “template” in the box descriptions are fields
   which are coded with a default value unless a derived
   specification defines their use and permits writers to use
   other values than the default.
2023-02-14 21:10:42 +02:00

50 lines
1.0 KiB
Plaintext

7b6aaa99c86fa1f5abfc9f242abcfffa *tests/data/fate/mov-mp4-chapters.mp4
111248 tests/data/fate/mov-mp4-chapters.mp4
#extradata 0: 3469, 0xc6769ddc
#tb 0: 1/44100
#media_type 0: audio
#codec_id 0: vorbis
#sample_rate 0: 44100
#channel_layout_name 0: mono
0, -256, -256, 256, 28, 0xefcf103e, F=0x5
0, 0, 0, 1152, 198, 0xfbbe5eb5
0, 1152, 1152, 2944, 198, 0xabd95c6c
0, 4096, 4096, 256, 41, 0x954b12a5
0, 4352, 4352, 256, 41, 0xbccd1463
[CHAPTER]
id=0
time_base=1/1000
start=0
start_time=0.000000
end=5000
end_time=5.000000
TAG:title=start
[/CHAPTER]
[CHAPTER]
id=1
time_base=1/1000
start=5000
start_time=5.000000
end=10500
end_time=10.500000
TAG:title=Five Seconds
[/CHAPTER]
[CHAPTER]
id=2
time_base=1/1000
start=10500
start_time=10.500000
end=15000
end_time=15.000000
TAG:title=Ten point 5 seconds
[/CHAPTER]
[CHAPTER]
id=3
time_base=1/1000
start=15000
start_time=15.000000
end=19849
end_time=19.849000
TAG:title=15 sec - over soon
[/CHAPTER]