kjcy8

FFmpeg concat

这种方法成功率很高,但是需要 FFmpeg 1.1 以上版本。

先创建一个文本文件 filelist.txt:

file \'1.mp4\'
file \'2.mp4\'
file \'3.mp4\'

然后:

ffmpeg -f concat -safe 0 -i filelist.txt -c copy concat.mp4

注意:使用 FFmpeg concat 时,如果文件名有奇怪的字符,要在 filelist.txt 中转义。

 

分类:

技术点:

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2021-10-14
  • 2021-12-18
  • 2022-12-23
  • 2021-08-08
猜你喜欢
  • 2022-01-09
  • 2021-05-27
  • 2021-08-26
  • 2021-06-08
  • 2021-07-18
  • 2021-12-18
相关资源
相似解决方案