0
votes

I have an MP4 video file of 720p and I want to convert it to different video formats using FFMPEG,
I'm using FFMPEG 4.4 under Windows 10.
The list of the targeted formats are listed below :
.asf, .f4v, .ismv, .m4v, .mpeg, .avi, .flv, .mkv, .mov, .mts, .mxf, .nut, .vob, .wmv
I tried this command but the output is losing quality and for some formats the conversion process is very slow.

ffmpeg -i input.mp4 output.asf (same for other formats)
1

1 Answers

0
votes

First try

ffmpeg -i input.mp4 -c copy output.xxx

This will keep the video & audio streams as is. As long as the output format supports the input codecs, you are good to go. For incompatible containers, you need to reencode and an option argument to set encoding quality depends on which codec. Note FFmpeg may generate output with incompatible codecs, so make sure to try all your outputs and note which one didn't result in working video.