VLC 2.0.0 Audio Stutter

macOS specific usage questions
sonofnothing
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2012 15:30

VLC 2.0.0 Audio Stutter

Postby sonofnothing » 20 Feb 2012 15:38

Just updated my VLC to 2.0.0 on my MBP Intel 64bit. Everything seems to be working fine, until i begin multitasking on my computer. While watching videos in VLC, i will browse the internet for example. When the pages are loading or my computer seems to be downloading data or processing more info, the audio cuts in and out and stutters. Never had this issue before, wondering if anyone else has these problems and knows a fix.

sonofnothing
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2012 15:30

Re: VLC 2.0.0 Audio Stutter

Postby sonofnothing » 20 Feb 2012 15:41

another thing to mention would be that the video stays perfectly smooth. even with the audio cutting in and out, the video doesnt miss a frame

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 20 Feb 2012 15:45

OS X version?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sonofnothing
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2012 15:30

Re: VLC 2.0.0 Audio Stutter

Postby sonofnothing » 20 Feb 2012 15:58

10.7.2 (Lion)
2.2 GHz Intel Core 2 Du
4 GB 667 MHz DDR2 SDRAM

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 22 Feb 2012 05:07

another thing to mention would be that the video stays perfectly smooth. even with the audio cutting in and out, the video doesnt miss a frame
On PowerPC this is also a serious problem. If I absolutely minimise other CPU consumers on my dual 1.8GHz G5 (10.5.8; GeForce FX 5200 AGP, 64 MB*), I can get some 720p to play without stuttering audio, but most of my 720p files stutter badly. I cannot find a way to make them play well, even with the machine close to idle. Since the video is often fully smooth during the periods of stutter, I wonder if this is just a low hanging bug somewhere.

However, in general, 2.0 is a great improvement over older vlc on PPC. I couldn't get 720p to play at all, previously. Somebody has done some outstanding work here. Thankyou!

*—video card may be a little puny. I will be able to test on a dual 2.5 that is my usual home machine and perhaps with a fancier card.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 22 Feb 2012 12:46

Remove libsamplerate_plugin.dylib and libspeex_resampler_plugin.dylib and tell us if that works better?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

abrogard
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Aug 2011 14:28

Re: VLC 2.0.0 Audio Stutter

Postby abrogard » 22 Feb 2012 13:22

I have the same problem. It just started to occur tonight, never before. And I was running VLC 1.

Upgraded to VLC 2 tonight thinking that might fix it but no, the problem is still there.

VLC specific, it seems. WinMediaPlayer plays files okay. MediaplayerClassic plays files okay. mp3 and flv. But not VLC.

I can't find the plugins you mention in my plugin list.

I have an AMD Athlon64 on an ASUS A8NSLI

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 23 Feb 2012 03:01

Remove libsamplerate_plugin.dylib and libspeex_resampler_plugin.dylib and tell us if that works better?
That practically eliminates audio dropouts. Now I get continuous audio, with occasional video frame skips. Quite watchable, though.

Again, fantastic work getting such great performance for 720p on PowerPC.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 23 Feb 2012 18:24

Remove libsamplerate_plugin.dylib and libspeex_resampler_plugin.dylib and tell us if that works better?
That practically eliminates audio dropouts. Now I get continuous audio, with occasional video frame skips. Quite watchable, though.

Again, fantastic work getting such great performance for 720p on PowerPC.
Without those modules, how is perf compared to 1.1. ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sonofnothing
New Cone
New Cone
Posts: 7
Joined: 20 Feb 2012 15:30

Re: VLC 2.0.0 Audio Stutter

Postby sonofnothing » 23 Feb 2012 22:09

Remove libsamplerate_plugin.dylib and libspeex_resampler_plugin.dylib and tell us if that works better?

thanks. works perfectly now. no choppy or stuttering audio and no change in video

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 24 Feb 2012 05:33

Remove libsamplerate_plugin.dylib and libspeex_resampler_plugin.dylib and tell us if that works better?
That practically eliminates audio dropouts. Now I get continuous audio, with occasional video frame skips. Quite watchable, though.
...
Without those modules, how is perf compared to 1.1. ?
I get worse audio dropouts in 1.1.12. Also, the video quality appears higher in 2.0—in particular, I notice that the filtering is better for DCT; edge blockiness in high saturated red objects is very evident in 1.1 but hard to see in 2.0.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 24 Feb 2012 07:58

I am interested in CPU usage. But yes, video quality is better in 2.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 25 Feb 2012 03:26

I am interested in CPU usage. But yes, video quality is better in 2.0

I made some measurements as carefully as I could, with

Code: Select all

while sleep 2 ; do ps ux -p <pid>; done
Hardware: Dual 1.8GHz G5. GeForce FX 5200 AGP 64 MB

Stream: H264 1280x688 24fps

VLC 2.0: paused, 12% CPU; scenes of little motion, or credits rolling, ~ 65% CPU; scenes of high motion 120-140% CPU.

VLC 1.1.12: paused, 7-9%; scenes of little motion, or credits rolling, 55-60% CPU; scenes of high motion up to 105% CPU, but at this point the video severely drops out, making fast action unwatchable. I don't think there is any substantial video dropout until ~ 100% CPU.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 25 Feb 2012 14:25

that is without the 2 modules?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 26 Feb 2012 21:40

that is without the 2 modules?
Correct, the version 2.0 tests are with those 2 modules removed.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 27 Feb 2012 11:20

So, there is an extra 5% that is weird to see.
If you split the video output from the main interface, does it behave better?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

qu1j0t3
New Cone
New Cone
Posts: 6
Joined: 22 Feb 2012 04:17

Re: VLC 2.0.0 Audio Stutter

Postby qu1j0t3 » 28 Feb 2012 05:16

So, there is an extra 5% that is weird to see.
If you split the video output from the main interface, does it behave better?
I think to properly answer this question I'd have to make more scientific tests. Perhaps by sampling say 5 minutes of playback of the same media and charting together with VLC 1.1.12 results. I'll see if I can find time to do this. Also I should do it on a machine that's closer to fully idle.

What I found interesting is that VLC 1.1.12 gives up once the CPU gets a little over 100%. Is this because VLC 2.0 uses multithreading where 1.1.12 does not? For example, decoding audio and video in parallel threads?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby Jean-Baptiste Kempf » 28 Feb 2012 13:05

What I found interesting is that VLC 1.1.12 gives up once the CPU gets a little over 100%. Is this because VLC 2.0 uses multithreading where 1.1.12 does not? For example, decoding audio and video in parallel threads?
Yes, because video can be split in parallel threads.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

riiiic
New Cone
New Cone
Posts: 2
Joined: 29 Jul 2012 21:34

Re: VLC 2.0.0 Audio Stutter

Postby riiiic » 29 Jul 2012 21:36

How can I remove libsamplerate_plugin.dylib ?
I don't know how to do it, but I have the same problem....

riiiic
New Cone
New Cone
Posts: 2
Joined: 29 Jul 2012 21:34

Re: VLC 2.0.0 Audio Stutter

Postby riiiic » 31 Jul 2012 00:32

ehi ?!?! some one could tell me how to remove these plug in ? do I have to type a command on the terminal ?

Shaunie1975
Blank Cone
Blank Cone
Posts: 10
Joined: 06 Jul 2012 08:58

Re: VLC 2.0.0 Audio Stutter

Postby Shaunie1975 » 05 Aug 2012 16:43

ehi ?!?! some one could tell me how to remove these plug in ? do I have to type a command on the terminal ?
Open finder and goto applications on the left. On the right scroll down to VLC and 2 finger click (windoze right click equivalent)
Select Show Package Contents
Then goto Contents>MacOS>plugins and they are in there. I would look at backing up them plugins before deleting them just incase.

I didn't have libsamplerate_plugin.dylib on my OS X (Mountain Lion) VLC Version 2.0.3


Just to add I was looking for a solution to stop audio track being jittery at the start of a track and came across.
Deleting that plugin seems to have solved my issue :)

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC 2.0.0 Audio Stutter

Postby fkuehne » 06 Aug 2012 13:43

Guys, please re-download VLC 2.0.3 if you have done so initially more than 5 days ago. We fixed a bunch of stuttering in the current build, which silently replaced the existing one.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

gravious
New Cone
New Cone
Posts: 1
Joined: 15 Aug 2012 23:10

Re: VLC 2.0.0 Audio Stutter

Postby gravious » 15 Aug 2012 23:18

This seemed to help for me.

I deleted

Code: Select all

libspeex_resampler_plugin.dylib
from

Code: Select all

/Applications/VLC.app/Contents/MacOS/plugins
and apart from when the CPU got pegged the stuttering is gone ...

What gives? (the version is 2.0.3 by the way)

8track
New Cone
New Cone
Posts: 2
Joined: 02 Aug 2012 05:32

Re: VLC 2.0.0 Audio Stutter

Postby 8track » 21 Aug 2012 16:59

gravious - thank you. Deleting that single fixed the stuttering for me (VLC 2.0.3 OSX 10.6.8)

Felix - can I ask why the fix was included in a "silent" update? The stuttering seems to be a major problem for many people, so the fix warrants a proper update accessible via the menu option VLC -> Check for updates...

Thanks to the people above for finding and posting the fix.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests