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