ffmpeg concat设置绝对路径


m.txt:

file 'file:D:/video/000.ts'
file 'file:D:/video/001.ts'
file 'file:D:/video/002.ts'
file 'file:D:/video/003.ts'
file 'file:D:/video/004.ts'
file 'file:D:/video/005.ts'
file 'file:D:/video/006.ts'
file 'file:D:/video/007.ts'
file 'file:D:/video/008.ts'
file 'file:D:/video/009.ts'
ffmpeg -f concat -safe 0 -i m.txt -c copy new.mp4

快速生成绝对路径配置

> (for %i in (*.ts) do @echo file 'file:%cd%\%i') > mylist.txt
> ffmpeg -f concat -safe 0 -i mylist.txt -c copy new.mp4


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM