Use libVLC for video playing?

Discuss the future of Warzone 2100 with us.
Post Reply
User avatar
Ezio
Trained
Trained
Posts: 306
Joined: 24 Apr 2010, 16:42

Use libVLC for video playing?

Post by Ezio »

i think this might be a good idea, since vlc is open source and support cross-platform.
and i found a qt-vlc on git which we can use as a sample for developing
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Use libVLC for video playing?

Post by Buginator »

Ezio wrote:i think this might be a good idea, since vlc is open source and support cross-platform.
and i found a qt-vlc on git which we can use as a sample for developing
Why do we need this ? :hmm:
The one we have now works pretty well.
and it ends here.
User avatar
Ezio
Trained
Trained
Posts: 306
Joined: 24 Apr 2010, 16:42

Re: Use libVLC for video playing?

Post by Ezio »

just forget it :D, I thought that our sequence player are using a lot of cpu and probably vlc can do better. but then i realized that we can't easily change it since took another lot of works and probably buggy.

and anyone know why when we're allocating video to memory we multiply it by 4 in here?
L293
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Use libVLC for video playing?

Post by Safety0ff »

Ezio wrote:and anyone know why when we're allocating video to memory we multiply it by 4 in here?
L293
Looks like it is because it is RGBA format (8bits per channel = 4 bytes).
Post Reply