ECToo / lavfilters

Automatically exported from code.google.com/p/lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

audio lag noise when CPu usage is high (too forcefull sync) #432

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the issue you're having:
on 1080p Hi10P videos with high bitrate 5000+ On all streams I have little 
audio lag noise from time-to-time, if audio is played separately from video - 
there is no noise.

How can the issue be reproduced? Sample File?
try any 1080p Hi10P with high kbps and make an artifical lag\pressure so CPU 
win't be sufficient - you'll hear it.

What version of the product are you using? In which Player?
MPC HC Build information:
Version: 1.7.3.45 (7862ae3)
Compiler: MSVC 2013 (SSE)
Build date: Feb 19 2014 01:05:05
LAV Filters:
LAV Splitter: 0.60.1.40
LAV Video: 0.60.1.40
LAV Audio: 0.60.1.40
FFmpeg compiler: MinGW-w64 GCC 4.8.2
Operating system:
Name: Windows NT 6.1 (build 7601, Service Pack 1)
Version: 6.1

Please provide any additional information below.
I asked for help on MPC HC tracker and in MadVR thread 
https://trac.mpc-hc.org/ticket/4076http://forum.doom9.org/showpost.php?p=1671023
&postcount=23996
madshi said it's the audio decored's or splitter's fault, even though this 
problem doesn't exist in madvr versions 020 and prior (audio just doesn't sync 
with the video there - so there is no noise), so my assumption is that the 
culprit is too aggressive audio\video syncer somewhere in LAV (I tried turning 
of all framestams and A\V sync options available in LAV - didn't change a thing)

Possible resolutions:
- less aggressive syncer?
- higher priority for audio sync?
- replace noise with silence? (if even possible)
- something else

Original issue reported on code.google.com by OwynTyler on 28 Feb 2014 at 11:43

GoogleCodeExporter commented 9 years ago
LAV only decodes the audio as fast as it gets CPU, its not responsible for 
syncing it to the video or sending it to the speakers. Only the audio renderer 
can cause this.

Original comment by h.lepp...@gmail.com on 28 Feb 2014 at 1:43

GoogleCodeExporter commented 9 years ago
Well, it says I'm using "Lav audio decoder (internal)" - isn't that yours?

Original comment by OwynTyler on 28 Feb 2014 at 4:57