[MPlayer-users] newbie: how can I rotate an .avi and preserve the file type/codecs

Andreu Escudero lemon at canuda.net
Thu Sep 4 11:44:56 CEST 2003


> Same result. I any other options?
> Mike

Yes, read better the documentation, -vop options are in reverse order, so you
should do mencoder -vop scale=720:576,rotate=2
in order to do first the rotation, and after that the scaling over the rotated
image. I have just tried it on a video and it works.
Andreu.


> 
> Output of command:
> mencoder -vop rotate=2,scale=720:576 ./verbouw184.avi -ovc libdv -oac 
> copy \ -o ./verbouw184r.avi Using GNU internationalization Original 
> domain: messages Original dirname: /usr/share/locale Current domain: mplayer
> Current dirname: /usr/share/locale
> 
> MEncoder 0.90-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)
> 
> CPU: Advanced Micro Devices  (Family: 6, Stepping: 0)
> Detected cache-line size is 64 bytes
> SSE supported but disabled
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Reading /home/thuis/.mplayer/codecs.conf: can't open 
> '/home/thuis/.mplayer/codecs.conf': No such file or directory
> Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
> File not found: 'frameno.avi'
> Reading config file /home/thuis/.mplayer/mencoder: No such file or directory
> success: format: 0  data: 0x0 - 0x1AC2778
> AVI file format detected.
> VIDEO:  [dvsd]  720x576  24bpp  25.00 fps  28800.0 kbps (3515.6 
> kbyte/s) [V] filefmt:3  fourcc:0x64737664  size:720x576  fps:25.00  ftime:=0.0400
> Opening video filter: [expand=-1:-1:-1:-1:1]
> Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
> Opening video filter: [rotate=2]
> Opening video filter: [scale=720:576]
> ==========================================================================
> Opening video decoder: [dshow] DirectShow video codecs
> Decoder supports the following YUV formats: YUY2 UYVY
> Decoder is capable of YUV output (flags 0x9)
> VDec: vo config request - 720 x 576 (preferred csp: Packed YUY2)
> [PP] Using codec's postprocessing, max q = 4.
> VDec: using Packed YUY2 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 1 -> 1
> 
> SwScaler: BICUBIC scaler, from Packed YUY2 to RGB 24-bit using MMX2
> DV: only 720x480 (NTSC) and 720x576 (PAL) resolutions allowed! try 
> with -vop scale=720:480 Selected video codec: [qdv] vfm:dshow (Sony 
> Digital Video (DV))
> ==========================================================================
> audiocodec: framecopy (format=1 chans=2 rate=32000 bits=16 bps=128000 
> sample=4)
> Writing AVI header...
> Pos:   7.5s    187f (100%)  13fps Trem:   0min  22mb  A-V:0.040 [23999:1023]
> Writing AVI index...
> Fixing AVI header...
> 
> Video stream: 24000.000 kbit/s  (2999999 bps)  size: 22440000 bytes  
> 7.480 secs  187 frames
> 
> Audio stream: 1024.000 kbit/s  (127999 bps)  size: 957440 bytes  7.480 
> secs Total Unfree 1146 bytes cnt 13 [(nil),0]
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users


--
Canuda Dorf auf die Berge Projekt (http://canuda.net)
--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)



More information about the MPlayer-users mailing list