Created
December 5, 2012 06:26
-
-
Save mbohun/4212997 to your computer and use it in GitHub Desktop.
making of gameplay video - linux / frame dump / ffmpeg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - 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 ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment