Rotation in multiple libvlc:s

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
fred.hild
Blank Cone
Blank Cone
Posts: 41
Joined: 11 Jun 2007 08:40
Operating System: Windows
Location: Uppsala, Sweden

Rotation in multiple libvlc:s

Postby fred.hild » 10 Jul 2007 16:20

Hello
I am building a small program upon the libvlc which has more than one instance of libvlc (want to display more than one video at a time).
When Im trying to rotate one of the videos (with the __config_PutPsz(vlc.SubObject, name, value) ) both of them are affected and are rotated.
Why is this? Is it this way that vlc is built?

I have found out that if I wait a moment between i sets the values only the specified video is affected.
The problem is I dont know what to wait for. It seems to me that vlc sets its variables and then sends
them away to another thread to do the actuall changes. This is a problem to because then I newer know
if the changes is made yet or not.

Gratefull for any help
/ Fredrik

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Rotation in multiple libvlc:s

Postby dionoea » 10 Jul 2007 17:32

What VLC version are you using?
Are you changing the config var before or after the video was started?

(Note that this would be easy to fix if you were using 0.9.0 ... but that's not stable yet so I doubt that you're using it)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

fred.hild
Blank Cone
Blank Cone
Posts: 41
Joined: 11 Jun 2007 08:40
Operating System: Windows
Location: Uppsala, Sweden

Re: Rotation in multiple libvlc:s

Postby fred.hild » 11 Jul 2007 08:46

Im using 0.8.6c.
Im changing the config var before I start the video.
Otherwise i wont get it to work at all.

Is 0.9.0 generally unstable but only unstable in some areas?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Rotation in multiple libvlc:s

Postby dionoea » 11 Jul 2007 11:30

If you're changing the configuration it's expected that it'll impact other libvlcs launched afterwards.

0.9.0 would help if you're using the rotate module, it wouldn't really change much if you're using the transform module.
And it's pretty stable, if you don't use the new Qt interface :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

fred.hild
Blank Cone
Blank Cone
Posts: 41
Joined: 11 Jun 2007 08:40
Operating System: Windows
Location: Uppsala, Sweden

Re: Rotation in multiple libvlc:s

Postby fred.hild » 11 Jul 2007 12:06

Thanks for the answer.

Am I right in that the rotate module only works in 0.9.0?
And its command is --rotate-angle?

I think I will take a look at 0.9.0s libvlc.

How long is it before 0.9.0m becomes stable?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 43 guests