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
posted @   Ajanuw  阅读(995)  评论(0编辑  收藏  举报
编辑推荐:
· DeepSeek 解答了困扰我五年的技术问题
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 用 C# 插值字符串处理器写一个 sscanf
· Java 中堆内存和栈内存上的数据分布和特点
· 开发中对象命名的一点思考
阅读排行:
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· DeepSeek 解答了困扰我五年的技术问题。时代确实变了!
· 本地部署DeepSeek后,没有好看的交互界面怎么行!
· 趁着过年的时候手搓了一个低代码框架
· 推荐一个DeepSeek 大模型的免费 API 项目!兼容OpenAI接口!
历史上的今天:
2019-09-25 js bese64转化为blob使用FormData上传
点击右上角即可分享
微信分享提示