Monday, 15 March 2021

How to compress video to mp4 using FFMPEG?

ffmpeg -i input.name -vcodec libx264 output.mp4

ffmpeg -i input.name -vcodec mpeg4 output.mp4

(these videos are playable by browser)


 ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4

No comments:

Post a Comment