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
胡斌
2021-10-12 06:19:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
30c6e37f7b69309cf981cc1e8fcd9029298591e9
30c6e37f
1 parent
4604cd60
V2.0.15
1.修改bug: 解码视频文件时,遇到解码错误,直接退出了解码。现改为继续解码后续数据。
显示空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
8 行增加
和
3 行删除
pip/AudioDecoder.cpp
pip/ReadMe.txt
pip/VideoDecoder.cpp
pip/merge_pip.cpp
pip/AudioDecoder.cpp
查看文件 @
30c6e37
...
...
@@ -361,8 +361,9 @@ int CAudioDecoder::get_one_frame(AVFrame ** pFrame, int64_t & ts)
&
got_frame
,
&
packet
);
if
(
ret
<
0
)
{
av_frame_free
(
&
frame
);
av_packet_unref
(
&
packet
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Decoding failed
\n
"
);
break
;
continue
;
}
if
(
got_frame
)
{
...
...
pip/ReadMe.txt
查看文件 @
30c6e37
...
...
@@ -120,3 +120,6 @@ V2.0.13
V2.0.14
1.命令行增加可选参数-v {1|0},在所有输入媒体文件里,没有视频文件时,使用-v 1 参数合成的mp4文件仍然包含视频,-v 0则不含视频
V2.0.15
1.修改bug: 解码视频文件时,遇到解码错误,直接退出了解码。现改为继续解码后续数据。
\ No newline at end of file
...
...
pip/VideoDecoder.cpp
查看文件 @
30c6e37
...
...
@@ -382,8 +382,9 @@ int CVideoDecoder::get_one_frame(AVFrame ** pFrame, int64_t & ts)
&
got_frame
,
&
packet
);
if
(
ret
<
0
)
{
av_frame_free
(
&
frame
);
av_packet_unref
(
&
packet
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Decoding failed
\n
"
);
break
;
continue
;
}
if
(
got_frame
)
{
...
...
pip/merge_pip.cpp
查看文件 @
30c6e37
...
...
@@ -1303,7 +1303,7 @@ int process_av_files(char * record_info, int piptype, bool one2one_same_size, in
int
main
(
int
argc
,
char
*
argv
[])
{
if
(
argc
<
2
)
{
printf
(
" merge_pip 2.0.1
4
\n
"
);
printf
(
" merge_pip 2.0.1
5
\n
"
);
printf
(
" merge video files to one pip video according to record info file,
\n
usage:"
);
printf
(
"
\n
%s record_info_filename [-t {0,1,2,3}] [-c codec.cfg] [-s {1,0}] [-r {0,1}] [-k {0,1}] [-v {1,0}]"
,
argv
[
0
]);
printf
(
"
\n\n
"
);
...
...
请
注册
或
登录
后发表评论