Image and video conversion with FFmpeg and ImageMagick

Convert an AVI to MP4

ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a aac -b:a 192k -ac 2 out.mp4

Auto orient, resize and change quality of an image

convert -auto-orient input.jpg -resize 2048 -quality 80 output.jpg

© 2007-2018 Patrick Lambert - All resources on this site are provided under the MIT License - You can contact me at: