Last active
March 28, 2021 09:51
-
-
Save ybagheri/d273571cb42050723808f82b75c1152b to your computer and use it in GitHub Desktop.
ffmpeg convert FLV to MP4 solve error Could not write header for output file - add text subtitles avi to mkv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ffmpeg convert FLV to MP4 | |
ffmpeg -i 'input.flv' -vf "scale=2*trunc(iw/2):-2" 'output.mp4' | |
## add text subtitles avi to mkv | |
ffmpeg -i 'input.avi' -i subtitles.srt -scodec copy combined.mkv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment