fate: add wav chapters test

This commit is contained in:
Paul B Mahol 2020-09-04 20:45:53 +02:00
parent 31b6b6685e
commit 03415f25d2
2 changed files with 50 additions and 0 deletions

View File

@ -36,3 +36,8 @@ fate-lavf-peak_only.wav: CMD = lavf_audio "" "-write_peak only"
FATE_AVCONV += $(FATE_LAVF_AUDIO)
fate-lavf-audio fate-lavf: $(FATE_LAVF_AUDIO)
FATE_WAV_FFPROBE-$(CONFIG_WAV_DEMUXER) += fate-wav-chapters
fate-wav-chapters: CMD = probechapters $(TARGET_SAMPLES)/wav/200828-005.wav
FATE_SAMPLES_FFPROBE += $(FATE_WAV_FFPROBE-yes)

View File

@ -0,0 +1,45 @@
[CHAPTER]
id=1
time_base=1/48000
start=148992
start_time=3.104000
end=226560
end_time=4.720000
TAG:title=01
[/CHAPTER]
[CHAPTER]
id=2
time_base=1/48000
start=226560
start_time=4.720000
end=301728
end_time=6.286000
TAG:title=02
[/CHAPTER]
[CHAPTER]
id=3
time_base=1/48000
start=301728
start_time=6.286000
end=314016
end_time=6.542000
TAG:title=03
[/CHAPTER]
[CHAPTER]
id=4
time_base=1/48000
start=314016
start_time=6.542000
end=396528
end_time=8.261000
TAG:title=04
[/CHAPTER]
[CHAPTER]
id=5
time_base=1/48000
start=396528
start_time=8.261000
end=614464
end_time=12.801333
TAG:title=05
[/CHAPTER]