...: nabster :...


contents

tif2xvid.sh

# ./tif2xvid.sh script # change the framerate if you need to # framerate=50 # # # create raw mpeg4 video file nice ffmpeg -r framerate -i $1%06d.tif -vcodec mpeg4 -b 4000k -s 1280x720 -pass 1 -passlogfile $1-xvid.passlog -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -bf 2 -r 100 -y -r framerate $1.m4v nice ffmpeg -r framerate -i $1%06d.tif -vcodec mpeg4 -b 4000k -s 1280x720 -pass 2 -passlogfile $1-xvid.passlog -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -bf 2 -r 100 -y -r framerate $1.m4v rm $1-xvid.passlog # # add in audio # nice ffmpeg -i $1.m4v -vcodec copy -i $1.mp3 -acodec copy $1.avi # audio re-encoding parameters if needed # -acodec libmp3lame -ac 2 -ar 44100 -ab 224k # chmod og+rw * # mount /media/usbstick cp $1.mpg /media/usbstick/video umount /media/usbstick # boot-game-os

No comments:

Post a Comment