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
f02ab814
Commit
f02ab814
authored
Feb 08, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ima & ms adpcm regression test
Originally committed as revision 2766 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6cf9d5eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+4
-0
regression.sh
tests/regression.sh
+22
-0
rotozoom.regression.ref
tests/rotozoom.regression.ref
+4
-0
No files found.
tests/ffmpeg.regression.ref
View file @
f02ab814
...
...
@@ -73,3 +73,7 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
449ec3854e8b09982302f92ea9cd47ca *./data/out.wav
5ac5a5ffd680d7880dfb1dd069851691 *./data/a-adpcm_ms.wav
e4276587e9ffef41a007ac4c12d3fad2 *./data/out.wav
tests/regression.sh
View file @
f02ab814
...
...
@@ -47,6 +47,8 @@ else
do_mp2
=
y
do_ac3
=
y
do_g726
=
y
do_adpcm_ima_wav
=
y
do_adpcm_ms
=
y
do_rc
=
y
do_mpeg4adv
=
y
do_mpeg4nr
=
y
...
...
@@ -376,6 +378,26 @@ do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 32 -ac 1 -ar
do_ffmpeg
$pcm_dst
-y
-i
$file
-f
wav
$pcm_dst
fi
###################################
if
[
-n
"
$do_adpcm_ima_wav
"
]
;
then
# encoding
file
=
${
outfile
}
adpcm_ima.wav
do_ffmpeg
$file
-y
-ab
128
-ac
2
-ar
44100
-f
s16le
-i
$pcm_src
-acodec
adpcm_ima_wav
$file
# decoding
do_ffmpeg
$pcm_dst
-y
-i
$file
-f
wav
$pcm_dst
fi
###################################
if
[
-n
"
$do_adpcm_ms
"
]
;
then
# encoding
file
=
${
outfile
}
adpcm_ms.wav
do_ffmpeg
$file
-y
-ab
128
-ac
2
-ar
44100
-f
s16le
-i
$pcm_src
-acodec
adpcm_ms
$file
# decoding
do_ffmpeg
$pcm_dst
-y
-i
$file
-f
wav
$pcm_dst
fi
###################################
# libav testing
###################################
...
...
tests/rotozoom.regression.ref
View file @
f02ab814
...
...
@@ -73,3 +73,7 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
449ec3854e8b09982302f92ea9cd47ca *./data/out.wav
5ac5a5ffd680d7880dfb1dd069851691 *./data/a-adpcm_ms.wav
e4276587e9ffef41a007ac4c12d3fad2 *./data/out.wav
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