Video Stuttering with VLC 2.0

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
dibbz007
New Cone
New Cone
Posts: 1
Joined: 24 Apr 2012 03:11

Re: Video Stuttering with VLC 2.0

Postby dibbz007 » 24 Apr 2012 03:30

Does the stuttering disappear if you disable audio via Audio -> Audio track -> Disable?
For me whenever I disable audio the video plays very smoothly. I only really have a video stuttering problem when I play 10-bit HD anime or a HD movie and a scene with a lot of "movement" or "particles" comes up (sorry, I don't really have words to explain the situation). I've already renamed the libspeex_resampler_plugin.dll and the libsamplerate_plugin.dll to libspeex_resampler_plugin.dll2 and libsamplerate_plugin.dll2 and tried some other things that were mentioned earlier in the thread. Some of them helped improve the situation a little but the problem is really still there.

I guess getting to the main point; Is there something specific I should do since when I disable the audio track the stuttering disappears?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Stuttering with VLC 2.0

Postby VLC_help » 24 Apr 2012 20:03

You can try other video output modules (like OpenGL) and see if that helps.
http://wiki.videolan.org/WindowsFAQ-2.0 ... _output.3F

USPnet
New Cone
New Cone
Posts: 5
Joined: 23 Apr 2012 17:27
VLC version: 1.11
Operating System: W7

Re: Video Stuttering with VLC 2.0

Postby USPnet » 25 Apr 2012 15:28

Disabling audio makes no difference to video performance in my case.
Does the stuttering disappear if you disable audio via Audio -> Audio track -> Disable?
For me whenever I disable audio the video plays very smoothly. I only really have a video stuttering problem when I play 10-bit HD anime or a HD movie and a scene with a lot of "movement" or "particles" comes up (sorry, I don't really have words to explain the situation). I've already renamed the libspeex_resampler_plugin.dll and the libsamplerate_plugin.dll to libspeex_resampler_plugin.dll2 and libsamplerate_plugin.dll2 and tried some other things that were mentioned earlier in the thread. Some of them helped improve the situation a little but the problem is really still there.

I guess getting to the main point; Is there something specific I should do since when I disable the audio track the stuttering disappears?

aurelius88
New Cone
New Cone
Posts: 1
Joined: 25 Apr 2012 23:21

Re: Video Stuttering with VLC 2.0

Postby aurelius88 » 26 Apr 2012 01:48

That is prolly the same CPU power saving bug that has bothered VLC for years. Currently power saving things like Cool and Quiet etc. don't notice that VLC wants CPU cycles. So CPU frequency is kept too slow, setting the Windows power mode to full power should solve it.
This helped! Thanks!

Same problem: The audio was stuttering every 8-13 seconds (didn't count really).

The power plan didn't helped directly, but changing the settings of the "power saving thing" EPU-6 Engine (a tool for ASUS P5Q Series Motherboard) to High Performance (0% over-/underclocking, default fan speed, etc.) helped. Before, it was on -1% of CPU frequency. Therefore, I tested the 3% of CPU frequency overclocked setting and it happened to work fine without stuttering.

I also noticed that the stuttering lasted longer when the file caching value was higher.
On lower caching values it lasted shorter, but on value 0 it was just like 300ms.

Nevertheless, here are debug messages before and after changing the CPU frequency (the comments are edits by me).

Before
with file caching value on 100ms:

Code: Select all

main debug: auto hiding mouse cursor main warning: audio output out of sync, adjusting dates (-43443 us) main warning: not synchronized (-43443 us), resampling main warning: audio output out of sync, adjusting dates (-40034 us) main warning: not synchronized (-40033 us), resampling main warning: buffer way too early (-125848), clearing queue main warning: timing screwed, stopping resampling main debug: audio output is starving (-176319), playing silence // <-- the stuttering happend here main warning: audio output out of sync, adjusting dates (-44743 us) main warning: not synchronized (-44743 us), resampling main warning: buffer too early (-44744), down-sampling main warning: audio output out of sync, adjusting dates (-42518 us) main warning: not synchronized (-42517 us), resampling main warning: timing screwed, stopping resampling main warning: buffer too early (-77948), down-sampling main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main warning: audio output out of sync, adjusting dates (-44503 us) main warning: not synchronized (-44502 us), resampling main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor
with file caching value on 500ms:

Code: Select all

main warning: audio output out of sync, adjusting dates (-42712 us) main warning: not synchronized (-42712 us), resampling main warning: timing screwed, stopping resampling main warning: buffer too early (-77167), down-sampling main warning: audio output out of sync, adjusting dates (-41759 us) main warning: not synchronized (-41758 us), resampling main warning: audio output out of sync, adjusting dates (-43606 us) main warning: not synchronized (-43605 us), resampling main warning: buffer way too early (-128301), clearing queue main warning: timing screwed, stopping resampling main debug: audio output is starving (-516509), playing silence // <-- the stuttering happend here main warning: audio output out of sync, adjusting dates (-44549 us) main warning: not synchronized (-44548 us), resampling main warning: buffer too early (-44548), down-sampling main debug: auto hiding mouse cursor direct3d debug: Created 64x64 texture for OSD // paused video main debug: auto hiding mouse cursor
with file caching value on 5000ms:

Code: Select all

main warning: audio output out of sync, adjusting dates (-43934 us) main warning: not synchronized (-43934 us), resampling main warning: timing screwed, stopping resampling main warning: buffer too early (-79760), down-sampling main warning: audio output out of sync, adjusting dates (-44361 us) main warning: not synchronized (-44361 us), resampling main debug: auto hiding mouse cursor main warning: audio output out of sync, adjusting dates (-43000 us) main warning: not synchronized (-43000 us), resampling main warning: buffer way too early (-132891), clearing queue main warning: timing screwed, stopping resampling main debug: audio output is starving (-1634071), playing silence // <-- the stuttering happend here direct3d debug: Created 64x64 texture for OSD // paused video
After
(default settings)

Code: Select all

main warning: audio output out of sync, adjusting dates (60027 us) main warning: not synchronized (60028 us), resampling qt4 debug: Title 1 qt4 debug: Chapter: 5 main warning: audio output out of sync, adjusting dates (65809 us) main warning: not synchronized (65810 us), resampling main warning: buffer too late (125499), up-sampling main warning: resampling stopped after 16102605 usec (drift: 854) main warning: audio output out of sync, adjusting dates (66716 us) main warning: not synchronized (66717 us), resampling main warning: buffer too late (65862), up-sampling main warning: resampling stopped after 11604932 usec (drift: 367) main warning: audio output out of sync, adjusting dates (64257 us) main warning: not synchronized (64257 us), resampling main warning: buffer too late (63890), up-sampling direct3d debug: Created 64x64 texture for OSD // paused video after about 5 minutes
It's working, but I'm still wondering about the warnings, because when I disable audio there is no warning at all.
After all, the warnings doesn't appear as often as before.

PJP
Blank Cone
Blank Cone
Posts: 19
Joined: 11 Dec 2010 20:24

Re: Video Stuttering with VLC 2.0

Postby PJP » 26 Apr 2012 20:56

You can try other video output modules (like OpenGL) and see if that helps.
http://wiki.videolan.org/WindowsFAQ-2.0 ... _output.3F
OpenGL fixes the problem but only in fullscreen mode, also no playback controls and makes VLC working not smooth.
I have no problem with VLC v1 :(

wibblemonster
New Cone
New Cone
Posts: 1
Joined: 28 Apr 2012 11:15

Re: Video Stuttering with VLC 2.0

Postby wibblemonster » 28 Apr 2012 11:32

Problem Solved

After nothing but stuttering and slow repsonse after upgrading to ver 2 and trying all the suggestions on this thread I solved the problem....how?

I downgraded back to v 1.1.11 and it's perfect, not a single problem.

I've also turned off automatic updates!

USPnet
New Cone
New Cone
Posts: 5
Joined: 23 Apr 2012 17:27
VLC version: 1.11
Operating System: W7

Re: Video Stuttering with VLC 2.0

Postby USPnet » 28 Apr 2012 13:26

Problem Solved

After nothing but stuttering and slow repsonse after upgrading to ver 2 and trying all the suggestions on this thread I solved the problem....how?

I downgraded back to v 1.1.11 and it's perfect, not a single problem.

I've also turned off automatic updates!
Yup, same solution here.

Dear VLAN guys:- there is clearly something fundamentally wrong with this v2 code. Having us all rearrange the deckchairs, and getting the band to strike up "La Marseillaise", is not a substitute for fixing the code! ;-)

andydufreyne
New Cone
New Cone
Posts: 5
Joined: 28 Apr 2012 23:41

Re: Video Stuttering with VLC 2.0

Postby andydufreyne » 28 Apr 2012 23:43

Same problem for me (i even registered on this forum to post). I don't want to downgrade!
Never happened with 1.x
Windows XP x86, Core i3 2.6, 4 GB RAM, ATI Radeon HD 4670, VLC 2.0.1

Switched to OpenGL for now. Now screensaver is turning on when playing full screen videos :(

PJP
Blank Cone
Blank Cone
Posts: 19
Joined: 11 Dec 2010 20:24

Re: Video Stuttering with VLC 2.0

Postby PJP » 29 Apr 2012 13:52

OpenGL isn't the solution, only VLC v1 for now.

charonjr
New Cone
New Cone
Posts: 1
Joined: 29 Apr 2012 14:11

Re: Video Stuttering with VLC 2.0

Postby charonjr » 29 Apr 2012 14:39

I've reverted back to 1.1.11 for now. The biggest issue may be common with what the others are posting combined with my ancient system: Dell Inspiron XPS (Gen 1) laptop - P4 3.4GHz, 2GB RAM, ATI Radeon 9800 256MB RAM Mobile video, Windows 7 Home Premium 32 bit. I do have to pare back background programs as far as possible. I usually play mp4, avi, and flv files, with the occasional dvd. Interestingly enough, on my system, I have to wait at least 10 minutes for the system to finish its housekeeping chores from boot up, before it releases enough cpu/memory space to play these files. If I don't wait, VLC can jump into 50% or greater cpu cycles, causing video choppiness or freezing. I guess it's called lagging? Anyway, I've experimented with the different output codecs (Direct3D, OpenGL) to no avail: sometimes, I can play avi fine, then I have to find a setting for mp4, for instance. Hardware acceleration disabling, YUV disabling, system set on high performance have helped. Increasing the buffering time didn't help. I did disable all of the cpu extensions except MMX EXT, SSE2 and SSE3. All in all, it can get shaky, even when I wait for the 10 minutes to pass on my system.

VLC 2.0 and 2.0.1 have an altogether worse issue: they freeze soon after file playback starts, very, very laggy. CPU cycles climb into the 70% range, no matter the settings I've tried from these forums or experimented with on my own. Is this version meant to work only on multi-cpu PCs?

I do like this program quite well, as it usually works relatively ok and is much more flexible than WMP. As money is an issue these days, please, nobody say upgrade your system. I can't. But helpful suggestions are quite welcome! :)

David in Tucson

98Guy
Blank Cone
Blank Cone
Posts: 29
Joined: 23 May 2010 00:13

Re: Video Stuttering with VLC 2.0

Postby 98Guy » 29 Apr 2012 18:11

My system is P-4 2.5 ghz win-98 with a somewhat pathetic MX440 AGP video card (64 mb). I updated VLC to 2.0 at some point and then downloaded a hi-def video (1280 x 720 x 29 fps h.264) which played really poorly (stuttering and pixilation). I swapped the card to Evga Nforce 6200 (256 mb) and didn't really see any improvement in playback (!).

I then messed with many VLC settings and got the file playing almost perfectly. Here are the specs for this file:

Codec ID : V_MPEG4/ISO/AVC
Bit rate : 3550 Kbps
Width : 1280 pixels
Height : 720 pixels
Frame rate : 29.970 fps
Writing library : x264 core 120 r2164 da19765

In the "simple" menu under Input & Codecs settings, the "Use GPU accelerated decoding" is still greyed out, but there is a checkmark in the box. Also on that page I have "Skip h.264 in-loop deblocking filter" set to ALL, X264 preset and tuning set to faster / film, and x264 profile and level selection set to high444 / 0.

In the "Show all Settings" menu:

Under Advanced
- CPU features -> I see no options (why?)

Under Video section (all these are enabled)
- drop late frames (try disabling this one)
- skip frames (try also disabling this one)
- quiet syncro
- keypress events
- mouse events
- overlay video output
- disable screensaver
- fix HDTV height
- window decorations

Under Filters
- no filters are selected

Under Output modules
- OpenGL video output
(this was the best setting for me. Several of the settings gave no video at all - such as Direct2D and 3D).

Under Subtitles/OSD
- enable sub-pictures (disable)
(I'm not sure disabling sub-pictures does anything for performance)

Under Input/Output codecs
- File caching (ms) set to 2000

Under Demuxers / H.264
- frames per second
(was 25, I set to 29.9 but I don't think it helped)

Under Video Codecs
Under FFmpeg
- direct rendering
- hurry up
- hardware decoding

Under x264
- h.264 profile set to high444

Lotesdelere
Cone Master
Cone Master
Posts: 9961
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Video Stuttering with VLC 2.0

Postby Lotesdelere » 30 Apr 2012 10:11

My system is P-4 2.5 ghz win-98 with a somewhat pathetic MX440 AGP video card (64 mb). I updated VLC to 2.0
Minimal requirement for VLC 2.0.x is now Windows XP SP2 so don't expect any support for Windows 98 anymore.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Stuttering with VLC 2.0

Postby VLC_help » 30 Apr 2012 20:12

And GPU accelerated decoding won't work with those GPUs, You need newer one.

98Guy
Blank Cone
Blank Cone
Posts: 29
Joined: 23 May 2010 00:13

Re: Video Stuttering with VLC 2.0

Postby 98Guy » 30 Apr 2012 22:51

Minimal requirement for VLC 2.0.x is now Windows XP SP2 so don't expect any support for Windows 98 anymore.
Yea well maybe you shouldn't go pissing all over win-98 when a lot of people with their oh-so-precious Win-XP/Vista/7 are also seeing crappy performance with VLC-2.

98Guy
Blank Cone
Blank Cone
Posts: 29
Joined: 23 May 2010 00:13

Re: Video Stuttering with VLC 2.0

Postby 98Guy » 30 Apr 2012 22:53

And GPU accelerated decoding won't work with those GPUs, You need newer one.
This chart: http://www.nvidia.com/docs/CP/11036/Pur ... arison.pdf

Indicates that the GeForce 6200 (PCIe and AGP) has H.264 decode acceleration for both Hi-def and standard-def content. So tell me why doesn't VLC-2 realize and use it?

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: Video Stuttering with VLC 2.0

Postby Jean-Baptiste Kempf » 30 Apr 2012 23:39

And GPU accelerated decoding won't work with those GPUs, You need newer one.
This chart: http://www.nvidia.com/docs/CP/11036/Pur ... arison.pdf

Indicates that the GeForce 6200 (PCIe and AGP) has H.264 decode acceleration for both Hi-def and standard-def content. So tell me why doesn't VLC-2 realize and use it?
Because Microsoft APIs are different.
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.

JeffG
Blank Cone
Blank Cone
Posts: 26
Joined: 01 May 2012 02:03

Re: Video Stuttering with VLC 2.0

Postby JeffG » 01 May 2012 02:27

Just adding to reports of stuttering with 2.0 compared to 1.11. Mouse movement adds 20+% CPU in 2.0 even after turning off mouse/keyboard events in VLC's options. Mouse adds little or no CPU in 1.11.

System is XP SP2 Nvidia 7800GS, latest CCCP (ffdshow/LAV/Haali), 3.6G single-core P4HT.

VLC is my all-time favorite player. Thanks to the authors!

PJP
Blank Cone
Blank Cone
Posts: 19
Joined: 11 Dec 2010 20:24

Re: Video Stuttering with VLC 2.0

Postby PJP » 01 May 2012 03:41

It's not related to PC specification, please don't confuse everything.
Mine is G620,8GB,HD6570,Win7 x64 SP1

Edit: Error 403: Forbidden is driving me crazy. I won't post anymore if it happens again :!:

Leopardi
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Aug 2009 23:47

Re: Video Stuttering with VLC 2.0

Postby Leopardi » 01 May 2012 11:58

You can clearly see the frames being dropped out with 60fps source video.

Test this one: http://dl.dropbox.com/u/26267902/one.mp4

Video should be 100% smooth 60fps from beginning to end but it's stuttering on it's own while WMP handles it smooth.

andydufreyne
New Cone
New Cone
Posts: 5
Joined: 28 Apr 2012 23:41

Re: Video Stuttering with VLC 2.0

Postby andydufreyne » 01 May 2012 16:57

Confirm, Leopardi!

VLC_help, any updates on the issue?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Stuttering with VLC 2.0

Postby VLC_help » 01 May 2012 19:30

JeffG: you can try to set FFmpeg threads to 1, since HT will cause miscalculate.
http://wiki.videolan.org/WindowsFAQ-2.0 ... r_laggy.29

Leopardi
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Aug 2009 23:47

Re: Video Stuttering with VLC 2.0

Postby Leopardi » 05 May 2012 15:00

No idea what's causing the stuttering? Ive been using vlc for years but now I'm about to switch to something else.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Stuttering with VLC 2.0

Postby VLC_help » 05 May 2012 19:02

There isn't any simple solution to stuttering. With some setups changing caching, VOUT, FFmpeg threads or disabling overclocking helps, but with some setups there hasn't been any help.

Leopardi
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Aug 2009 23:47

Re: Video Stuttering with VLC 2.0

Postby Leopardi » 06 May 2012 18:33

Can't you just compare your code to KMplayer or windows media player to see what could be causing the stuttering? When I'm watching this 60fps clip on KMplayer or WMP, its smooth without any sign of stutter. On VLC it skips frames very obviously.

jetgraphics
New Cone
New Cone
Posts: 8
Joined: 28 Jul 2010 03:41

Re: Video Stuttering with VLC 2.0

Postby jetgraphics » 07 May 2012 03:09

After installing the latest / greatest, I noticed that my playback was having problems. A line of jutter or partial frame loss was evident. My diagnostic procedure was not the best, because I recently installed a new WVGA LCD monitor (higher resolution) and I wasn't sure if that had anything to do with loss of fidelity.
I reverted all the way back to vlc-0.9.4 just to see if there was any improvement.
I played back various recordings and the stuttering / jutter / frame loss was gone.

Hardware:
AMD Athlon 64 X2 BE-2400 Dual core
Biostar TA780G M2+
4 GB DDR2 RAM
Win XP 32 SP2


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 33 guests