Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
49d5c24a
Commit
49d5c24a
authored
Apr 17, 2015
by
wm4
Committed by
Michael Niedermayer
Apr 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fate: gapless: test seeking to a specific position
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2a0aa318
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
fate-run.sh
tests/fate-run.sh
+5
-1
gapless-mp3
tests/ref/fate/gapless-mp3
+1
-0
No files found.
tests/fate-run.sh
View file @
49d5c24a
...
...
@@ -226,7 +226,8 @@ gapless(){
decfile1
=
"
${
outdir
}
/
${
test
}
.out-1"
decfile2
=
"
${
outdir
}
/
${
test
}
.out-2"
cleanfiles
=
"
$cleanfiles
$decfile1
$decfile2
"
decfile3
=
"
${
outdir
}
/
${
test
}
.out-3"
cleanfiles
=
"
$cleanfiles
$decfile1
$decfile2
$decfile3
"
# large enough to make ffmpeg.c seek to the start of the file
start_offset
=
-1
...
...
@@ -240,6 +241,9 @@ gapless(){
ffmpeg
-ss
$start_offset
-i
"
$sample
"
$extra_args
-flags
+bitexact
-c
:a copy
-f
framecrc
-y
$decfile2
do_md5sum
$decfile2
ffmpeg
-ss
$start_offset
-i
"
$sample
"
$extra_args
-flags
+bitexact
-f
wav md5:
# test packet data, with seeking to a specific position
ffmpeg
-ss
5
-i
"
$sample
"
$extra_args
-flags
+bitexact
-c
:a copy
-f
framecrc
-y
$decfile3
do_md5sum
$decfile3
}
mkdir
-p
"
$outdir
"
...
...
tests/ref/fate/gapless-mp3
View file @
49d5c24a
...
...
@@ -2,3 +2,4 @@ d5c88cf38416329a052a9b0cb140fb4c *tests/data/fate/gapless-mp3.out-1
c96c3ae7bd3300fd2f4debac222de5b7
68f040b12d79c71e3b2e8ba90a9cbd96 *tests/data/fate/gapless-mp3.out-2
c96c3ae7bd3300fd2f4debac222de5b7
e750fc8ae00ba29a03983edafbb63975 *tests/data/fate/gapless-mp3.out-3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment