Solved Audio lag in Firefox 57

Anyone have this problem where YouTube videos' audio track is out of sync?

It's probably over a second, it's very unpleasant...

Anyone knows how to fix this?
 
I wish I knew of a video player that has a knob to adjust audio/video delay.
Maybe VLC has a such knob hidden in the haystack of options it offers?
That delay issue is really aggravating, but it is system-immanent as there are two different signal processing paths are running asynchronously. You can only correct by delaying one stream, audio either video. Like professional studio equipment can do.
 
I don't know about doing it from firefox, but both mplayer and mpv have keys to adjust audio delay. With mpv it's ctl + and ctl -. (Control plus and control minus) I've forgotten mplayer's.
 
What?

No... it's a new problem, it was fine before, like minutes ago...

Sadly, I don't have a convenient snapshot to revert to, or else I'd try that... I really don't feel like fiddling with this right now...
 
Sadly, it is not. Probably you only noticed because it got so grossly out of sync.
Most people do not notice small delays like maybe 1/5th second, but some do and find that very annoying when watching carelessly produced TV.

The worst thing is that this is also dependent who made the raw material.
Badly produced material can even have varying delays in the same broadcast, when the material cut in has not been synched well.

I find most annoying when I hear things before I see them, even if it is only a small fraction of a second.
 
o... it's a new problem, it was fine before, like minutes ago...
If you havn't changed or updated something then how would it help to have a snapshot at hand?

Why not start investigating with top if something is eating up CPU time.
If that's ok, try other videos on youtube and see if they are also laggy.
Try watching that laggy video in another browser.
 
I'm still hopeful maybe someone knows what it is already...

It's not the Firefox binary, at any rate... I tried running my previous build...
 
Yeah, just keep on waiting for the magic that fixes all your problems without you doing anything yourself... Good luck.
 
I wish I knew of a video player that has a knob to adjust audio/video delay.
Maybe VLC has a such knob hidden in the haystack of options it offers?
...
In VLC, there's Tools -> Track Synchronization that let's you adjust the audio synchronization. I think these are bound to shortcuts j and k by default as well.
 
In VLC, there's Tools -> Track Synchronization that let's you adjust the audio synchronization. I think these are bound to shortcuts j and k by default as well.
Sounds cool, thanks!
I think I have read somewhere that it is even (at least theoretically) possible to plug in VLC into Firefox as player. Will search for that some time.
If that's possible, the audio lag issue could be past...
 
Yeah, just keep on waiting for the magic that fixes all your problems without you doing anything yourself... Good luck.

Thank you ^_^

p3rj: VLC doesn't work for me, but movies are perfectly synced in MPV... It's not a software, it's not PulseAudio, it's probably a library Firefox uses... idk...

I'll try to figure it out later, I was just wondering if anyone already knew what was doing that... I had this problem before, but it resolved itself as I was doing other things, so I never ended-up looking into it...

It's just Firefox, or any videos played through it... YouTube, anything streaming, even local files dragged to a tab...
 
Uh... it resolved itself...

I just kept watching stuff, and the problem doesn't appear to be present anymore...

I guess something needs stuff to play for a while to calibrate itself? Maybe a scheduled task?

I think the problem appeared after I upgraded Firefox, but I'm not sure... I'm curious what happened now... I'll let you know if I ever find out...
 
Back
Top