Stuttering playback on the Mac? Try this!

macOS specific usage questions
TurboMecca
New Cone
New Cone
Posts: 2
Joined: 09 Nov 2010 21:28
VLC version: 1.1.3
Operating System: OSX 10.6.4 + Win7

Re: Stuttering playback on the Mac? Try this!

Postby TurboMecca » 09 Nov 2010 21:49

I've got the impression that VLC for OSX has a huge problem with memory leakage, it seems to use all available RAM to map the whole movie clip while you are watching it. The explanation to this could be that it is a requirement for making it possible to start the clip where ever you want, without having to wait for a preload of the whole clip (like in Perian for example).

If the size of the movie clip is larger than your installed RAM (4Gb in my case), it starts stutter at the end of the clip when the OS needs to swap out the filled RAM to HDD.

You would think that closing VLC and "kill" it would free upp all memory mapped/reserved by VLC, but it doesn't. You need to either put the movie clip in the trashcan and empty it or reboot your mac, to get your lost RAM back.

I'm gonna try disabling MMap and see if that does the trick.

Edit: Well, disabling MMap didn't do the trick. After one movie clip (4Gb .mkv) all my RAM is occupied and before I emptied the trashcan with the movie clip I wouldn't get any RAM back.

bradmurray
New Cone
New Cone
Posts: 7
Joined: 11 Nov 2010 12:52

Re: Stuttering playback on the Mac? Try this!

Postby bradmurray » 11 Nov 2010 15:07

I've got the impression that VLC for OSX has a huge problem with memory leakage, it seems to use all available RAM to map the whole movie clip while you are watching it. The explanation to this could be that it is a requirement for making it possible to start the clip where ever you want, without having to wait for a preload of the whole clip (like in Perian for example).
I have never had the same problem. I routinely watch 3-8GB mkv files and VLC is rarely using much more than 100MB of RAM. I leave it open for days at a time as I am always pausing and going back to videos that are left open. I would also know the difference if it were somehow trying to buffer the whole file first. My network is gigabit and I am almost always watching from a server, but everything starts instantly.

TurboMecca
New Cone
New Cone
Posts: 2
Joined: 09 Nov 2010 21:28
VLC version: 1.1.3
Operating System: OSX 10.6.4 + Win7

Re: Stuttering playback on the Mac? Try this!

Postby TurboMecca » 12 Nov 2010 23:22

Thanks for your reply, bradmurray!
Have you disabled MMap as well?

I'll have to take back what I stated in my previous post.
After a couple of days (after restart/reboot?) VLC doesn't longer seem to use up all RAM, it's almost like the disabling of MMap didn't have any effect at first (when I edited my post).
Anyhow, now VLC seems to work as it should and I'm happy as I ever could be. No more rebooting or throwing movies away to get my lost RAM back.

tc_2010MacPro
New Cone
New Cone
Posts: 3
Joined: 18 Nov 2010 09:25

Re: Stuttering playback on the Mac? Try this!

Postby tc_2010MacPro » 18 Nov 2010 09:41

You might have noticed a performance decrease within the last few releases or finally when updating to Mac OS X 10.6 Snow Leopard.

If you did, try this:

* Go to VLC's preferences
* Click on "All" at the bottom of the window
* Navigate to "Input/Codecs" -> "Access modules" -> "MMap"
* Activate "Use file memory mapping"
* Save the settings and restart VLC.

Afterwards, VLC should perform as expected. We will enable this setting by default in future releases of VLC for Mac OS X.
Hey everyone,

I am running 10.6 and when I attempted to follow these directions, I noticed "Use file memory mapping" was already activated/selected. So at this point, I did the opposite and unactivated/unchecked "Use file memory mapping". Every since then, I have not had any problem playing back .MKV file from standard DVD or Blu-ray DVD.

roger jonsson
Blank Cone
Blank Cone
Posts: 68
Joined: 23 Apr 2007 19:21

Re: Stuttering playback on the Mac? Try this!

Postby roger jonsson » 18 Nov 2010 13:44

* Activate "Use file memory mapping"
* Save the settings and restart VLC.

Afterwards, VLC should perform as expected. We will enable this setting by default in future releases of VLC for Mac OS X.
Until the free memory is gone maybe, then what...
After having played a DVD or what ever, all free memory is gone and everything is sluggish, frozen and unresponsive. It probably worsens the situation for HD-video as well after a short time when the free memory is used up (?). I think Activate "Use file memory mapping" should come with a warning!

Here the "Use file memory mapping" is now turned off and will stay turned off. Now I can actually use my computer as normal after having watched a movie.

roger jonsson
Blank Cone
Blank Cone
Posts: 68
Joined: 23 Apr 2007 19:21

Re: Stuttering playback on the Mac? Try this!

Postby roger jonsson » 18 Nov 2010 13:54

When comparing if using "file memory mapping" helps, I suggest not playing a part of a video that has already been played with file memory memory turned on, because (I am guessing) it will play what is cached from memory instead of the harddrive. Always try it on a new part or use iFreememory (or such) to clear the caches in between. A short video will probably play better the second time with "file memory mapping", so it may be deceiving...

Remeber the disadvantage of using "file memory mapping" in my previous post. Maybe it is good sometimes, but certainly not always...

tengo84
New Cone
New Cone
Posts: 1
Joined: 22 Nov 2010 06:51

Re: Stuttering playback on the Mac? Try this!

Postby tengo84 » 22 Nov 2010 07:09

2010 Mac Pro 5.1, OS X 10.6.5, ATI 5870, 10GB RAM

VLC 1.1.3 and 1.1.5 both experienced video/audio stuttering when playing avi files. I unchecked "Use file memory mapping", which was on by default, and the stuttering disappeared in both versions. What's really strange is that the problem only occurred with files stored on my WD 2TB Caviar Black hard drives. Identical files on both of them produced the same glitches. I had no problems with memory mapping playing videos from my 1 TB Caviar Black, or my SSD. Thankfully, all is well now that memory mapping is disabled.

tripdragon
New Cone
New Cone
Posts: 1
Joined: 27 Nov 2010 20:55

Re: Stuttering playback on the Mac? Try this!

Postby tripdragon » 27 Nov 2010 21:09

MacBook Pro 1st gen
10.6
2 gig ram <~ that's all it can take :(
VLC 1.1.5
Settings Map feature like above comments On and Off

Video: MKV 1080p file size around 800megs
I still get 'some' VLC quality artifacts but far less than previous versions.
MKV's take awhile to load now but all players do that. Quicktime's, MPlayer

I found out about the purge command in terminal as well to free up some memory now and then.
If I turn Map feature off skipping through the video will delay the audio. With map turned on it's fine.

This brings up another question. Why do MKV's have this long load system? I assume they are getting copied into memory to play. But the video file in them is just h.264's and a normal .mov file or mpeg file never has to load like this.

I thought VLC would read them differently. Saa~

calibrator
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Mar 2011 13:38

Re: Stuttering playback on the Mac? Try this!

Postby calibrator » 04 Mar 2011 13:42

In addition it also helps to disable the fullscreen menu if you only have stutters in fullscreen.

georgaba
New Cone
New Cone
Posts: 1
Joined: 26 Mar 2011 16:55

Re: Stuttering playback on the Mac? Try this!

Postby georgaba » 26 Mar 2011 17:34

Thank you! I registered just to inquire about this, but thankfully I ran into your thread.

tgeorge
New Cone
New Cone
Posts: 1
Joined: 12 Jun 2011 17:47

Re: Stuttering playback on the Mac? Try this!

Postby tgeorge » 12 Jun 2011 17:52

We will enable this setting by default in future releases of VLC for Mac OS X.
You promised that in 2009, and it's still not enabled by default. If that's not the proof that Mac users are third-class citizens, I don't know what is.

drshti
New Cone
New Cone
Posts: 1
Joined: 13 Jun 2011 13:48

Re: Stuttering playback on the Mac? Try this!

Postby drshti » 15 Jun 2011 15:18

Regarding playback of 1080p .mkv videos: I was having trouble when viewing long zooming shots or pans - motion was jerky, not seamlessly smooth. The main cause turned out to be that I had checked the "sharpen video filter" a long time ago when watching low definition material, and had forgotten about it. It uses a chunk of processing power and is not necessary with HD material.

This fixed that issue, but there were still problems like when a flock of hundreds of thousands of birds took to the sky all at once. Data overload! and the picture would freeze till the action was over. This was fixed by going to Preferences (All) / Video Codecs / FFmpeg there on the 13th line down I changed the "skip the loop filter for H264 decoding" from None to All. I'm happy with the result.

balajim
New Cone
New Cone
Posts: 1
Joined: 19 Jul 2011 16:07

Re: Stuttering playback on the Mac? Try this!

Postby balajim » 19 Jul 2011 16:13

So not as easy as many people would expect from VLC. However, main thing is that it works (somehow)!

Natte Hans
New Cone
New Cone
Posts: 1
Joined: 25 Aug 2011 13:23

Re: Stuttering playback on the Mac? Try this!

Postby Natte Hans » 25 Aug 2011 13:27

thanks for your update...it works again

lavinj
New Cone
New Cone
Posts: 1
Joined: 02 Sep 2011 04:39

Re: Stuttering playback on the Mac? Try this!

Postby lavinj » 02 Sep 2011 04:47

I have just bought a MacBook Air 13" Mid 2011 with 1.8Gz and i7 4Gb Ram 265 SSD

Had choppy HD video 1920x1080 playing thru VLC. The file was .mts-

The fix was VLC->Preferences->input & Codecs->Post-Processing Quality 0 (set it to ZERO)

Have Fun! No more choppy videos

Sanakan
New Cone
New Cone
Posts: 1
Joined: 28 Jan 2012 13:36

Re: Stuttering playback on the Mac? Try this!

Postby Sanakan » 28 Jan 2012 13:51

For a very long time I have not encountered the stuttering using various files (mkv and mts mainly in the past year). Not since maybe 5 years ago. Even in the past month I've been using it frequently with mts files of live concert recordings, no problems.

Until tonight. I transferred a new set of mts files of a concert I recorded, and upon playback every file had a stutter merely 15 seconds into playback. I immediately thought it was just a problem with the files, so I went and played mts files of concert footage I recorded/transferred in December (which had no stutters, smooth playback at various sizes etc.) and found that these too began to stutter at the same points.

I have tried all the solutions offered here and elsewhere with none being useful at all. I would like to know why suddenly all my mkv/mts files are stuttering during playback in VLC player now? Possible solutions, is anyone else encountering this? I haven't changed anything I've done in using the application or transferring files (in terms of size, quality, etc.) so I'm baffled as to why it started happening just now.

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

Re: Stuttering playback on the Mac? Try this!

Postby Jean-Baptiste Kempf » 29 Jan 2012 19:46

Reset preferences in VLC.
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.

flamesong
Blank Cone
Blank Cone
Posts: 33
Joined: 23 Sep 2004 13:32

Re: Stuttering playback on the Mac? Try this!

Postby flamesong » 20 Feb 2012 02:36

I am on a MacBook Pro 17 OS X 10.7.3 with 2.66 GHz Dual Core with 8GB RAM and 500GB HDD.

I have had very juddery playback with most video files (mkv and avi) of all sizes - it looks like an old hand cranked silent film. It occurs in all cases - on a second screen (an HD projector) and on my MacBook's screen - in both cases in window and fullscreen modes. I don't have the problem with QT Player or QT Player 7 - but there are other reasons why they are not suitable - especially on Lion.

I tried every tip in this thread without success. I just downloaded v2.0.0 hoping that something might have changed to fix the problem but it's still there. Additionally, now the preferences layout has changed and I can't find half of the preferences sections to try the fixes again.

I'm sure this wasn't a problem for me until about a year ago.

Any fresh thoughts about this?

St Gawain
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Feb 2012 13:19

Re: Stuttering playback on the Mac? Try this!

Postby St Gawain » 20 Feb 2012 13:26

I have just downloaded VLC2.0.0. Previously VLC worked wonderfully for, inter alia, AVCHD and .ra files. Now it plays .ra files in 1-second bursts, and all my AVCHD footage is now unplayable - jerky, distorted and grossly pixellated. This applies to the codecs from different camera manufacturers. Anyone else have a similar problem?

MacPro, 12-core, 2.93GHz, 17GB Ram, Lion 10.7.3, ATI Radeon HD5770 1024MB
Last edited by St Gawain on 20 Feb 2012 15:31, edited 1 time in total.

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

Re: Stuttering playback on the Mac? Try this!

Postby Jean-Baptiste Kempf » 20 Feb 2012 13:36

please share logs and Samples.
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.

St Gawain
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Feb 2012 13:19

Re: Stuttering playback on the Mac? Try this!

Postby St Gawain » 20 Feb 2012 15:23

I have grabs of two adjacent frames from a boat-building video which played just fine under the previous VLC version - Panasonic camera this time - shewing a so-so image and a completely unviewable image. How do I share them?

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

Re: Stuttering playback on the Mac? Try this!

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

Any way is ok.
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.

St Gawain
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Feb 2012 13:19

Re: Stuttering playback on the Mac? Try this!

Postby St Gawain » 20 Feb 2012 15:39

The only way I know of is email.

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

Re: Stuttering playback on the Mac? Try this!

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

imgur.com
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.



Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests