Feature request: don't open output file in exclusive mode

Everything related to MakeMKV
Post Reply
cosmotic
Posts: 6
Joined: Wed Oct 24, 2012 2:48 am

Feature request: don't open output file in exclusive mode

Post by cosmotic »

When opening the output file to write to, it would be great if the file could be opened in non-exclusive mode so that other applications, like VLC, could read from the file as it is written. This makes it easy to preview the file.
Woodstock
Posts: 9914
Joined: Sun Jul 24, 2011 11:21 pm

Re: Feature request: don't open output file in exclusive mod

Post by Woodstock »

VLC will crash if you try this. It scans the file before playing, and, if it is not complete, it dies.

Opening in exclusive mode is the only SAFE way to do it!
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging
cosmotic
Posts: 6
Joined: Wed Oct 24, 2012 2:48 am

Re: Feature request: don't open output file in exclusive mod

Post by cosmotic »

I have no problem doing this with firefox downloads.
paulster
Posts: 200
Joined: Sat Aug 20, 2011 6:54 pm

Re: Feature request: don't open output file in exclusive mod

Post by paulster »

That's because they download in linear fashion with the headers already intact at the start of the download.

MakeMKV has to go back and modify the headers at the end of processing to remove things like empty subtitle tracks, so it has to write over areas you could already be playing or at least change the data that VLC has already read.
Post Reply