mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
fate: add wav chapters test
This commit is contained in:
parent
31b6b6685e
commit
03415f25d2
@ -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)
|
||||
|
45
tests/ref/fate/wav-chapters
Normal file
45
tests/ref/fate/wav-chapters
Normal 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]
|
Loading…
Reference in New Issue
Block a user