Hier ein paar kurze Tricks für den MEncoder vom MPlayer.
Rotate:
mencoder -ovc lavc -oac copy -o output.avi -vf rotate=0 input.avi
Mögliche Werte für Rotate:
- 0 - Drehe um 90 Grad im Uhrzeigersinn und stelle das Bild auf den Kopf
- 1 - Drehe um 90 Grad im Uhrzeigersinn
- 2 - Drehe um 90 Grad gegen den Uhrzeigersinn
- 3 - Drehe um 90 Grad gegen den Uhrzeigersinn und stelle das Bild auf den Kopf
mencoder -ovc copy -nosound input.avi -o output.avi
Change Sound:
mencoder -ovc copy -audiofile tonspur.mp3 -oac copy input.avi -o output.avi
Create x264:
mencoder-mt -ovc x264 INPUT.avi -x264encopts level_idc=12:bframes=3:subq=7:partitions=all:8x8dct:me=esa:me_range=23:frameref=6:trellis=1:weight_b:mixed_refs:threads=auto:qcomp=0.6:keyint=250:min-keyint=25:direct=temporal -vf scale=1440:1080 -oac lavc -lavcopts acodec=libfaac:abitrate=56 -srate 48000 -af channels=2 -of lavf -ofps 25 -lavfopts format=mp4 -o OUTPUT.mp4