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
8e7ac4f0
Commit
8e7ac4f0
authored
Oct 21, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/fate-run: Use -bitexact
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
97c00eda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
fate-run.sh
tests/fate-run.sh
+12
-12
No files found.
tests/fate-run.sh
View file @
8e7ac4f0
...
...
@@ -127,15 +127,15 @@ ffmpeg(){
}
framecrc
(){
ffmpeg
"
$@
"
-
flags
+bitexact
-fflags
+
bitexact
-f
framecrc -
ffmpeg
"
$@
"
-bitexact
-f
framecrc -
}
ffmetadata
(){
ffmpeg
"
$@
"
-
flags
+bitexact
-fflags
+
bitexact
-f
ffmetadata -
ffmpeg
"
$@
"
-bitexact
-f
ffmetadata -
}
framemd5
(){
ffmpeg
"
$@
"
-
flags
+bitexact
-fflags
+
bitexact
-f
framemd5 -
ffmpeg
"
$@
"
-bitexact
-f
framemd5 -
}
crc
(){
...
...
@@ -160,7 +160,7 @@ pcm(){
fmtstdout
(){
fmt
=
$1
shift
1
ffmpeg
-
flags
+bitexact
-fflags
+
bitexact
"
$@
"
-f
$fmt
-
ffmpeg
-bitexact
"
$@
"
-f
$fmt
-
}
enc_dec_pcm
(){
...
...
@@ -173,7 +173,7 @@ enc_dec_pcm(){
cleanfiles
=
$encfile
encfile
=
$(
target_path
${
encfile
})
ffmpeg
-i
$src_file
"
$@
"
-f
$out_fmt
-y
${
encfile
}
||
return
ffmpeg
-
flags
+bitexact
-fflags
+
bitexact
-i
${
encfile
}
-c
:a pcm_
${
pcm_fmt
}
-fflags
+bitexact
-f
${
dec_fmt
}
-
ffmpeg
-bitexact
-i
${
encfile
}
-c
:a pcm_
${
pcm_fmt
}
-fflags
+bitexact
-f
${
dec_fmt
}
-
}
FLAGS
=
"-flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
...
...
@@ -294,16 +294,16 @@ gapless(){
cleanfiles
=
"
$cleanfiles
$decfile1
$decfile2
$decfile3
"
# test packet data
ffmpeg
$extra_args
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-c
:a copy
-f
framecrc
-y
$decfile1
ffmpeg
$extra_args
-i
"
$sample
"
-bitexact
-c
:a copy
-f
framecrc
-y
$decfile1
do_md5sum
$decfile1
# test decoded (and cut) data
ffmpeg
$extra_args
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-f
wav md5:
ffmpeg
$extra_args
-i
"
$sample
"
-bitexact
-f
wav md5:
# the same as above again, with seeking to the start
ffmpeg
$extra_args
-ss
0
-seek_timestamp
1
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-c
:a copy
-f
framecrc
-y
$decfile2
ffmpeg
$extra_args
-ss
0
-seek_timestamp
1
-i
"
$sample
"
-bitexact
-c
:a copy
-f
framecrc
-y
$decfile2
do_md5sum
$decfile2
ffmpeg
$extra_args
-ss
0
-seek_timestamp
1
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-f
wav md5:
ffmpeg
$extra_args
-ss
0
-seek_timestamp
1
-i
"
$sample
"
-bitexact
-f
wav md5:
# test packet data, with seeking to a specific position
ffmpeg
$extra_args
-ss
5
-seek_timestamp
1
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-c
:a copy
-f
framecrc
-y
$decfile3
ffmpeg
$extra_args
-ss
5
-seek_timestamp
1
-i
"
$sample
"
-bitexact
-c
:a copy
-f
framecrc
-y
$decfile3
do_md5sum
$decfile3
}
...
...
@@ -316,7 +316,7 @@ gaplessenc(){
cleanfiles
=
"
$cleanfiles
$file1
"
# test data after reencoding
ffmpeg
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
-map
0:a
-c
:a
$codec
-f
$format
-y
"
$file1
"
ffmpeg
-i
"
$sample
"
-bitexact
-map
0:a
-c
:a
$codec
-f
$format
-y
"
$file1
"
probegaplessinfo
"
$file1
"
}
...
...
@@ -328,7 +328,7 @@ audio_match(){
decfile
=
"
${
outdir
}
/
${
test
}
.wav"
cleanfiles
=
"
$cleanfiles
$decfile
"
ffmpeg
-i
"
$sample
"
-
flags
+bitexact
-fflags
+
bitexact
$extra_args
-y
$decfile
ffmpeg
-i
"
$sample
"
-bitexact
$extra_args
-y
$decfile
tests/audiomatch
$decfile
$trefile
}
...
...
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