OpenBOR WebM preview release

Status
Not open for further replies.

Plombo

OpenBOR Developer
Staff member
As many of you probably know, I've been working for the past couple of months on support for playing WebM videos in OpenBOR.  This has the advantages of properly synchronized audio/video, smaller file sizes, and access to a much wider range of colors.

It's still not quite ready for prime time, but the implementation is now at a point where I can do an alpha release for the curious! :D

Usage:
Scene text files in this version support have a "video" command used to play WebM videos:
Code:
video {path} {skipone} {noskip}
Path is the path to the video.  The skipone and noskip parameters are optional, and work the same way as the last two parameters of the "animation" command.
Example:
Code:
video data/scenes/myvideo.webm 0 0

Note that for now, the only supported codecs are VP8 for video and Vorbis for audio.  There's no support for VP9 or Opus.

Known issues:
  • If an error occurs during video playback (or you try to play an unsupported file), it will close the engine instead of failing smoothly.
  • I don't know exactly what will happen if you try to play a file with a video track and no audio, but I doubt it will work.
  • You can't take screenshots during video playback.
  • It's currently Windows/Linux only.  Android and Wii support should come eventually.

Have fun and be sure to say what you think! ;D

Download link
 
Great work i have not tested yet.  Just want to check if there are any restrictions on frame rate, bit rate or resolution?
 
bWWd said:
I tried to play bigbuckbunny trailer from here but there is green screen and audio playing.
http://www.webmfiles.org/demo-files/

Weird, that was one of the exact files I used for testing.  Do you get the same thing in both SDL and OpenGL modes?

msmalik681 said:
Great work i have not tested yet.  Just want to check if there are any restrictions on frame rate, bit rate or resolution?

Nope.  It should do the right thing no matter what you give it.
 
It works now! IT was in opengl mode , now when i removed saves it works and plays fine.
What software to encode do you recommend for windows? I tried virtualdub but sound is kinda corrupted after encoding, sound playing speed is messed up even in my video player.
---
Its weird to see so smooth video with sound sync and large amount of colours in openbor, fantastic work !! ;D
 
Works great, my webm plays perfectly on both OpenGL and SDL. The only problem I see is if you attempt to go fullscreen or window while a webm is playing. Sometimes the screen will be black but the audio still plays and you can continue, other times the video will just glitch out and cause OpenBOR to shutdown. It's a shame I can't use this since the newer versions of OpenBOR break too many things in my game.
 
Viper Snake said:
Works great, my webm plays perfectly on both OpenGL and SDL. The only problem I see is if you attempt to go fullscreen or window while a webm is playing. Sometimes the screen will be black but the audio still plays and you can continue, other times the video will just glitch out and cause OpenBOR to shutdown.

Oh, yeah, I can see how that would be the case.  I forgot Alt+Enter was a thing.
 
I found this converter works fine
http://www.videohelp.com/software/XMedia-Recode
Just pick webm and change in audio track panel to vorbis codec.
It even plays fullhd video nicely.
I still have green screen during opengl, i only hear audio, works great in SDL, maybe its nvidia drivers issue , its version 2.5.383.06
 
Just tested this with random webm videos hanging on my computer, and it worked  :D But the player/engine froze at some point in the videos (EDIT : seems it was because I was using wine. Just compiled the lib32 deps I was missing to run the Linux binary and no more freeze).   

Anyway, awesome work Plombo !  8)
 
That's the problem, I go to the downloads section and OpenBOR's empty. There's no tools, no engine binaries, none. This is a problem I've been struggling ever since I was promoted to developer, I think it has something to do with my privileges in my account, it blocked my access somewhat of the downloads page. Trying to ask both DC and Plombo about it, but they still can't figure out why.
 
CRxTRDude said:

One of the several reasons I'd like to dump SMF in the garbage can. Tiny Portal (the plug in required for file management) is a bloated effing' mess. None of the other free forums out there really look much better though - maybe it's time for me to consider a professional solution.

DC
 
So I tested it out, it sure as heck works!  ;D Used it out of the box. Used the Big Buck Bunny sample as the test video and it did work like it should.

Now to ask something, does video only work on scene or can it work on gameplay as well (presumably like in playgif originally)?

And going off topic ...

@DC, yeah. Apparently, SMF has a lot of problems and yeah, there are more better forum solutions out there than SMF, but the question now is the migration of the threads from here over to there. Anyway, whatever solution it may be, as long as everybody can agree and it's for the betterment of the community, then do whatever you think you should. Just saying
 
Im on another machine and here video works on opengl and sdl , engine is crashing when i want to enter fullscreen tho, it didnt happen on machine i used before.
Also in dsl theres green screen for a couple miliseconds before video starts, it doesnt happen on opengl.
 
It crashes on my computer as well when going fullscreen, both OpenGL and dsl

Works great in window mode, tho.
 
Status
Not open for further replies.
Back
Top Bottom