VLC File caching with samba or other protocols

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nekkro-kvlt
New Cone
New Cone
Posts: 6
Joined: 23 May 2007 15:17

VLC File caching with samba or other protocols

Postby nekkro-kvlt » 27 Oct 2009 14:47

Hi all, My goal is to set up a VPN to allow me to play remote files. I set an openvpn that is working, but when I try to play a file in vlc from a samba share, VLC cache the file til 600ms, then plays the cache, but then stop and start downloading the cache. I want to know if there's a way that VLC download the file localy, and plays it after waiting a sufficient cache depending on BW ?

I have 3Mbps of upload, so a movie shouldn't take one hour to be retrieved, that's why I want to play while stream.

One solution would be to copy the file and reading it while copying, but it's dirty...
If another protocol would work, like FTP or something else I'm curious.

Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15331
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC File caching with samba or other protocols

Postby Rémi Denis-Courmont » 27 Oct 2009 21:33

VLC automatically starts playing when it has enough cache. Typically you keep getting interrupted, if you are using a non-streamable file format (such as AVI) which requires seeking all the time, or you have connectivity issues..
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nekkro-kvlt
New Cone
New Cone
Posts: 6
Joined: 23 May 2007 15:17

Re: VLC File caching with samba or other protocols

Postby nekkro-kvlt » 27 Oct 2009 23:14

Yes, these are standard avi file i'm trying to read, but that's the poing, when I'm downloading such files by ftp or http, or even when copying with samba, I can read the file, I got a message that the file is broken, but if the dl speed is enough, then I can see the file, but with samba it's not the same, at it fill the cache, then stop downloading... The best Way I see for now would be start a file copy, wait something like 1minute, then read the file with the copy in background...

Rémi Denis-Courmont
Developer
Developer
Posts: 15331
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC File caching with samba or other protocols

Postby Rémi Denis-Courmont » 28 Oct 2009 17:15

The AVI format does not support progressive download. That's why VLC fails. There is not much to be done about this.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: eddsor and 86 guests