Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
merge_av
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
胡斌
2018-02-10 15:03:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a135efee16e585663e3d4cfdeccfece7c3b33112
a135efee
1 parent
977a0f1a
enlarge the pip to w=96:h=72
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
pip/ReadMe.txt
pip/merge_pip.cpp
pip/ReadMe.txt
查看文件 @
a135efe
...
...
@@ -31,7 +31,7 @@ uid_811375464_20180203013322272__uid_4165000_20180203013327202.txt内容如下
第一行,音视频合并时缺省视频编码参数,缺省值为:-vcodec libx264 -level 3.1 -preset veryfast -g 100 -r 20 -bf 0 -vsync cfr
第一行,音视频合并时缺省音频编码参数,缺省值为:-acodec copy
第三行,合并画中画时的音视频编码参数,缺省值为:-acodec aac -vcodec libx264 -level 3.1 -preset veryfast -g 100 -r 20 -bf 0 -vsync cfr
第四行,合并画中画时音视频合并filter参数,缺省值为:-filter_complex "[1:v]scale=w=
80:h=60
:force_original_aspect_ratio=decrease[b];[0:v][b]overlay=x=0:y=0" -filter_complex amix=inputs=2:duration=first:dropout_transition=2,volume=1
第四行,合并画中画时音视频合并filter参数,缺省值为:-filter_complex "[1:v]scale=w=
96:h=72
:force_original_aspect_ratio=decrease[b];[0:v][b]overlay=x=0:y=0" -filter_complex amix=inputs=2:duration=first:dropout_transition=2,volume=1
...
...
pip/merge_pip.cpp
查看文件 @
a135efe
...
...
@@ -105,7 +105,7 @@ void get_config_path(){
const
char
*
default_vcodec_param
=
"-vcodec libx264 -level 3.1 -preset veryfast -g 100 -r 20 -bf 0 -vsync cfr"
;
const
char
*
default_acodec_param
=
"-acodec copy"
;
const
char
*
default_av_codec_param
=
"-acodec aac -vcodec libx264 -level 3.1 -preset veryfast -g 100 -r 20 -bf 0 -vsync cfr"
;
const
char
*
default_pip_param
=
"-filter_complex
\"
[1:v]scale=w=
80:h=60
:force_original_aspect_ratio=decrease[b];[0:v][b]overlay=x=0:y=0
\"
-filter_complex amix=inputs=2:duration=first:dropout_transition=2,volume=1"
;
const
char
*
default_pip_param
=
"-filter_complex
\"
[1:v]scale=w=
96:h=72
:force_original_aspect_ratio=decrease[b];[0:v][b]overlay=x=0:y=0
\"
-filter_complex amix=inputs=2:duration=first:dropout_transition=2,volume=1"
;
char
av_codec_param
[
1024
];
...
...
请
注册
或
登录
后发表评论