Tuesday, February 21, 2017

Use ffmpeg to convert your videos

ffmpeg -i products_video.mp4 -c:v h264 -an products_video_h264.mp4 # Convert to MP4 ffmpeg -i products_video.mp4 -c:v libtheora -an products_video_libtheora.ogv # Convert to OGV ffmpeg -i products_video.mp4 -c:v libvpx -an products_video_libvpx.webm # Convert to Webm ffmpeg -i products_video.mp4 -c:v h264 -an -filter:v scale=720:-1 products_video_h264_720.mp4 # Convert to MP4

No comments:

Post a Comment