[vlc-devel] Re: rotate de image in a video on a Zaurus

Juan Antonio Martinez Navarro juanantonio at dif.um.es
Tue May 23 12:03:28 CEST 2006


El mar, 23-05-2006 a las 11:08 +0200, Jean-Paul Saman escribió:
> Juan Antonio Martinez Navarro wrote:
> > El mar, 23-05-2006 a las 10:36 +0200, Jean-Paul Saman escribió:
> > 
> >>Juan Antonio Martinez Navarro wrote:
> >>
> >>>Hello,
> >>>
> >>>I need to rotate the image when in a video, but I don't know how to do
> >>>it. Could you help me?
> >>>Is there any code to do it?
> >>>
> >>>Thanks
> >>
> >>Screen orientation is the domain of the window manager. So VLC takes 
> >>uses the same orientation as the window manager.
> > 
> > The problem I have is that the device I'm working with is a Zaurus
> > SL-C3100 and you can change the orientation of the screen. But when I
> > open the device, as if was a laptop  I have this shape.
> > 
> > +-------------------------------+
> > |                               |
> > |                               |
> > |                               |
> > |                               |
> > |                               |
> > |                               |
> > |                               |
> > |                               |
> > +-------------------------------+
> > with a display dimension of 480 x 600.
> > 
> > But when I play a video with VLC it tries to open in this way
> > +--------------------+
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > |                    |
> > +--------------------+
> > So I can't see the video in the right way because it exchanges the
> > values of the width and height playing the video thinking that the
> > orientation of the shape is the second one.
> > 
> > Any advise? :-)
> Start VLC with --width=600 and --height=480. You might need to adapt the 
> desktop shortcut to always open in that dimension.
> 

If I do that, there is a problem.
+============================+===============================+
|                            |                               |
|                            |                               |
|                            |              2                |
|                            |                               |
|           3                |                               |
|                            |                               |
|                            |                               |
|                            |                               |
|                            |                               |
|                            |                               |
|                            |                               |
|                            |                               |
+============================+===============================|
|                            |
|                            |
|                            |
|                            |
|           1                |
|                            |
|                            |
|                            |
|                            |
+----------------------------+
The number 1 shows de screen dimension h=640 w=480. The number 2 shows
how it interpretates the video size h=480 w=640. So if I put vlc with
those dimensions I can't see the video correctly. That's why I need to
change the orientation of the video. The temporal solution I choose is
W=360 H=480 because with this size the video fits the screen device (3).

Gtz,
> Gtz,
> Jean-Paul Saman
> 
-- 
Juan Antonio Martínez Navarro <juanantonio at dif.um.es>
Departamento de Ingeniería de la Información y las Comunicaciones
Facultad de Informática
Universidad de Murcia
Teléfono: +34-968-367938

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list