Created
November 6, 2009 19:00
-
-
Save boscomonkey/228182 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# Use mencoder to create a video from image and audio files | |
# http://fmtyewtk.blogspot.com/2009/10/how-to-create-video-from-mp3-using.html | |
# suggests that we cannot use just 1 image file but the following seems to work (though | |
# vlc reports the video codec is NOT h264) | |
mencoder "mf://$1" -mf fps=1/60 -audiofile "$2" -oac mp3lame -ovc lavc -lavcopts vcodec=libx264 -noskip -mc 0 -ovc copy -o "$3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment