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