Last active
August 29, 2015 14:04
-
-
Save buckyball/2f9ee1526c52749557b4 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/bash | |
# | |
# run this within the dir containing the cam images | |
# | |
# replace moviename, xx, yy with the values you prefer | |
# the resulting movie file will be named according the | |
# parameters you choosed | |
# | |
### PARAMETERS: | |
# | |
FPS=60 | |
BITRATE=1200 | |
MOVIENAME=combined_x264_${FPS}fps_${BITRATE}br.mkv | |
# | |
# | |
# Start encoding | |
# alternate with scaling: | |
# mencoder mf://*.jpg -mf fps=60:type=jpg -ovc x264 -x264encopts bitrate=600:threads=auto -vf scale=320:240,noise=8a:4a -nosound -o haustuer_film_60fps_600br_320x240px.mkv | |
mencoder mf://*.jpg -mf fps=${FPS}:type=jpg -ovc x264 -x264encopts bitrate=${BITRATE}:threads=4 -o ${MOVIENAME} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment