forked from gemini3d/mat_gemini-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvid_encode2.sh
More file actions
13 lines (11 loc) · 839 Bytes
/
vid_encode2.sh
File metadata and controls
13 lines (11 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# consider using ffmpeg, it's simpler than this.
#mencoder "mf://$1/*.png" -mf fps=$3 -o $2 -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=9600
#mencoder "mf://$1/*.png" -mf fps=$3 -o $2 -ovc lavc -lavcopts vcodec=msmpeg4v2
#mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o output.avi
#mencoder mf://*.png -mf w=1275:h=1275:fps=$3:type=png -ovc raw -oac copy -o $2
#WORKS FOR ALMOST EVERYTHING
#mencoder mf://*.png -mf w=1275:h=1275:fps=$3:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o $2
#WHEN THERE ARE QUALITY ISSUES
#mencoder mf://*.png -mf w=1275:h=1275:fps=$3:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=5000 -oac copy -o $2
mencoder mf://$1/*.png -mf w=1275:h=1275:fps=$3:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=5000 -oac copy -o $2