• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

VaM 1.x Video sound bugged

Threads regarding the original VaM 1.x

kim05

Member
Joined
Aug 12, 2023
Messages
85
Reactions
18
What the actual fuck is going on with the sound when playing videos on Image atom? I am absolutely livid with how I can't use video with proper sound no matter what I do.

I wanted to add functionality to a static TV in an environment by adding a video to it and use the dafalconer's VideoBiasLight plugin that would give the TV a light source that changes color and contrast of the light it gives off according to the footage.

Exhibit A:


I'm thinking, okay, perhaps I could just mute the Image atom and add AudioSource, then use OnLoad logic brick to start them at the same time so when scene loads both video and audio start at the same time.
Fine, did that.
At this stage the Freeze Motion/Sound checkbox, that I use frequently during posing, becomes the problem because it stops sound, but does not stop video, so when you unfreeze video and sound are desynced.
Fine, fuck it!
Let's add everlaster's Freeze Motion/Sound relay plugin, so Freeze/Motion checkbox can be triggered by other plugins and then add two instances of ConditionalTrigger, one for True state of the checkbox and one for False, then have triggers there set up so that when Freeze Motion/Sound is switched on both video and sound pause at the same time, and when Freeze Motion/Sound is switched off both video and sound continue to play at the same time.
Not only ConditionalTrigger plugin resets every time I load the fucking scene and I have to re-setup the condition for the whole thing to work, the Pause trigger on AudioSource does not actually pause, it does the same shitty 999 ping sound effect as if does not know whether to play or not.

Exhibit B:


The most vexing in al this that when I first set up the everlaster's Freeze Motion/Sound relay plugin and ConditionalTrigger plugin it all worked perfectly, so I did circumvent the initial buggy sound on video problem successfully. Then I saved the scene and 99 other problems sprung up to the point that I can't even keep track of what goes wrong where and when.
I would not venture as far as to imagine someone having the same very specific set of problems in the same circumstances, but perhaps someone had the same issue with the sound (exhibit A) and solved it successfully?

For clarity, this is the setup I made to try and circumvent the bug:


I doubt there is a mistake anywhere in it, like I said, it worked perfectly when I made it then went fucked after I loaded up the scene the next day, but just for the sake of extra info if someone actually reads all this, here you go. I am beside myself and utterly at the end of my rope here, because I've spent hours trying to fix this shit any way I could and it only gets worse. Oh yeah, I did not mention that the AudioSource sometimes just does not unpause because fuck me that's why. I have to check/uncheck the box twice for it to unpause by which point of course it's all desynced already.

I tried removing all other sound sources of which there are three: two instances of VaM Atmosphere and a female atom with VaM Moan 2. Did not work.
I tried removing the plugin that gives off light according to what is happening on the screen. Did not work.
I tried removing VaM Atmosphere Occulsion from the AudioSource that is supposed to sync to the video. Did not work.

My idea for the scene is to create a cozy 90s TV night with the TV being the obvious centerpiece.
If this bug is not fixed the scene will be ruined by default since the sound is fucked on load with or without the use of Freeze Motion/Sound checkbox.
Please, advise if you've made it so far.
 
What is the audio codec used in the video?

Just tried a video with AAC audio on an ImagePanelEmissive and had no problems watching and hearing it.
 
Last edited:
Never had any problem using videos either as Atani. Before throwing some "what the fuck" and kind of dramatic statements, maybe contextualize your experiments in a more chill manner ;)

Almost 100% of the time, video playback issues are a codec related problem, which means that you need to properly compress the files for that use. Video playback in game engines are quite problematic, you need to have flawless files to use them.

Also, resolution, file size, OS, codecs installed matter.
 
What is the audio codec used in the video?

Just tried a video with AAC audio on an ImagePanelEmissive and had no problems watching and hearing it.

Never had any problem using videos either as Atani. Before throwing some "what the fuck" and kind of dramatic statements, maybe contextualize your experiments in a more chill manner ;)

Almost 100% of the time, video playback issues are a codec related problem, which means that you need to properly compress the files for that use. Video playback in game engines are quite problematic, you need to have flawless files to use them.

Also, resolution, file size, OS, codecs installed matter.
Right, what is wrong then?
I just used a normal image panel, does that matter?
1779129026193.png
1779128670314.png
 
Back
Top Bottom