Is there a way to adjust buffer settings for streaming?

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Message
Author
robotmay
Posts: 2
Joined: Fri Jan 25, 2013 11:07 am

Is there a way to adjust buffer settings for streaming?

#1 Post by robotmay » Fri Jan 25, 2013 11:12 am

I'm finding I get streaming issues due to the buffer being depleted before MakeMKV spins the drive up to fill the buffer again. Are there any configuration options for either the GUI/CLI clients where I can specify, for example, that the buffer should always be at least 50% full?
At the moment it only spins up just as the buffer runs out, which causes a very tiny slowdown in playback which totally breaks the video in VLC (VLC usually stops responding too, on OSX/Windows/Linux).

I've tried looking through the docs but I couldn't find anything relevant.

marcusj0015
Posts: 58
Joined: Thu Nov 29, 2012 5:52 pm

Re: Is there a way to adjust buffer settings for streaming?

#2 Post by marcusj0015 » Sat Jan 26, 2013 12:53 pm

In Mkvtoolnix, you can go to mmg then to the header editor, and I forget what the setting is called in there, but it sounds like a buffer setting.

Woodstock
Posts: 10325
Joined: Sun Jul 24, 2011 11:21 pm

Re: Is there a way to adjust buffer settings for streaming?

#3 Post by Woodstock » Tue Jan 29, 2013 2:46 am

The question is about the buffering by MakeMKV when streaming a disk. Some of that has to do with the settings the operating system has for the disk buffer on optical drives, and how long the drive takes to spin up and seek when the OS shuts it down.

This question came up last year, and the search function should be able to find it. Try "streaming time-out".

robotmay
Posts: 2
Joined: Fri Jan 25, 2013 11:07 am

Re: Is there a way to adjust buffer settings for streaming?

#4 Post by robotmay » Tue Jan 29, 2013 9:36 am

Woodstock wrote:This question came up last year, and the search function should be able to find it. Try "streaming time-out".
Aye, I did find a topic or two on it, and the general consensus seemed to be to set the disc read speed to 1x so the buffer never filled. However that seems like a bit of a weird workaround, and I would have thought this would be a problem best solved in the software itself. Is there a reason why it only refills the buffer when it is completely empty?

Woodstock
Posts: 10325
Joined: Sun Jul 24, 2011 11:21 pm

Re: Is there a way to adjust buffer settings for streaming?

#5 Post by Woodstock » Fri Feb 01, 2013 8:23 pm

That would be a question for the OS writers - the disk read buffers will be filled as fast as the disk can provide the information, and the OS will then dole that data out until it needs more. Setting a lower buffer count would mean that the disk is still spun up when the OS asks again, but that might not always work.

Post Reply