如何连接.webm文件并使用ffmpeg将生成的视频转换为.mp4

时间:2015-10-06 07:29:18

标签: ffmpeg

我试过很多方法,例如

ffmpeg -i A.mov -i B.mov -i C.mov -i D.mov -filter_complex "[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] [3:0] [3:1] concat=n=4:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4`

ffmpeg -i "concat:A.webm | B.webm | C.webm | D.webm" -c copy output.mp4

ffmpeg -i 1.webm -i 2.webm -i 3.webm -i 4.webm -i 5.webm -filter_complex "[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] [3:0] [3:1] [4:0] [4:1] concat=n=5:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -c:a libfdk_aac -c:v libx264 output.mp4

我总是发现这些错误或警告

[libvo_aacenc @ 04091820] Queue input is backward in time

Last message repeated 4 times

[mp4 @ 0408f0c0] Non-monotonous DTS in output stream 0:1; previous: 770, current: 768; changing to 771.

[libvo_aacenc @ 04091820] Queue input is backward in time

[mp4 @ 0408f0c0] Non-monotonous DTS in output stream 0:1; previous: 771, current: 768; changing to 772.

[libvo_aacenc @ 04091820] Queue input is backward in time

[mp4 @ 0408f0c0] Non-monotonous DTS in output stream 0:1; previous: 772, current: 768; changing to 773.
[libvo_aacenc @ 04091820] Queue input is backward in time

[mp4 @ 0408f0c0] Non-monotonous DTS in output stream 0:1; previous: 773, current: 768; changing to 774.

[mp4 @ 0408f0c0] Non-monotonous DTS in output stream 0:1; previous: 774, current: 768; changing to 775.
[libvo_aacenc @ 04091820] Queue input is backward in time

有没有办法做到这一点或它不可能...... ???

0 个答案:

没有答案