How to rotate videos (and retain quality)?
Brian Cluff
brian at snaptek.com
Wed Nov 24 02:30:20 MST 2010
It appears that you are trying to rotate audio from your example... Most
people take LSD for that :)
mencoder defaults to a rather low bitrate, so you get nice small,
grainly videos.
I believe that you need to explore the -lavcopts vbitrate=<some number>
option.
Something like:
mencoder -ovc lavc -vf rotate=1 -lavcopts vbitrate=1500 -oac
video_in.mpg -o video_out.mpg
The default vbitrate is 800, so play with that number until you get a
good balance of quality and video size. That number should also change
depending on the image size of the video... smaller videos can use
smaller bitrates. If you are doing HD video, you might need much bigger
than the 1500 I put in my example.
Brian Cluff
On 11/23/2010 05:46 PM, joe at actionline.com wrote:
>
> Searching the 'net for a simple command-line solution for rotating videos,
> I found one method using 'mencoder' but the quality deteriorated terribly.
>
> mencoder -ovc lavc -vf rotate=1 -oac pcm input.mp3 -o input2.mp3
>
> Is there a modification to retain the image quality ... or another better
> solution?
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
More information about the PLUG-discuss
mailing list