Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
4f5c72e8
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4f5c72e8
编写于
8月 08, 2008
作者:
P
Peter Ross
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
PCM regression tests.
Originally committed as revision 14671 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
76eb5c05
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
149 addition
and
1 deletion
+149
-1
Makefile
Makefile
+1
-0
tests/ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+60
-0
tests/regression.sh
tests/regression.sh
+28
-1
tests/rotozoom.regression.ref
tests/rotozoom.regression.ref
+60
-0
未找到文件。
Makefile
浏览文件 @
4f5c72e8
...
@@ -212,6 +212,7 @@ CODEC_TESTS = $(addprefix regtest-, \
...
@@ -212,6 +212,7 @@ CODEC_TESTS = $(addprefix regtest-, \
adpcm_swf
\
adpcm_swf
\
flac
\
flac
\
wma
\
wma
\
pcm
\
)
)
LAVF_TESTS
=
$(
addprefix
regtest-,
\
LAVF_TESTS
=
$(
addprefix
regtest-,
\
...
...
tests/ffmpeg.regression.ref
浏览文件 @
4f5c72e8
...
@@ -213,3 +213,63 @@ stddev: 2105.96 PSNR: 29.85 bytes: 1048620/ 1058444
...
@@ -213,3 +213,63 @@ stddev: 2105.96 PSNR: 29.85 bytes: 1048620/ 1058444
106044 ./tests/data/a-wmav2.asf
106044 ./tests/data/a-wmav2.asf
stddev:12255.80 PSNR: 14.55 bytes: 1056812/ 1058444
stddev:12255.80 PSNR: 14.55 bytes: 1056812/ 1058444
stddev: 2099.27 PSNR: 29.88 bytes: 1048620/ 1058444
stddev: 2099.27 PSNR: 29.88 bytes: 1048620/ 1058444
89f5b8dd97e0dddbe59af0d44fd229f3 *./tests/data/a-pcm_alaw.wav
529256 ./tests/data/a-pcm_alaw.wav
0568b0b9a72e31559e150e7e09d301cd *./tests/data/pcm.vsynth.out.wav
stddev: 101.67 PSNR: 56.18 bytes: 1058444/ 1058444
f443a8eeb1647ec1eeb8370c939e52d4 *./tests/data/a-pcm_mulaw.wav
529256 ./tests/data/a-pcm_mulaw.wav
1c3eeaa8814ebd4916780dff80ed6dc5 *./tests/data/pcm.vsynth.out.wav
stddev: 103.38 PSNR: 56.03 bytes: 1058444/ 1058444
9b883ee7a5256b26e16c419b76f373d7 *./tests/data/a-pcm_s8.mov
533937 ./tests/data/a-pcm_s8.mov
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.vsynth.out.wav
stddev: 147.89 PSNR: 52.92 bytes: 1058444/ 1058444
98cadb3502dbdc99e6e077c28b1a036c *./tests/data/a-pcm_u8.wav
529244 ./tests/data/a-pcm_u8.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.vsynth.out.wav
stddev: 147.89 PSNR: 52.92 bytes: 1058444/ 1058444
5c8718508599b5c87af8e9a7158a9e66 *./tests/data/a-pcm_s16be.mov
1063137 ./tests/data/a-pcm_s16be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/a-pcm_s16le.wav
1058444 ./tests/data/a-pcm_s16le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
01c2f68d239f05489369001b548da455 *./tests/data/a-pcm_u16be.mkv
1066121 ./tests/data/a-pcm_u16be.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
a4d25572221ee6ead64f8372cd72cae5 *./tests/data/a-pcm_u16le.mkv
1066121 ./tests/data/a-pcm_u16le.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
4bc4cd19722f6456fd0e9b51ee0c30cf *./tests/data/a-pcm_s24be.mov
1592337 ./tests/data/a-pcm_s24be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
aaba3cf534ddddf5bcf663bc8c5b5331 *./tests/data/a-pcm_s24le.wav
1587644 ./tests/data/a-pcm_s24le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
e60d8004d926d5f27beeb92a9bdd4b3d *./tests/data/a-pcm_s32be.mov
2121537 ./tests/data/a-pcm_s32be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7661c9b6f221d9f57985a9e4d92c4e63 *./tests/data/a-pcm_s32le.wav
2116844 ./tests/data/a-pcm_s32le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
118ff3dc83c62ce9ce669eef57e55bb2 *./tests/data/a-pcm_f32be.au
2116824 ./tests/data/a-pcm_f32be.au
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
8c74234928ed425b1171211a89f67ead *./tests/data/a-pcm_zork.wav
529256 ./tests/data/a-pcm_zork.wav
864c8c866ac25642c29a13b122c70709 *./tests/data/pcm.vsynth.out.wav
stddev: 633.10 PSNR: 40.29 bytes: 1058444/ 1058444
f0c1c9bae445267d4ab8fb91d4f56071 *./tests/data/a-pcm_s24daud.302
10371830 ./tests/data/a-pcm_s24daud.302
fff1dc03aa2750031203a7d72b832fad *./tests/data/pcm.vsynth.out.wav
stddev: 9416.45 PSNR: 16.84 bytes: 6911840/ 1058444
tests/regression.sh
浏览文件 @
4f5c72e8
...
@@ -126,7 +126,7 @@ do_audio_encoding()
...
@@ -126,7 +126,7 @@ do_audio_encoding()
do_audio_decoding
()
do_audio_decoding
()
{
{
do_ffmpeg
$pcm_dst
-i
$file
-f
wav
$pcm_dst
do_ffmpeg
$pcm_dst
-i
$file
-
sample_fmt
s16
-
f
wav
$pcm_dst
}
}
do_libav
()
do_libav
()
...
@@ -437,6 +437,33 @@ fi
...
@@ -437,6 +437,33 @@ fi
#do_audio_decoding
#do_audio_decoding
#fi
#fi
do_audio_enc_dec
()
{
do_audio_encoding
$3
.
$1
""
"
$4
-sample_fmt
$2
-acodec
$3
"
do_audio_decoding
}
if
[
-n
"
$do_pcm
"
]
;
then
do_audio_enc_dec wav s16 pcm_alaw
do_audio_enc_dec wav s16 pcm_mulaw
do_audio_enc_dec mov s16 pcm_s8
do_audio_enc_dec wav s16 pcm_u8
do_audio_enc_dec mov s16 pcm_s16be
do_audio_enc_dec wav s16 pcm_s16le
do_audio_enc_dec mkv s16 pcm_u16be
do_audio_enc_dec mkv s16 pcm_u16le
do_audio_enc_dec mov s16 pcm_s24be
do_audio_enc_dec wav s16 pcm_s24le
#do_audio_enc_dec ??? s16 pcm_u24be #no compatible muxer or demuxer
#do_audio_enc_dec ??? s16 pcm_u24le #no compatible muxer or demuxer
do_audio_enc_dec mov s16 pcm_s32be
do_audio_enc_dec wav s16 pcm_s32le
#do_audio_enc_dec ??? s16 pcm_u32be #no compatible muxer or demuxer
#do_audio_enc_dec ??? s16 pcm_u32le #no compatible muxer or demuxer
do_audio_enc_dec au flt pcm_f32be
do_audio_enc_dec wav s16 pcm_zork
do_audio_enc_dec 302 s16 pcm_s24daud
"-ac 6 -ar 96000"
fi
# libavformat testing
# libavformat testing
if
[
-n
"
$do_avi
"
]
;
then
if
[
-n
"
$do_avi
"
]
;
then
...
...
tests/rotozoom.regression.ref
浏览文件 @
4f5c72e8
...
@@ -213,3 +213,63 @@ stddev: 2105.96 PSNR: 29.85 bytes: 1048620/ 1058444
...
@@ -213,3 +213,63 @@ stddev: 2105.96 PSNR: 29.85 bytes: 1048620/ 1058444
106044 ./tests/data/a-wmav2.asf
106044 ./tests/data/a-wmav2.asf
stddev:12255.80 PSNR: 14.55 bytes: 1056812/ 1058444
stddev:12255.80 PSNR: 14.55 bytes: 1056812/ 1058444
stddev: 2099.27 PSNR: 29.88 bytes: 1048620/ 1058444
stddev: 2099.27 PSNR: 29.88 bytes: 1048620/ 1058444
89f5b8dd97e0dddbe59af0d44fd229f3 *./tests/data/a-pcm_alaw.wav
529256 ./tests/data/a-pcm_alaw.wav
0568b0b9a72e31559e150e7e09d301cd *./tests/data/pcm.rotozoom.out.wav
stddev: 101.67 PSNR: 56.18 bytes: 1058444/ 1058444
f443a8eeb1647ec1eeb8370c939e52d4 *./tests/data/a-pcm_mulaw.wav
529256 ./tests/data/a-pcm_mulaw.wav
1c3eeaa8814ebd4916780dff80ed6dc5 *./tests/data/pcm.rotozoom.out.wav
stddev: 103.38 PSNR: 56.03 bytes: 1058444/ 1058444
9b883ee7a5256b26e16c419b76f373d7 *./tests/data/a-pcm_s8.mov
533937 ./tests/data/a-pcm_s8.mov
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.rotozoom.out.wav
stddev: 147.89 PSNR: 52.92 bytes: 1058444/ 1058444
98cadb3502dbdc99e6e077c28b1a036c *./tests/data/a-pcm_u8.wav
529244 ./tests/data/a-pcm_u8.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *./tests/data/pcm.rotozoom.out.wav
stddev: 147.89 PSNR: 52.92 bytes: 1058444/ 1058444
5c8718508599b5c87af8e9a7158a9e66 *./tests/data/a-pcm_s16be.mov
1063137 ./tests/data/a-pcm_s16be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/a-pcm_s16le.wav
1058444 ./tests/data/a-pcm_s16le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
01c2f68d239f05489369001b548da455 *./tests/data/a-pcm_u16be.mkv
1066121 ./tests/data/a-pcm_u16be.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
a4d25572221ee6ead64f8372cd72cae5 *./tests/data/a-pcm_u16le.mkv
1066121 ./tests/data/a-pcm_u16le.mkv
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
4bc4cd19722f6456fd0e9b51ee0c30cf *./tests/data/a-pcm_s24be.mov
1592337 ./tests/data/a-pcm_s24be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
aaba3cf534ddddf5bcf663bc8c5b5331 *./tests/data/a-pcm_s24le.wav
1587644 ./tests/data/a-pcm_s24le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
e60d8004d926d5f27beeb92a9bdd4b3d *./tests/data/a-pcm_s32be.mov
2121537 ./tests/data/a-pcm_s32be.mov
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7661c9b6f221d9f57985a9e4d92c4e63 *./tests/data/a-pcm_s32le.wav
2116844 ./tests/data/a-pcm_s32le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
118ff3dc83c62ce9ce669eef57e55bb2 *./tests/data/a-pcm_f32be.au
2116824 ./tests/data/a-pcm_f32be.au
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
8c74234928ed425b1171211a89f67ead *./tests/data/a-pcm_zork.wav
529256 ./tests/data/a-pcm_zork.wav
864c8c866ac25642c29a13b122c70709 *./tests/data/pcm.rotozoom.out.wav
stddev: 633.10 PSNR: 40.29 bytes: 1058444/ 1058444
f0c1c9bae445267d4ab8fb91d4f56071 *./tests/data/a-pcm_s24daud.302
10371830 ./tests/data/a-pcm_s24daud.302
fff1dc03aa2750031203a7d72b832fad *./tests/data/pcm.rotozoom.out.wav
stddev: 9416.45 PSNR: 16.84 bytes: 6911840/ 1058444
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录