History

fate: add wav chapters test

Paul B Mahol committed 6 years ago

Commit 03415f21 parent 31b6b662 files · +50 −0Browse files

Unified · Split

2 files
  1. tests/fate/lavf-audio.mak +5 −0
  2. tests/ref/fate/wav-chapters +45 −0
tests/fate/lavf-audio.mak+5−0
@@ -36,3 +36,8 @@ fate-lavf-peak_only.wav: CMD = lavf_audio "" "-write_peak only" · 35 unmodified lines
3636
3737 FATE_AVCONV += $(FATE_LAVF_AUDIO)
3838 fate-lavf-audio fate-lavf: $(FATE_LAVF_AUDIO)
39+
40+FATE_WAV_FFPROBE-$(CONFIG_WAV_DEMUXER) += fate-wav-chapters
41+fate-wav-chapters: CMD = probechapters $(TARGET_SAMPLES)/wav/200828-005.wav
42+
43+FATE_SAMPLES_FFPROBE += $(FATE_WAV_FFPROBE-yes)
tests/ref/fate/wav-chapters+45−0
@@ -0,0 +1,45 @@
1+[CHAPTER]
2+id=1
3+time_base=1/48000
4+start=148992
5+start_time=3.104000
6+end=226560
7+end_time=4.720000
8+TAG:title=01
9+[/CHAPTER]
10+[CHAPTER]
11+id=2
12+time_base=1/48000
13+start=226560
14+start_time=4.720000
15+end=301728
16+end_time=6.286000
17+TAG:title=02
18+[/CHAPTER]
19+[CHAPTER]
20+id=3
21+time_base=1/48000
22+start=301728
23+start_time=6.286000
24+end=314016
25+end_time=6.542000
26+TAG:title=03
27+[/CHAPTER]
28+[CHAPTER]
29+id=4
30+time_base=1/48000
31+start=314016
32+start_time=6.542000
33+end=396528
34+end_time=8.261000
35+TAG:title=04
36+[/CHAPTER]
37+[CHAPTER]
38+id=5
39+time_base=1/48000
40+start=396528
41+start_time=8.261000
42+end=614464
43+end_time=12.801333
44+TAG:title=05
45+[/CHAPTER]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t