If you do figure it out, please let me know. Since it's been a full year & nobody's responded here, I'm not really holding my breath for an answer from the VLC folks anymoreI am too interested in implementing that Windows Media Player feature in VLC. Have you found out how WMP keeps file unlocked while playing it? I am searching for that answer on the internet for days now without success.
I really don't think that's it; it couldn't possibly load the entire video file into memory all at once prior to playing, as that would take an enormous amount of both time and memory. If you open a ~10gig file (even from, say, a remote network share over wifi), it begins playing nearly instantly (and remains renamable throughout). "Loading the file into memory" would mean that it would've had to download all 10gigs of data over the network and into memory in that ~0.5sec. And would mean that a system with less than 10gigs memory shouldn't be able to play the file, which is obviously not the case.While I don't know what the answer is for certain, my educated guess would be that WMP probably loads the file into memory, then leaves the original file alone afterwards. That's the only way I can see that this would be possible.
That really isn't the only possibility, because again, it can't possibly be downloading 10 gigs of data over a wifi connection in a fraction of a second (to a system that has less than 10gigs of RAM, with paging turned off). And yet, I can open a 10 gig file on a shared network server in WMP, it begins playing nearly instantly, and I can 'delete' it without affecting my ability to seek to the end. Thus, something more complicated *has* to be going on under the hood than just "loading it all into memory"...Well, if you delete it and it still plays, then the only possibility is my first suggestion, that it loads the entire file into memory.
It works on network drives too though.WMP may be tracking the file based on it's physical location on the HDD, not on the name/directory structure. Even if you delete it, the file is still there until it's overwritten by other data. And if you rename it, the file is still in the same physical location on the disk.
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 42 guests