[FFmpeg-user] How to convert video.ts to video.mp4 efficiently?
Moritz Barsnick
barsnick at gmx.net
Wed Apr 14 17:03:31 EEST 2021
On Tue, Apr 13, 2021 at 17:49:55 +0200, Bo Berglund wrote:
> Question:
> Is there a quicker way to just go from ts to mp4 so the file format is OK even
> though the video size remains at 1280x720?
>
> (I could live with the size even though the disk storage takes a hit...)
Yes, by remuxing, i.e. using the "copy" codec for video as well:
$ ffmpeg -i %INFILE% -c copy %OUTFILE%
or, as Carl suggested:
$ ffmpeg -i %INFILE% -c copy -movflags +faststart %OUTFILE%
As mentioned, the suffix .mp4 already implies the format you are trying
to achieve.
Cheers,
Moritz
More information about the ffmpeg-user
mailing list