Play a video on a slow network

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
frolic
New Cone
New Cone
Posts: 1
Joined: 01 Feb 2008 15:47

Play a video on a slow network

Postby frolic » 01 Feb 2008 16:01

Hi Everyone,

I've got a problem which I'm sure can be addressed with the great features of VLC. I'm just not good enough to find how to do it by myself :(

My videos (mostly divx, 350 MB) are stored on a home NAS. This network storage is very slow: it takes around 7 minutes to copy a 350 MB divx from it on my PC. My problem is that rather than downloading the file on my PC before playing it with VLC (and wait 7 minutes !), I'd like to read it directly from the NAS. But if I open the video in VLC using a local mapped drive to the NAS, the video is dead slow, freezes, etc... So opening the video directly in real-time doesn't seem a good option.

The video takes 7 min to download and is about 40 minutes. This means it downloads much faster than it is played. Therefore, I don't really understand why accessing it directly causes problems. I would think that a small cache of a few MB could be created during the first few seconds, and then it should be enough to start reading the video fluidly until the end. That's where my knowledge ends... Is there a feature in VLC that would allow this ? Maybe using streaming ?

Any help would be greatly appreciated !

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

Re: Play a video on a slow network

Postby Jean-Baptiste Kempf » 01 Feb 2008 18:53

try to increase you smb caching or try to access it through HTTP
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.

jpalon
New Cone
New Cone
Posts: 1
Joined: 22 Feb 2008 15:35

Re: Play a video on a slow network

Postby jpalon » 22 Feb 2008 15:38

I did this and now I can watch over slow network:

preferences:

Input / Codecs -> Access Modules -> File -> (click Advanced) -> Caching value changed to 10000

Goner
Blank Cone
Blank Cone
Posts: 28
Joined: 30 May 2004 15:33
Operating System: WindowsLinuxAndroid
Location: Rotterdam, Netherlands

Re: Play a video on a slow network

Postby Goner » 19 Mar 2008 15:11

Thanks for the tip!
Works like a charm for wireless video streaming.

I'm watching the same sort of video files mentioned before on a wireless laptop ; mostly 'Lost' episodes I missed on TV and downloaded, 40 mins. and about 350Mb (HDTV?).
I first tried to play them back directly from the NAS (SMB share) using VLC on the laptop, but got little 'hangs' every couple of minutes. Then I tried streaming the files from the NAS using my (wired) server on the LAN to the laptop IP-address. Then I got little break-ups (large blocky pixels) ...

Just tried upping the 'caching value in ms', first to 600, then 1000 and now 1200 and now there's hardly any stutter! Also the 'lost frames' (video) and 'lost buffers' (audio) I saw in the statistics in 'stream and media info' are completely gone.

Used Linux to experiment, but I'm sure this will work in Windows too (I'm using a dual-boot PC with VLC in Windows and Mandriva Linux).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 73 guests