obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.39k stars 7.99k forks source link

Stinger Transition with Audio is being cut early #9755

Open Baylem opened 1 year ago

Baylem commented 1 year ago

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/ttOw2z8v8d4rhBaS

OBS Studio Crash Log URL

No response

Expected Behavior

I expect the full audio of the file to be played out rather than cut early

Current Behavior

When playing the transition the audio will be cut abruptly instead of continuing

Steps to Reproduce

  1. Create 2 scenes
  2. Create a 4 second stinger transition with audio
  3. Swap between the two scenes ...

Anything else we should know?

The File Type is AVI The Stinger file is 4 seconds The Transition Point is 1.5 seconds The Audio is being cut around 2.5 seconds

gxalpha commented 1 year ago

Please provide the stinger file you're testing with.

Also, could you try this with the "Preload Video to RAM" option enabled? That should rule out decoding performance issues.

Baylem commented 1 year ago

@gxalpha Thanks, I have tested the Preload Video to RAM and the issue is still occurring, however as far as the stinger file goes, its a custom commission for a customer graphic and audio (art of their model that has not been released yet) that I would rather not post publicly without their permission.

I reached out to someone on the discord and they are going to share the file with you internally

gxalpha commented 1 year ago

@Baylem thank you, I received the file. I was able to reproduce the problem.

Logging my initial findings:

PatTheMav commented 1 year ago

Does the same issue occur when the AVI is converted to VP9 or ProRes? If it doesn't that might suggest that either the timecodes in the AVI are broken or our handling of the timecodes is.

Baylem commented 11 months ago

@gxalpha Would you be able to test what @PatTheMav suggested or do I need to figure it out and reply? (I'm not familiar with audio files/encoding is why I'm asking, I apologize)