[FFmpeg-user] How to convert video.ts to video.mp4 efficiently?
James Darnley
james.darnley at gmail.com
Tue Apr 13 22:19:38 EEST 2021
On 13/04/2021, Bo Berglund <bo.berglund at gmail.com> wrote:
> $ ffmpeg -i 2021-04-13_input09.ts -vf -c:v libx264 -preset fast -crf 20 -c:a
> copy 2021-04-13_input09.mp4
Read the command line better. You have "-vf -c:v" in there so it
thinks "libx264" is an output file you want. It cannot guess what
format that should be so shows you that error.
To address your original point, using "-c copy" is an idea if you just
want to change the ts container into an mp4 container. No costly
encoder required but you cannot change the properties of the video
stream such as the size.
More information about the ffmpeg-user
mailing list