ffmpeg: add subtitles to mp4 with out creating a new file

房东的猫 提交于 2019-11-26 22:07:37

问题


ffmpeg -i infile.mp4 -i infile.srt -c copy -c:s mov_text outfile.mp4

adds subtitles to mp4 video but it creates a new file instead just adding few blocks of data to existing file.

Is there a way to modify existing video instead of creating a new one?

subler does it great with in a second, so should ffmpeg.


回答1:


FFmpeg does not do in-place editing.



来源:https://stackoverflow.com/questions/45308561/ffmpeg-add-subtitles-to-mp4-with-out-creating-a-new-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!