mbohun
12/5/2012 - 6:26 AM

making of gameplay video - linux / frame dump / ffmpeg

making of gameplay video - linux / frame dump / ffmpeg

# - from within an application dump frames (in PNG format) into some output dir; and save/record the audio into a file
# - convert the frames (with imagemagick) to JPEG format? (or does ffmeg do this for us too?)
# - use ffmpeg to make a footage
#
$ ffmpeg -i frames%d.jpg -vcodec mpeg4 video.mp4

# - add the audio to the footage
#
$ ffmpeg -i video.mp4 -i audio.mp3 -vcodec copy -acodec copy result.mp4 -newaudio

# optionally use mplayer/mencoder to transcode the footage further ...