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
311be1fb
Commit
311be1fb
authored
Feb 07, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g726 regression test
Originally committed as revision 2761 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d4e437df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+2
-0
regression.sh
tests/regression.sh
+11
-0
rotozoom.regression.ref
tests/rotozoom.regression.ref
+2
-0
No files found.
tests/ffmpeg.regression.ref
View file @
311be1fb
...
...
@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav
tests/regression.sh
View file @
311be1fb
...
...
@@ -46,6 +46,7 @@ else
do_rv10
=
y
do_mp2
=
y
do_ac3
=
y
do_g726
=
y
do_rc
=
y
do_mpeg4adv
=
y
do_mpeg4nr
=
y
...
...
@@ -365,6 +366,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -f s16le -i $pcm_src -vn $file
#do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
fi
###################################
if
[
-n
"
$do_g726
"
]
;
then
# g726 encoding
file
=
${
outfile
}
g726.wav
do_ffmpeg
$file
-y
-ab
128
-ac
2
-ar
44100
-f
s16le
-i
$pcm_src
-ab
32
-ac
1
-ar
8000
-acodec
g726
$file
# g726 decoding
do_ffmpeg
$pcm_dst
-y
-i
$file
-f
wav
$pcm_dst
fi
###################################
# libav testing
###################################
...
...
tests/rotozoom.regression.ref
View file @
311be1fb
...
...
@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./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