H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
206 stars 81 forks source link

Add WebM support to PlasmaMax #3

Open branan opened 13 years ago

branan commented 13 years ago

Another one of those cross-platform things

Hoikas commented 13 years ago

libavcodec seems a bit heavy-weight just for some videos, don't you think? I wouldn't mind so much if libavcodec actually supported the bik files, but AFAIK it does not. I think I would prefer using dirac or theora and converting the bink movies.

dpogue commented 13 years ago

libavcodec claims it supports Bink. There's also the old plLayerAVI class that used Win32 calls to play avi files, which libavcodec can also handle nicely.

All in all, I'm in favour of replacing it with libtheora too.

Hoikas commented 13 years ago

Ah, well, if libavcodec's Bink support is up to par, then I'm cool with using that. It would be nice to have plLayerAVI working as well, even if no one in their right mind would use it.

dpogue commented 13 years ago

In theory, with libavcodec, we wouldn't need plLayerAVI and plLayerBink... plLayerMovie could use libavcodec directly to play any supported format (including Theora).

Hoikas commented 13 years ago

Just to restate the obvious here, libavcodec and zlib have some symbols with the same name, which causes some really ugly problems. Looks like we're going to need to stick with libtheora.

GPNMilano commented 10 years ago

Is this still on one of the backburners? I'm asking because video in Uru was underused in the past, and as content creation goes I can see video being used on things like imagers in ages being alot more viable than having to animate npcs.

dpogue commented 10 years ago

It's somewhere on the backburner. When the Bink fiasco happened, we tried to get WebM video working, but never got the right set of parameters to make it play properly.

I know @Deledrius and @Hoikas took stabs at it, and it's some sort of bitrate parameter or something that caused audio or video to turn into garbage when played.

Deledrius commented 10 years ago

We have a decent amount of it done, but lack of good documentation and lack of time to get through those aforementioned bugs has kept this from completion.

I'd love to see movie layers used, too... (the Myst 5 linking panels were better than Uru's static ones)

GPNMilano commented 10 years ago

Okay. Thanks for the status update. I know you guys are busy with other stuff as well as daily living so feel free to take your time. I know you'll get to it when you have the chance.

Deledrius commented 9 years ago

Well, we ended up using VP9+Opus in WebM by the time this was done, but it is now mostly addressed by #458!!

I would close this issue, but I believe wiring up the plugin to export using this new format is not yet implemented.