noob: can i use VLC to play FMV in my game engine?

This forum is about all development around libVLC.
khoowaikeong
New Cone
New Cone
Posts: 3
Joined: 25 Feb 2014 07:58

noob: can i use VLC to play FMV in my game engine?

Postby khoowaikeong » 25 Feb 2014 08:12

previously the engine use theora player, but there been complaint about it dropping frame including bits of audio.
also implemented VfW but it is windows only and we plan to support other platform like mac.
I am unfamilar with the VLC library other than having use the player to watch video before.
so is VLC a right tool for video playback in a game engine environment?

I would be mounting the output to a opengl texture to be draw it on screen.
audio wise it would be hook to an openal stream. (or can vlc play audio on its own?)
I assume this should be well within the capability of VLC to produce such data.

but what would be the easiest format file to store the video in for VLC playback?
thanks for any opinion/suggestion

UPDATE 2:
i am guessing this is where i should get started.
https://wiki.videolan.org/Documentation ... eo_Output/
https://wiki.videolan.org/Documentation ... io_Output/
Last edited by khoowaikeong on 25 Feb 2014 11:43, edited 1 time in total.

khoowaikeong
New Cone
New Cone
Posts: 3
Joined: 25 Feb 2014 07:58

Re: noob: can i use VLC to play FMV in my game engine?

Postby khoowaikeong » 25 Feb 2014 10:26

btw are there any standard build lib/dll i can download rather than rebuilding it from source code?
thanks again.

update 1:
assuming there is none, i follow this to build lib.
https://wiki.videolan.org/GenerateLibFromDll/
i assume this could be use with the include file...

while building lib i received warning LNK4017 "X not supported by target platform; ignored"
should i be concerned? :\

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: noob: can i use VLC to play FMV in my game engine?

Postby RSATom » 25 Feb 2014 11:23


khoowaikeong
New Cone
New Cone
Posts: 3
Joined: 25 Feb 2014 07:58

Re: noob: can i use VLC to play FMV in my game engine?

Postby khoowaikeong » 25 Feb 2014 11:42

thanks for sharing :D


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests