Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
acb17302
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,发现更多精彩内容 >>
提交
acb17302
编写于
4月 16, 2012
作者:
J
Justin Ruggles
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FATE: allow lavf tests to alter input parameters
Change some lavf tests to avoid resampling and channel mixing.
上级
50529804
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
36 addition
and
36 deletion
+36
-36
tests/lavf-regression.sh
tests/lavf-regression.sh
+14
-14
tests/ref/lavf/dv_fmt
tests/ref/lavf/dv_fmt
+3
-3
tests/ref/lavf/gxf
tests/ref/lavf/gxf
+2
-2
tests/ref/lavf/mxf
tests/ref/lavf/mxf
+2
-2
tests/ref/lavf/mxf_d10
tests/ref/lavf/mxf_d10
+2
-2
tests/ref/seek/lavf_dv
tests/ref/seek/lavf_dv
+13
-13
未找到文件。
tests/lavf-regression.sh
浏览文件 @
acb17302
...
...
@@ -14,8 +14,8 @@ eval do_$test=y
do_lavf
()
{
file
=
${
outfile
}
lavf.
$1
do_avconv
$file
$DEC_OPTS
-f
image2
-vcodec
pgmyuv
-i
$raw_src
$DEC_OPTS
-ar
44100
-f
s16le
-i
$pcm_src
$ENC_OPTS
-b
:a 64k
-t
1
-qscale
:v 10
$2
do_avconv_crc
$file
$DEC_OPTS
-i
$target_path
/
$file
$
3
do_avconv
$file
$DEC_OPTS
-f
image2
-vcodec
pgmyuv
-i
$raw_src
$DEC_OPTS
-ar
44100
-f
s16le
$2
-i
$pcm_src
$ENC_OPTS
-b
:a 64k
-t
1
-qscale
:v 10
$3
do_avconv_crc
$file
$DEC_OPTS
-i
$target_path
/
$file
$
4
}
do_streamed_images
()
...
...
@@ -44,11 +44,11 @@ do_audio_only()
}
if
[
-n
"
$do_avi
"
]
;
then
do_lavf avi
"-acodec mp2"
do_lavf avi
"
"
"
-acodec mp2"
fi
if
[
-n
"
$do_asf
"
]
;
then
do_lavf asf
"-acodec mp2"
"-r 25"
do_lavf asf
"
"
"
-acodec mp2"
"-r 25"
fi
if
[
-n
"
$do_rm
"
]
;
then
...
...
@@ -63,19 +63,19 @@ do_lavf mpg
fi
if
[
-n
"
$do_mxf
"
]
;
then
do_lavf mxf
"-ar 48000
-bf 2 -timecode_frame_start 264363"
do_lavf mxf
"-ar 48000
"
"
-bf 2 -timecode_frame_start 264363"
fi
if
[
-n
"
$do_mxf_d10
"
]
;
then
do_lavf mxf_d10
"-ar 48000 -ac 2
-r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -g 0 -flags +ildct+low_delay -dc 10 -non_linear_quant 1 -intra_vlc 1 -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
do_lavf mxf_d10
"-ar 48000 -ac 2
"
"
-r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -g 0 -flags +ildct+low_delay -dc 10 -non_linear_quant 1 -intra_vlc 1 -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
fi
if
[
-n
"
$do_ts
"
]
;
then
do_lavf ts
"-mpegts_transport_stream_id 42"
do_lavf ts
"
"
"
-mpegts_transport_stream_id 42"
fi
if
[
-n
"
$do_swf
"
]
;
then
do_lavf swf
-an
do_lavf swf
""
"-an"
fi
if
[
-n
"
$do_ffm
"
]
;
then
...
...
@@ -83,27 +83,27 @@ do_lavf ffm
fi
if
[
-n
"
$do_flv_fmt
"
]
;
then
do_lavf flv
-an
do_lavf flv
""
"-an"
fi
if
[
-n
"
$do_mov
"
]
;
then
do_lavf mov
"-acodec pcm_alaw -c:v mpeg4"
do_lavf mov
"
"
"
-acodec pcm_alaw -c:v mpeg4"
fi
if
[
-n
"
$do_dv_fmt
"
]
;
then
do_lavf dv
"-ar 48000
-r 25 -s pal -ac 2"
do_lavf dv
"-ar 48000
"
"
-r 25 -s pal -ac 2"
fi
if
[
-n
"
$do_gxf
"
]
;
then
do_lavf gxf
"-ar 48000
-r 25 -s pal -ac 1"
do_lavf gxf
"-ar 48000
"
"
-r 25 -s pal -ac 1"
fi
if
[
-n
"
$do_nut
"
]
;
then
do_lavf nut
"-acodec mp2"
do_lavf nut
"
"
"
-acodec mp2"
fi
if
[
-n
"
$do_mkv
"
]
;
then
do_lavf mkv
"-c:a mp2 -c:v mpeg4"
do_lavf mkv
"
"
"
-c:a mp2 -c:v mpeg4"
fi
...
...
tests/ref/lavf/dv_fmt
浏览文件 @
acb17302
522e5e5a46b99f8ad8aabdaf3d2f1869
*./tests/data/lavf/lavf.dv
3
600
000 ./tests/data/lavf/lavf.dv
./tests/data/lavf/lavf.dv CRC=0x
02c0af30
62577aa72e7c7fb3e781e3717a7c36cb
*./tests/data/lavf/lavf.dv
3
456
000 ./tests/data/lavf/lavf.dv
./tests/data/lavf/lavf.dv CRC=0x
37e63092
tests/ref/lavf/gxf
浏览文件 @
acb17302
3
46d38d330ab5cb0caa6b5537167bc0
d *./tests/data/lavf/lavf.gxf
3
2e34e23f3740e27e5bcf1621a698aa
d *./tests/data/lavf/lavf.gxf
796392 ./tests/data/lavf/lavf.gxf
./tests/data/lavf/lavf.gxf CRC=0x
246186eb
./tests/data/lavf/lavf.gxf CRC=0x
4f52fc7f
tests/ref/lavf/mxf
浏览文件 @
acb17302
6e9bd63c5cadd7550ad313553ebf665f
*./tests/data/lavf/lavf.mxf
21d359aecf0453a5910d2c1a9ec906b2
*./tests/data/lavf/lavf.mxf
525881 ./tests/data/lavf/lavf.mxf
./tests/data/lavf/lavf.mxf CRC=0x
4ace0849
./tests/data/lavf/lavf.mxf CRC=0x
773f059a
tests/ref/lavf/mxf_d10
浏览文件 @
acb17302
e7168856f2b54c6272685967e707fb21
*./tests/data/lavf/lavf.mxf_d10
b66087558cd1ff8e64290ffd856c88bc
*./tests/data/lavf/lavf.mxf_d10
5330989 ./tests/data/lavf/lavf.mxf_d10
./tests/data/lavf/lavf.mxf_d10 CRC=0x
c3f4f92e
./tests/data/lavf/lavf.mxf_d10 CRC=0x
4474d480
tests/ref/seek/lavf_dv
浏览文件 @
acb17302
...
...
@@ -2,51 +2,51 @@ ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st:-1 flags:1 ts: 1.894167
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 0 flags:0 ts: 0.800000
ret: 0 st: 0 flags:1 dts: 0.800000 pts: 0.800000 pos: -1 size:144000
ret: 0 st: 0 flags:1 ts:-0.320000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st: 1 flags:0 ts: 2.576667
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 1 flags:1 ts: 1.470833
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st:-1 flags:0 ts: 0.365002
ret: 0 st: 0 flags:1 dts: 0.360000 pts: 0.360000 pos: -1 size:144000
ret: 0 st:-1 flags:1 ts:-0.740831
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st: 0 flags:0 ts: 2.160000
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 ts: 1.040000
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 1 flags:0 ts:-0.058333
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st: 1 flags:1 ts: 2.835833
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st:-1 flags:0 ts: 1.730004
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st:-1 flags:1 ts: 0.624171
ret: 0 st: 0 flags:1 dts: 0.640000 pts: 0.640000 pos: -1 size:144000
ret: 0 st: 0 flags:0 ts:-0.480000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st: 0 flags:1 ts: 2.400000
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 1 flags:0 ts: 1.306667
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 1 flags:1 ts: 0.200833
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st:-1 flags:0 ts:-0.904994
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st:-1 flags:1 ts: 1.989173
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 0 flags:0 ts: 0.880000
ret: 0 st: 0 flags:1 dts: 0.880000 pts: 0.880000 pos: -1 size:144000
ret: 0 st: 0 flags:1 ts:-0.240000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:144000
ret: 0 st: 1 flags:0 ts: 2.671667
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st: 1 flags:1 ts: 1.565833
ret: 0 st: 0 flags:1 dts: 0.9
60000 pts: 0.96
0000 pos: -1 size:144000
ret: 0 st: 0 flags:1 dts: 0.9
20000 pts: 0.92
0000 pos: -1 size:144000
ret: 0 st:-1 flags:0 ts: 0.460008
ret: 0 st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: -1 size:144000
ret: 0 st:-1 flags:1 ts:-0.645825
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录