Merge image and audio file - FFMPEG

Merge files by FFmpeg:

ffmpeg.exe -loop 1 -i image.jpg -i audio.mp4 -acodec copy -vcodec mjpeg merged.avi


Tricks avconv/ffmpeg, SOX, ImageMagick

Convert video to images:

avconv -i -sameq output/%09d.png
avconv -i -same_quant output/%09d.png

Create video / timelapse: 5frames/s, best quality -qscale 1

ffmpeg -r 5 -qscale 1 -i input/%09d.jpg output.avi

Rename/sort images for avconv/ffmpeg input criteria:

Subscribe to ffmpeg