Project

General

Profile

Gallery » mencoder_pnganim.sh

Rogers, Chris, 15 May 2012 17:10

 
1
#!/usr/bin/sh
2
#use mencoder to encode all files *.png of png format to output.avi
3
#fps is output frames per second
4
#this encoding can be read by e.g. windows media player (tested with wmp under vista)
5
#
6

    
7
mencoder mf://animation*.png -mf fps=10:type=png -ovc lavc -lavcopts vcodec=msmpeg4v2:mbd=2:trell -oac copy -o output.avi
8

    
(9-9/12)