player stutters

macOS specific usage questions
ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: player stutters

Postby ajmas » 13 Jul 2009 22:59

Do any of you experiencing the issues have a short video file you can provide as a test sample?
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

dammarin
New Cone
New Cone
Posts: 9
Joined: 08 Dec 2007 12:17

Re: player stutters

Postby dammarin » 14 Jul 2009 18:30

You can try this file:

http://www.ode2.com/files/spinning_cube_big.avi

It runs fine in VLC 1.0 from HDD. Once burned to DVD and played back in VLC 1.0, it freezes completely after a few seconds and shows many PTS is out of range errors.

Quicktime plays the file fine from the DVD.

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

Re: player stutters

Postby fkuehne » 14 Jul 2009 19:25

Tried to increase buffering yet? Have a look at "Caching" in Input & Codecs in VLC's preferences.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

dammarin
New Cone
New Cone
Posts: 9
Joined: 08 Dec 2007 12:17

Re: player stutters

Postby dammarin » 14 Jul 2009 19:33

Did not do anything. Playing back from the DVD freezes quite fast.

growf
New Cone
New Cone
Posts: 1
Joined: 14 Jul 2009 19:52

Re: player stutters

Postby growf » 14 Jul 2009 20:06

I've also been getting this issue since moving to 1.0.0 (iMac, 2.8GHz Intel Core 2 Duo, 2GB DDR2, OS X 10.5.7) - not just with video files but also audio files.

Here're the complete gory details of starting up the smallest MP3 I can find that has this issue repeatably:

Code: Select all

main debug: processing request item Sleepyhead node Playlist skip 0 main debug: resyncing on Sleepyhead main debug: Sleepyhead is at 5 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'Sleepyhead' main debug: thread (input) created at priority 22 (../../src/input/input.c:230) main debug: thread started main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path '/tmp' main debug: `/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' gives access `' demux `' path `/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' main debug: creating demux: access='' demux='' path='/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' main debug: looking for access_demux module: 4 candidates main debug: TIMER module_need() : 0.132 ms - Total 0.132 ms / 1 intvls (Avg 0.132 ms) main debug: creating access '' path='/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' main debug: looking for access module: 8 candidates vcd debug: trying .cue file: /Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.cue vcd debug: could not find .cue file access_file debug: opening file `/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' main debug: using access module "access_file" main debug: TIMER module_need() : 0.540 ms - Total 0.540 ms / 1 intvls (Avg 0.540 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 52631 kbytes/s main debug: looking for stream_filter module: 4 candidates main debug: TIMER module_need() : 0.053 ms - Total 0.053 ms / 1 intvls (Avg 0.053 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.052 ms - Total 0.052 ms / 1 intvls (Avg 0.052 ms) main debug: creating demux: access='' demux='' path='/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' main debug: ID3v2.3 revision 0 tag found, skipping 550 bytes main debug: looking for demux module: 50 candidates es debug: xing vbr value present (97) es debug: xing frames&bytes value present (5008858 bytes, 6704 frames, 1152 samples/frame) es debug: detected format mpga main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "mpeg_audio" main debug: TIMER module_need() : 0.060 ms - Total 0.060 ms / 1 intvls (Avg 0.060 ms) main debug: using demux module "es" main debug: TIMER module_need() : 0.144 ms - Total 0.144 ms / 1 intvls (Avg 0.144 ms) main debug: looking for a subtitle file in /Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/ main debug: looking for meta reader module: 1 candidate main debug: using meta reader module "taglib" main debug: TIMER module_need() : 0.459 ms - Total 0.459 ms / 1 intvls (Avg 0.459 ms) main debug: removing module "taglib" main debug: `/Users/Bruce/Desktop/Passion Pit - Chunk of Change [EP] (V0)/06 - Sleepyhead.mp3' successfully opened mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:128 main debug: selecting program id=0 main debug: looking for decoder module: 33 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_need() : 0.178 ms - Total 0.178 ms / 1 intvls (Avg 0.178 ms) main debug: thread (decoder) created at priority 22 (../../src/input/decoder.c:315) main debug: thread started main debug: Buffering 0% main debug: Buffering 8% main debug: Buffering 17% main debug: Buffering 26% main debug: Buffering 34% main debug: Buffering 43% main debug: Buffering 52% main debug: Buffering 60% main debug: Buffering 69% main debug: Buffering 78% mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:128 main debug: reusing aout main debug: looking for audio output module: 2 candidates macosx debug: input has changed, refreshing interface main debug: TIMER input launching for 'Sleepyhead' : 5.547 ms - Total 5.547 ms / 1 intvls (Avg 5.547 ms) main debug: VLC is looking for: 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes auhal debug: system has [3] device(s) auhal debug: DevID: 0x104 DevName: Built-in Microphone auhal debug: this device is INPUT only. skipping... auhal debug: DevID: 0x102 DevName: Built-in Input auhal debug: this device is INPUT only. skipping... auhal debug: DevID: 0x106 DevName: Built-in Output auhal debug: supported format: [96000][mcpl][12][4][1][4][2][16] auhal debug: supported format: [48000][mcpl][12][4][1][4][2][16] auhal debug: supported format: [44100][mcpl][12][4][1][4][2][16] auhal debug: supported format: [96000][mcpl][4][8][1][8][2][20] auhal debug: supported format: [48000][mcpl][4][8][1][8][2][20] auhal debug: supported format: [44100][mcpl][4][8][1][8][2][20] auhal debug: supported format: [96000][mcpl][4][8][1][8][2][24] auhal debug: supported format: [48000][mcpl][4][8][1][8][2][24] auhal debug: supported format: [44100][mcpl][4][8][1][8][2][24] auhal debug: current format is: [44100][mcpl][41][4][1][4][2][32] auhal debug: layout of AUHAL has 2 channels auhal debug: selected 2 physical channels for device output auhal debug: VLC will output: Stereo auhal debug: we set the AU format: [44100][mcpl][9][8][1][8][2][32] auhal debug: the actual set AU format is [44100][mcpl][9][8][1][8][2][32] main debug: using audio output module "auhal" main debug: TIMER module_need() : 26.530 ms - Total 26.530 ms / 1 intvls (Avg 26.530 ms) main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes main debug: no need for any filter main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 0.075 ms - Total 0.075 ms / 1 intvls (Avg 0.075 ms) main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes main debug: looking for audio filter module: 1 candidate scaletempo warning: bad input or output format main warning: no audio filter module matching "scaletempo" could be loaded main debug: TIMER module_need() : 0.052 ms - Total 0.052 ms / 1 intvls (Avg 0.052 ms) main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 0.353 ms - Total 0.353 ms / 1 intvls (Avg 0.353 ms) main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "mpgatofixed32" main debug: TIMER module_need() : 0.091 ms - Total 0.091 ms / 1 intvls (Avg 0.091 ms) main debug: found a filter for the whole conversion main debug: looking for audio filter module: 1 candidate equalizer debug: equalizer loaded for 44100 Hz with 10 bands 1 pass equalizer debug: 60 Hz -> factor:0.377972 alpha:0.003013 beta:0.993973 gamma:1.993901 equalizer debug: 170 Hz -> factor:0.226365 alpha:0.008490 beta:0.983019 gamma:1.982437 equalizer debug: 310 Hz -> factor:0.000000 alpha:0.015374 beta:0.969252 gamma:1.967331 equalizer debug: 600 Hz -> factor:-0.118798 alpha:0.029328 beta:0.941343 gamma:1.934254 equalizer debug: 1000 Hz -> factor:-0.106140 alpha:0.047918 beta:0.904163 gamma:1.884869 equalizer debug: 3000 Hz -> factor:0.000000 alpha:0.130408 beta:0.739184 gamma:1.582718 equalizer debug: 6000 Hz -> factor:0.377972 alpha:0.226555 beta:0.546889 gamma:1.015267 equalizer debug: 12000 Hz -> factor:0.504988 alpha:0.344937 beta:0.310127 gamma:-0.181410 equalizer debug: 14000 Hz -> factor:0.504988 alpha:0.366438 beta:0.267123 gamma:-0.521151 equalizer debug: 16000 Hz -> factor:0.438557 alpha:0.379009 beta:0.241981 gamma:-0.808451 main debug: using audio filter module "equalizer" main debug: TIMER module_need() : 0.195 ms - Total 0.195 ms / 1 intvls (Avg 0.195 ms) main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "bandlimited_resampler" main debug: TIMER module_need() : 0.049 ms - Total 0.049 ms / 1 intvls (Avg 0.049 ms) main debug: found a filter for the whole conversion main debug: End of audio preroll main debug: Buffering 87% main debug: Buffering 95% main debug: Stream buffering done (313 ms in 32 ms) main debug: Decoder buffering done in 0 ms main warning: PTS is out of range (-9980), dropping buffer main warning: PTS is out of range (-36095), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer main warning: output date isn't PTS date, requesting resampling (-44211) main warning: buffer is 44212 in advance, triggering downsampling main warning: computed PTS is out of range (201729), clearing out main warning: timing screwed, stopping resampling main warning: PTS is out of range (189995), dropping buffer main warning: output PTS is out of range (228406), clearing out main warning: PTS is out of range (163885), dropping buffer main warning: PTS is out of range (137899), dropping buffer main warning: PTS is out of range (111783), dropping buffer main warning: PTS is out of range (85668), dropping buffer main warning: PTS is out of range (59552), dropping buffer main warning: PTS is out of range (34330), dropping buffer main warning: PTS is out of range (8235), dropping buffer main warning: PTS is out of range (-17694), dropping buffer main warning: computed PTS is out of range (211183), clearing out main warning: PTS is out of range (211430), dropping buffer main warning: output PTS is out of range (240461), clearing out main warning: PTS is out of range (185477), dropping buffer main warning: PTS is out of range (159369), dropping buffer main warning: PTS is out of range (133256), dropping buffer main warning: PTS is out of range (108144), dropping buffer main warning: PTS is out of range (82036), dropping buffer main warning: PTS is out of range (56155), dropping buffer main warning: PTS is out of range (30062), dropping buffer main warning: PTS is out of range (4155), dropping buffer main warning: PTS is out of range (-21941), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer
..and here's that last bit again from a different play-through of the same file:

Code: Select all

main debug: Decoder buffering done in 802 ms main warning: PTS is out of range (-9896), dropping buffer main warning: PTS is out of range (-36012), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer main warning: output date isn't PTS date, requesting resampling (-40001) main warning: buffer is 40003 in advance, triggering downsampling main warning: resampling stopped after 9639197 usec (drift: -610) main warning: computed PTS is out of range (70951), clearing out main warning: PTS is out of range (71901), dropping buffer main warning: output PTS is out of range (106111), clearing out main warning: PTS is out of range (45811), dropping buffer main warning: PTS is out of range (19704), dropping buffer main warning: PTS is out of range (-6342), dropping buffer main warning: PTS is out of range (-23268), dropping buffer main warning: computed PTS is out of range (82844), clearing out main warning: PTS is out of range (82918), dropping buffer main warning: output PTS is out of range (85828), clearing out main warning: PTS is out of range (56980), dropping buffer main warning: PTS is out of range (30872), dropping buffer main warning: PTS is out of range (4758), dropping buffer main warning: PTS is out of range (-1071), dropping buffer main warning: PTS is out of range (-27021), dropping buffer
When I went and fiddled with the preferences relating to caching (Input / Codecs > Access modules > File) and bumped it from 300ms of cache to 3000ms all but these first few errors vanished:

Code: Select all

main debug: Decoder buffering done in 786 ms main warning: PTS is out of range (-9895), dropping buffer main warning: PTS is out of range (-36011), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer main warning: output date isn't PTS date, requesting resampling (-40009) main warning: buffer is 40010 in advance, triggering downsampling main warning: resampling stopped after 9639221 usec (drift: -602)
..and the remainder of the track played without skipping.

A copy of the file can be found at http://www.growf.org/stuff/player_stutters.mp3 [4.78MB] (VLC developers only, please!).

andrewhaji
New Cone
New Cone
Posts: 2
Joined: 18 Jul 2009 03:36

Re: player stutters

Postby andrewhaji » 18 Jul 2009 03:39

I am also experiencing the "PTS is out of range" issue with VLC 1.0.0 on Mac OS X 10.5.7. Audio and video files of all types are choppy. I find that this issue occurs more frequently whenever there is some hard disk activity.

VLC was never this choppy until I upgraded to 1.0.0...

danyel
New Cone
New Cone
Posts: 3
Joined: 03 Jul 2008 11:42

Re: player stutters

Postby danyel » 18 Jul 2009 09:58

stutters here too :( : Macbook Pro, OS 10.5.5

Atreides
New Cone
New Cone
Posts: 4
Joined: 20 Jul 2009 17:45

Re: player stutters

Postby Atreides » 22 Jul 2009 19:16

As I have pointed out in another thread, I am encountering the same issue. This is encountered on an out of the box Mac Pro 2.93Ghz Quad (2009 generation) 8Gb memory & HD 4870. Not sure what the issue is, but it seems related to the speed at which the data is read by VLC. Tuning settings I have been able to view local files with minimal skipping (PTS and Late Picture Skipped) errors. They still occur. My disk monitor shows about 4.6gb p/s on local drive reads. Over the Gigabit LAN it is not viewable with loads of PTS and Late Picture Skipped errors.

I've tried upping the cache sizes to crazy values which does not help. I've gone back to v0.8.6 where it only got worse (black screen / total freeze). Presently I have the nightly build from about 2 days back. Works the same as 1.0RC. On my CPU monitor it appears to be splitting loads between the cores with an average usage of under 50% between 4 cores. I've uninstalled Perian to be safe. When I install MPlayer Extended the clip plays but at approximately 50% normal play rate (slow motion).

These are Sony SR11 camcorder MTS output files. I am able to convert them through RevolverHD fine. At a loss here :-|

As I didn't include my log in last post, here it is... Maybe there's some hidden gem in here I cannot see:

using video output module "opengl"
TIMER module_need() : 130.595 ms - Total 130.595 ms / 1 intvls (Avg 130.595 ms)
main debug: Deinterlacing available
main debug: got 1 direct buffer(s)
main debug: pic render sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 1920x1080, of (0,0), vsz 1920x1080, 4cc UYVY, ar 16:9, sar 1:1, msk r0x0 g0x0 b0x0
main debug: looking for video filter2 module: 17 candidates
main debug: using video filter2 module "i420_yuy2_mmx"
main debug: TIMER module_need() : 0.151 ms - Total 0.151 ms / 1 intvls (Avg 0.151 ms)
main debug: indirect render, mapping render pictures 0-15 to system pictures 1-16
main debug: End of video preroll
main debug: Received first picture
auhal debug: current format is: [44100][mcpl][41][4][1][4][2][32]
auhal debug: layout of AUHAL has 2 channels
auhal debug: selected 2 physical channels for device output
auhal debug: VLC will output: Stereo
auhal debug: we set the AU format: [48000][mcpl][9][8][1][8][2][32]
auhal debug: the actual set AU format is [48000][mcpl][9][8][1][8][2][32]
main debug: using audio output module "auhal"
main debug: TIMER module_need() : 371.916 ms - Total 371.916 ms / 1 intvls (Avg 371.916 ms)
main debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 0.789 ms - Total 0.789 ms / 1 intvls (Avg 0.789 ms)
main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1792 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo warning: bad input or output format
scaletempo warning: input and output formats are not similar
main warning: no audio filter module matching "scaletempo" could be loaded
main debug: TIMER module_need() : 0.854 ms - Total 0.854 ms / 1 intvls (Avg 0.854 ms)
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 48000 rate, 6 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 0.845 ms - Total 0.845 ms / 1 intvls (Avg 0.845 ms)
main debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "a52tofloat32"
main debug: TIMER module_need() : 1.550 ms - Total 1.550 ms / 1 intvls (Avg 1.550 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "simple_channel_mixer"
main debug: TIMER module_need() : 22.688 ms - Total 22.688 ms / 1 intvls (Avg 22.688 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0.196 ms - Total 0.196 ms / 1 intvls (Avg 0.196 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
macosx debug: chosen screen isn't present, using current screen for fullscreen mode
main debug: Post-processing available
main debug: Decoder buffering done in 1181 ms
main warning: PTS is out of range (-15006), dropping buffer
main warning: output PTS is out of range (6348), clearing out
main warning: input PTS is out of range (17020), trashing
main warning: computed PTS is out of range (18323), clearing out
main warning: PTS is out of range (-13655), dropping buffer
main warning: PTS is out of range (-38374), dropping buffer
main debug: audio output is starving (50015), playing silence
main warning: late picture skipped (11102 > -3943)
main warning: late picture skipped (41826 > -3824)
main warning: late picture skipped (42698 > -3824)
main warning: late picture skipped (56908 > -4620)

Truncated it here, as the rest is pretty much a continuation of "late picture skipped" with an occasional PTS error. I've got the file cache at 500ms. Any higher than this goes from no difference to detrimental. Below this increases the error counts. With my current settings I am able to get about 8 seconds of video playing before it starts to stutter, at that point its all down hill.

Sjoekie
Blank Cone
Blank Cone
Posts: 12
Joined: 06 Jun 2007 16:14

Re: player stutters

Postby Sjoekie » 22 Jul 2009 22:45

Hey,

I have been seeing this issue since the first 0.9.9 build I tried. This is not the first time this is posted on this forum but I don't know about a definitive solution.
The solution that works for me is increasing the cache value to 1000 ms (just play around with the value until you find the correct one for you).

To set the cache value:
  • - Open preferences (and select "All" so you see all settings).
    - Go to Input/Codecs > Access modules > File
    - Increase the value.
I hope this works for you all!

Sjoekie

ps this will increase the delay between you hitting the pauze button and vlc reacting.

heffeque
Blank Cone
Blank Cone
Posts: 92
Joined: 13 Sep 2005 04:00
VLC version: 2.0.2
Operating System: Win7-64

Re: player stutters

Postby heffeque » 23 Jul 2009 11:43

I have the same problem here too. I cleaned the preferences and still have the problem.

It even happens with mp3 files. It chirps ever 40 or 50 seconds and it's very annoying.

MacBook Pro, 2.4 GHz, 4 GB of RAM, nVidia 8600m GT 256 MB, Mac OS 10.5.7.

Edit: Sjoekie's workaround did make things a lot better =)
(.-=Kiwi=-.)

vicantrell
New Cone
New Cone
Posts: 1
Joined: 23 Jul 2009 17:52

Re: player stutters

Postby vicantrell » 23 Jul 2009 17:56

This has been happening on my computer for the past few versions now. I am a IT support tech guy and have gone above and beyond what I would even do to troubleshoot this for a client. It appears it happens for both PC and Mac as I have a macbook pro. I have the NVIDIA GeForce 9600 with the 9400 and the entire 4gb memory dedicated to VLC and it still lags?

This is an issue that needs to be resolved.

This is the very end of the error message log, the rest before it is the same:

Code: Select all

main warning: PTS is out of range (-12307), dropping buffer main warning: PTS is out of range (-36299), dropping buffer main warning: PTS is out of range (-21044), dropping buffer mpgatofixed32 debug: libmad error: Huffman data overrun main warning: computed PTS is out of range (57446), clearing out main warning: PTS is out of range (57466), dropping buffer main warning: output PTS is out of range (118805), clearing out main warning: PTS is out of range (33482), dropping buffer main warning: PTS is out of range (9492), dropping buffer main warning: PTS is out of range (-14499), dropping buffer main warning: PTS is out of range (-38490), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer main warning: late picture skipped (87980 > -388) main warning: late picture skipped (56787 > -388) main warning: output date isn't PTS date, requesting resampling (-42237) main warning: late picture skipped (27231 > -392) main warning: buffer is 42237 in advance, triggering downsampling main warning: resampling stopped after 7039986 usec (drift: -1013) main warning: computed PTS is out of range (680245), clearing out main warning: PTS is out of range (681606), dropping buffer main warning: output PTS is out of range (747849), clearing out main warning: PTS is out of range (657621), dropping buffer main warning: PTS is out of range (633629), dropping buffer main warning: PTS is out of range (609637), dropping buffer main warning: PTS is out of range (585645), dropping buffer main warning: PTS is out of range (562566), dropping buffer main warning: PTS is out of range (538580), dropping buffer main warning: PTS is out of range (514588), dropping buffer main warning: PTS is out of range (490596), dropping buffer main warning: PTS is out of range (466604), dropping buffer main warning: PTS is out of range (442612), dropping buffer main warning: late picture skipped (709838 > -342) main warning: late picture skipped (679939 > -342) main warning: late picture skipped (649804 > -342) main warning: late picture skipped (619371 > -360) main warning: late picture skipped (590552 > -360) main warning: PTS is out of range (437559), dropping buffer main warning: PTS is out of range (413578), dropping buffer main warning: PTS is out of range (389586), dropping buffer
I should also throw in that it happens both on OS X 10.5.7 and 10.6 (snow leopard) -

Atreides
New Cone
New Cone
Posts: 4
Joined: 20 Jul 2009 17:45

Re: player stutters

Postby Atreides » 23 Jul 2009 19:37

Unfortunately, I have tried file cache from 0 - 10,000 with no marked improvement. If anything it tends to defer the dropped frames by about 2-4 seconds going from 100-500 on cache. After that the performance remains constant and then eventually fully declines to non-functional in the 5k+ range.

Since it appears to be a pervasive issue, I would like to assist in diagnosing the issue. Unfortunately, I am not sure what debug settings and system performance monitors to correlate to help figure out the bottleneck : ie, read rate, rendering, memory, cpu, etc. Any suggestions on what else I could look at to pinpoint the cause for this?

Atreides
New Cone
New Cone
Posts: 4
Joined: 20 Jul 2009 17:45

Re: player stutters

Postby Atreides » 25 Jul 2009 00:47

The good news, at least for now, is I am able to view all of my AVCHD stutter free in Adobe Premiere Pro CS4. Not a tad of stutter. Actually, I can throw up about 5 AVCHD (MTS) files in my preview playing simultaneously with no stutter and my combined quad core average utilization under 35%. I really wish some of the VLC devs would help a bit more actively on this issue, unless it's just a known gap to be avoided. If the devs are able to play MTS files with no errors, I really would like to know the equipment they are running. There's no reason why my physical configuration can't easily (with it's eyes closed) run MTS files. The latest Mac Pro 2.93Ghz 4 core easily competes with prior generation 3.2Ghz 8 core.

Cheers

krypton1
New Cone
New Cone
Posts: 1
Joined: 25 Jul 2009 06:57

Re: player stutters

Postby krypton1 » 25 Jul 2009 06:59

+1 for same problem here, stutters after upgrading to 1.0 on Intel Macbook 2Ghz

macbelly
New Cone
New Cone
Posts: 6
Joined: 13 Sep 2008 14:35
Operating System: Mac OS
Location: Drenthe, NL

Re: player stutters

Postby macbelly » 26 Jul 2009 09:40

Same for me on Mac Pro 2x 2.66 GHz Dual Core 6 Gb Memory (model 2006). When watching from DVD, movie window freezes after 2-3 seconds while VLC clock continues to tick away the seconds. No sound.
Quicktime has no problem playing directy from the DVD disk. VLC can play the movie without stutter directly from the internal drive. Movie format mp4 transcoded by Handbrake ("AppleTV quality" settings).

:(

Erik

nulio
New Cone
New Cone
Posts: 2
Joined: 26 Jul 2009 23:12

Re: player stutters

Postby nulio » 26 Jul 2009 23:24

Hi!

I've been using VLC ever since I bought my first mac (almost two years now).

It stuttered from the beginning, just occasionally and I didn't mind.

Now it just stutters so frequently that I stopped using it, quickplayer has to do the job now.

Even when I just use it to try a mp3 it stutters.


First, I thought it could be some problem with the video encodes or such but since it doesn't happen in quicktime and now happens with almost all the videos...

My system: OSX 10.5.7 in a Intel Core 2 Duo 2Ghz with 4Gb RAM.

Most of the times the image freezes about 2 seconds (not the sound). Now both image and sound being freezing and after that the image shows a lot of artifacts.


nulio

brechtsky
Blank Cone
Blank Cone
Posts: 12
Joined: 20 Sep 2008 21:37

Re: player stutters

Postby brechtsky » 27 Jul 2009 23:31

Stuttering is out of control, BY FAR the worst its ever been, skipping on really simply files when it used to handle 1920x1080 hd easily... this needs to be fixed ASAP, or this version needs to be removed from the updates, because this is truly like a bad joke.

ive got a macbook pro with 10.5.7, 2.6 ghz intel duo, 2 gb ram, and I play bluray remuxes all the time with no skipping, on version 9.8 (9.9 had a few probs for me)

Generally speaking, there needs to be much more quality control on these updates, at least for mac ... Its kind of annoying that I have to keep 4 different versions of the application in order to play all my files properly and with the features Id like (i.e. simple crap like being able to jump/scan, etc).

eggshell
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Jul 2007 20:43

Re: player stutters

Postby eggshell » 28 Jul 2009 18:43

Don' t want to sound too optimistic but since 1.0.1 the stuttering has dissapeared , skipping through the timeline is unusually snappy and last but not least - I have the impression that it consumes less cpu than before . Thx to the dev team for the fast reaction

macbelly
New Cone
New Cone
Posts: 6
Joined: 13 Sep 2008 14:35
Operating System: Mac OS
Location: Drenthe, NL

Re: player stutters -- resolved in 1.0.1?

Postby macbelly » 28 Jul 2009 20:04

I had the stutter problem (viewtopic.php?f=12&t=61848&start=15#p209994) but it looks like VLC 1.0.1 resolves the problem. Good work!
:D
Erik

Btw: VLC did not report there was a new version available, not via "Check for update" in the VLC menu nor with the automatic checking ????

brechtsky
Blank Cone
Blank Cone
Posts: 12
Joined: 20 Sep 2008 21:37

Re: player stutters

Postby brechtsky » 28 Jul 2009 21:31

It didnt fix the problem for me... It is a small bit better, thats for sure, but my high def remuxes all still stutter after like a minute at most... And its even skipping on smaller stuff, like Im currently watching an avi of a dvdrip, generic mpeg4 vid, mp3 aud, 512x384, and its skipping a lot after about the 5 min mark... Granted its not the only task my computer is processing, but 9.8 and lower never skip when Im watching a simple vid file and doing low-level email/websurfing type stuff.... IMO, 1.0.1 is still too broken to be worthwhile....

eggshell
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Jul 2007 20:43

Re: player stutters

Postby eggshell » 29 Jul 2009 10:43

I guess i talked too soon - after a day of impeccable work , this is what I get


7/29/09 11:29:19 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:19 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:19 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:20 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:20 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:20 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:22 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:23 AM [0x0-0x1d01d].org.videolan.vlc[266] [0x1083aa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
7/29/09 11:29:24 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:52 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:53 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:53 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:29:56 AM [0x0-0x1d01d].org.videolan.vlc[266] [0x1083aa8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
7/29/09 11:29:57 AM [0x0-0x1d01d].org.videolan.vlc[266] header damaged
7/29/09 11:30:11 AM [0x0-0x1d01d].org.videolan.vlc[266] Interface initialization failed
7/29/09 11:30:11 AM com.apple.launchd[95] ([0x0-0x1d01d].org.videolan.vlc[266]) Exited with exit code: 1
7/29/09 11:30:15 AM [0x0-0x23023].org.videolan.vlc[416] [0xcaca78] main interface error: no interface module matched "globalhotkeys,none"
7/29/09 11:30:15 AM [0x0-0x23023].org.videolan.vlc[416] [0xcaca78] main interface error: no suitable interface module
7/29/09 11:30:15 AM [0x0-0x23023].org.videolan.vlc[416] [0xc01908] main libvlc error: interface "globalhotkeys,none" initialization failed
7/29/09 11:30:15 AM [0x0-0x23023].org.videolan.vlc[416] [0xc01908] main libvlc: Стартиране на vlc със стандартния интерфейс. Използвайте 'cvlc', за да използвате vlc без интерфейс.
7/29/09 11:30:20 AM [0x0-0x23023].org.videolan.vlc[416] [0x10cd4a8] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000
7/29/09 11:30:23 AM [0x0-0x23023].org.videolan.vlc[416] No accelerated IMDCT transform found
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:30:59 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:03 AM [0x0-0x23023].org.videolan.vlc[416] [0x10c1ea8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
7/29/09 11:31:04 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:27 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:27 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:27 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:31:31 AM [0x0-0x23023].org.videolan.vlc[416] [0x10c1ea8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
7/29/09 11:31:31 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:03 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:03 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:03 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:03 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:04 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:07 AM [0x0-0x23023].org.videolan.vlc[416] [0x10c1ea8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged
7/29/09 11:32:26 AM [0x0-0x23023].org.videolan.vlc[416] header damaged

same file yesterday was playing nicely , I don't see any reason to stutter so heavily today , it's unwatchable ( maybe on shutdown some old resident files from 0.9.9 are trashed , dunno , just a wild guess )

p.s.
gotta love those 'computer too slow' remarks :lol:

nulio
New Cone
New Cone
Posts: 2
Joined: 26 Jul 2009 23:12

Re: player stutters

Postby nulio » 29 Jul 2009 15:12

Just updated to 1.0.1... It's even worse :( Now the movie spends more time freezed than playing. Gone back to 0.9.9a, it seems better so far.

snix
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 20 Aug 2006 02:53

Re: player stutters

Postby snix » 31 Jul 2009 07:36

still get the occasional stutter in 1.0.1, same as 1.0.

main warning: PTS is out of range (-34658), dropping buffer
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
main warning: late picture skipped (291717 > -3135)
main warning: late picture skipped (325083 > -3135)

0.9.8 works perfectly though.

some more message log:
main warning: late picture skipped (70217 > -4045)
main warning: PTS is out of range (-37383), dropping buffer
mpgatofixed32 debug: libmad error: bad main_data_begin pointer
main warning: late picture skipped (10825 > -4045)
main warning: output date isn't PTS date, requesting resampling (-40008)
main warning: buffer is 40008 in advance, triggering downsampling
main warning: resampling stopped after 9624055 usec (drift: -471)
main warning: late picture skipped (2790 > -1804)
VLC 3.0.11 / Mac OS X 10.13.6 / Intel Core i7 HD3000

bwyatt
New Cone
New Cone
Posts: 1
Joined: 05 Aug 2009 19:50

Re: player stutters

Postby bwyatt » 05 Aug 2009 19:51

VLC 1.0.1 has improved the issue but not fixed it...

Code: Select all

main warning: PTS is out of range (-9802), dropping buffer main warning: PTS is out of range (-33793), dropping buffer mpgatofixed32 debug: libmad error: bad main_data_begin pointer main debug: looking for video blending module: 1 candidate blend debug: chroma: YUVA -> UYVY main debug: using video blending module "blend" main debug: TIMER module_need() : 1.127 ms - Total 1.127 ms / 1 intvls (Avg 1.127 ms) main warning: late picture skipped (19194 > -326)
Can you set this to a high priority? It doesn't have any other visible problems.

treasure69
New Cone
New Cone
Posts: 3
Joined: 05 Aug 2009 20:32

Re: player stutters

Postby treasure69 » 05 Aug 2009 20:35

it is very annoying!
same prob here....
why is this so difficult to fix?

i m back with my old 0.9.5 version!
happy and trouble free... everyone should downgrade until they fix this!


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests