Ffmpeg convert to mp4 h2645/28/2023 ![]() For example, here's how to convert a video to MPEG-4: $ ffmpeg -i input.mp4 -c:v mpeg4 output.mp4 Converting a video to MP3 Simply pass the codec to FFmpeg with the -c:v argument to convert it to one of the formats. Simply use the following command to convert any video to VP9: $ ffmpeg -i input.mp4 -c:v libvpx-vp9 output.webm Supported video formats by FFmpegįor a list of all the video formats that FFmpeg supports, use the following command: $ ffmpeg -codecs Support for VP9 has greatly increased in recent years, making it a solid choice for online video. VP9 is a video format developed by Google that offers better video compression than H.264. Alternatively, if you also want to convert the audio track to a modern audio format such as AAC, use -c:a aac. ![]()
0 Comments
Leave a Reply. |