-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmencoder.txt
26 lines (17 loc) · 863 Bytes
/
mencoder.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Mencoder scripts
# Encoding images into video
mencoder mf://rootsdyna*.png -mf fps=12:type=png -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
mencoder mf://rtpth*.png -mf fps=16.66:type=png -ovc xvid -xvidencopts pass=2:bitrate=20312500 -oac copy -o videoxvid2.avi
#Encoding from reversed list
ls -r *.png >> filelist.txt
mencoder "mf://@filelist.txt" -ovc lavc -o aegeespirit2.avi
# Adding sound
mencoder -ovc copy -audiofile silent.mp3 -oac copy input.avi -o output.avi
#Concatenating
mencoder -oac copy -ovc copy -forceidx foo1.avi foo2.avi -o foo.avi
#Rotating
mencoder -vf rotate=2 -o rotate.avi -oac pcm -ovc lavc output.avi
#Mirror
mencoder -vf mirror -o rotate.avi -oac pcm -ovc lavc output.avi
#Scaling
mencoder moonagerot.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -vf scale=1024:680 -o moonagescale.avi