![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
音视频
LF-DevJourney
这个作者很懒,什么都没留下…
展开
-
带有空格的文件名参数处理。
设置IFS为\n(IFS=$'\n'; ffmpeg -i $file) 处理文件名为my video.mp4的视频文件。FFmpeg Error ( no such file or directory error)Bash and filenames with spacesLooping through files with spaces in the names? [duplic...原创 2020-04-11 10:07:35 · 1171 阅读 · 0 评论 -
如何播放或拼接视频 ts
对于文件名有序的 ts 文件如 xxxxx_1.ts, xxxxx_2.ts,… 就很容易处理。使用如下指令就可以 cat *.ts | ffmpeg -i pipe: -c:a copy -c:v copy out.mp4 ,可以参考我对这个 Use ffmpeg copy codec to combine *.ts files into a single mp4 问题的回答。对于无序的 ts...原创 2019-08-06 08:59:42 · 7167 阅读 · 0 评论