ffmpeg - 带有音频文件无效的Concat multi mp4文件

时间:2017-03-29 04:10:22

标签: ffmpeg

我按照this thread使用音频文件连接多个mp4文件。
但它没有成功。已经显示了很多错误通知。我不知道如何解决它。
以下是我的命令:

"ffmpeg" -f concat -safe 0 \
-i /path/to/text.txt \
-i /path/to/audio.mp3 -vsync vfr -vf scale="640:640" -pix_fmt yuv420p \
/path/to/output.mp4 2>&1

text.txt

的详细内容
file '/path/to/file1.mp4'
file '/path/to/file2.mp4'
file '/path/to/file3.mp4'
file '/path/to/file4.mp4'
file '/path/to/file5.mp4'
file '/path/to/file6.mp4'
file '/path/to/file7.mp4'
file '/path/to/file8.mp4'
file '/path/to/file9.mp4'
file '/path/to/file10.mp4'
file '/path/to/file11.mp4'
file '/path/to/file12.mp4'
file '/path/to/file13.mp4'
file '/path/to/file14.mp4'
file '/path/to/file15.mp4'
file '/path/to/file16.mp4'
file '/path/to/file17.mp4'
file '/path/to/file18.mp4'

输出错误的一些行:

[concat @ 0x357e620] DTS 192000 < 229888 out of order
[h264 @ 0x36920e0] top block unavailable for requested intra mode -1
[h264 @ 0x36920e0] error while decoding MB 32 0
[h264 @ 0x36920e0] concealing 2025 DC, 2025 AC, 2025 MV errors in I frame
[h264 @ 0x36b7a80] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
[h264 @ 0x36ff440] corrupted macroblock 26 1 (total_coeff=-1)
[h264 @ 0x36ff440] error while decoding MB 26 1
[h264 @ 0x36ff440] concealing 2003 DC, 2003 AC, 2003 MV errors in P frame
[h264 @ 0x371af40] concealing 1456 DC, 1456 AC, 1456 MV errors in P frame
[h264 @ 0x3736a40] ref 5 overflow
[h264 @ 0x3736a40] error while decoding MB 1 1
[h264 @ 0x3736a40] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
[h264 @ 0x3752520] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
[h264 @ 0x376dfa0] P sub_mb_type 8 out of range at 2 1
[h264 @ 0x376dfa0] error while decoding MB 2 1
[h264 @ 0x376dfa0] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
[h264 @ 0x37a55a0] ref 6 overflow
[h264 @ 0x37a55a0] error while decoding MB 3 1
[h264 @ 0x37a55a0] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
[h264 @ 0x3789aa0] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
[h264 @ 0x36b7a80] ref 5 overflow
[h264 @ 0x36b7a80] error while decoding MB 4 1
[h264 @ 0x36b7a80] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
[h264 @ 0x36920e0] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame

0 个答案:

没有答案