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