Webm in a animation?

Can i call webm to play in a middle of an animation, per example freespecials?

Is there a script or something?

That will save lots of time! (better than animated gif... frame by frame...)
 
nsw25

there is options,

1 the stage music still plays,  the webm is silent, & you spawn a sound file (like a punch or enemy scream) that s long & in sync with the video - I recommend it contain just character voices & sound effects with NO music.

2 Stage music still plays, but it's volume is lowered, the webm plays & the sound is spawned it can now contain it's own music in the mix & after that the scrip/commandt itself ends with the background music's volume restored

3 this one was for an experiment in Dynamic music, you spawn invisible or decoration entities that  play their own "Music segments"  (in reality their screams) & control if they follow & die at certain points, i still cant figure out if an entitie's sound can be faded - but anyway, the  background music is composed of all the entities combined "walking " along side you trough the duration of the stage & since all music is composed of "complex screams" the webm's music should not affect them (this one is untested) the simplest way to test is to have an entity follow you around making noise & test the webm

drawbacks: the 3rd option is probably taxing on the system, all 3 options can only feature mono-sound, no stereo panning seems to be possible
 
These are some weird resolutions, IMO if 1080, 720, 480 and 4k are working, its a non issue for me but interesting info.IMO You should adapt to resolutions that are working and just move on like usual.
 
haha it happened to me several times, i think You should try to export webm again, it doesnt mean myuch if your pc player plays it, maybe try out regular resolutions like i mentioned, i know openbor works in 1080.
 
nsw25,

bWWd is right. The player in your PC isn't just a single player. It's a container app with dozens of players and decoders that it can select on the fly to play pretty much anything you give it. OpenBOR has one player/decoder and that's it. Frankly, I have no clue how said decoder works. Plombo added webm support and as I understand it's more or less a plug in. But I would bet it only plays videos with a proper 4:3 or 16:9 aspect ratio. That's where I'd start.

DC
 
You can resume the stage music after, but you can't play during. Video and music files are both streamed live from the pak data - it's impossible to do both at the same time.
@DCurrent Does this apply to SFX as well? Meaning if have a sfx on a loop and a (soundless) webm plays the sfx will be stopped?

Edit: okay I've tested this and it works after going through a lengthy process just to get a webm vp8 codec video to test.
 
Last edited:
Can i call webm to play in a middle of an animation, per example freespecials?

Is there a script or something?

That will save lots of time! (better than animated gif... frame by frame...)
How about you look at this? Maybe you could do it with webm similar to gif.

 
Back
Top Bottom