Sound going on and off
|Assignee:||Alexandre Zia||% Done:|
|Found in version:||several, latest included||Platform:||PS3|
Sometimes sound keeps deactivating and reactivating and the video stutter.
I can see it changing from 5.1 to stereo
Using latest development version of showtime.
My PS3 is using optical audio out.
I've attached a sample file, this shows up in the first 2:30 minutes.
#1 Updated by Tony Miker about 1 year ago
FYI: I changed my PS3 audio settings from Optical Digital to HDMI, and the "AUDIO (DEBUG): PS3 audio port 0 opened /AUDIO (DEBUG): The state is 1" glitch still occurs. With sound going to my TV through HDMI the glitch is actually a bit worse as it often sounds like a burst of static. When sound is set to use an optical connection to my stereo the stutter is silent.
Also, here's the thread with the original reports
#9 Updated by Tony Miker about 1 year ago
I think this issue is related to the size and/or state of certain buffers, which is why I've only seen it with 720p and higher videos. Let me explain.
I've had trouble making small sample files that cause the glitch. I had (incorrectly) guessed that TSmuXer or MKVToolNix might be "repairing" the audio stream when making my samples, so I switched to using the unix command "split" to preserve the exact binary.
"split -b 15M" and "split -b 30M" made 15 MB and 30 MB samples that played fine.
"split -b 40M" made a sample with immediate audio glitches.
"split -b 35M" made a sample with audio glitches, however they lasted only a few seconds (in comparison to the 40 MB sample) until the packet buffer (viewed with L3) started to empty.
So it looks filling the packet buffer is neccessary to cause this bug. Unfortunately, 35 MB exceeds my upload capacity right now, but I'll try to work something out.