LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-29-2005, 07:42 PM   #1
ol1v3r
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
Streaming video via Samba shares on Windows?


Hey there!

I have a bit of an annoyance i've discovered when trying to stream large video files via a mounted samba share on Windows.

I have a fileserver running Slackware with Samba, which shares all my recorded tv shows and movies with whatever needs to access them within the network via a share.

The problem I seem to encounter is that Windows doesnt seem to stream the file direct from Samba, it just downloads it and streams from the cache, from my understanding; which leads to quite large delays if the file is big.

My question is. Is there a solution that allows Samba or any other share-based software to stream files on-demand to other computers without having to download the file first?

Thanks alot in advance,
Oliver
 
Old 07-30-2005, 03:05 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Maybe you can't execute the files on your server?. I have a Debian server home which works basically in the same way you are doing with Slackware, but I stream the movies to my modded Xbox instead. I can only execute files locally (thus streaming) if that file has execute permissions from the server. Play a bit with the permissions and see if that helps.

Good luck!
 
Old 07-30-2005, 04:02 AM   #3
ol1v3r
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Megaman X
Maybe you can't execute the files on your server?. I have a Debian server home which works basically in the same way you are doing with Slackware, but I stream the movies to my modded Xbox instead. I can only execute files locally (thus streaming) if that file has execute permissions from the server. Play a bit with the permissions and see if that helps.

Good luck!
Hey Megaman X, thanks for your reply!

Heh, I also have an XBOX running XBMC, good stuff!

I set the file with the execute permission on the server but it still seems to be doing the same thing. Perhaps Samba just isnt built for streaming? But then again, why isnt it?

Thanks,
Oli
 
Old 07-30-2005, 04:23 AM   #4
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
You're welcome mate. Sad that it did not work though. I think what I use my Xbox the most today is streaming video and playing emulators, ghehhe. XBMC rocks!

I found your problem very strange though. Just a quick test. Let's say you have a file called "my_movie.avi" in your Samba shared folder. Change the permissions and see if that helps:

su
chmod 777 /home/shared/my_movie.avi


The above path is just an example. Permission 777 is full read, write and execute. Also, make sure that the owner of the file and folder is same you use to connect to samba(I don't think this is necessary, but if everything else fails... we never know ^_^). Let's suppose I have an user called "alex". alex is the owner of /home/share/ and everything on it. It's also alex the name and password I use to login to my samba share from my Windows machine or Xbox. Works fine for me.

If that does not work for you, then I'm afraid that my cards to play here are over =(. I wish you luck though
 
Old 07-30-2005, 05:05 AM   #5
ol1v3r
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Megaman X
You're welcome mate. Sad that it did not work though. I think what I use my Xbox the most today is streaming video and playing emulators, ghehhe. XBMC rocks!

I found your problem very strange though. Just a quick test. Let's say you have a file called "my_movie.avi" in your Samba shared folder. Change the permissions and see if that helps:

su
chmod 777 /home/shared/my_movie.avi


The above path is just an example. Permission 777 is full read, write and execute. Also, make sure that the owner of the file and folder is same you use to connect to samba(I don't think this is necessary, but if everything else fails... we never know ^_^). Let's suppose I have an user called "alex". alex is the owner of /home/share/ and everything on it. It's also alex the name and password I use to login to my samba share from my Windows machine or Xbox. Works fine for me.

If that does not work for you, then I'm afraid that my cards to play here are over =(. I wish you luck though
Hmm, it still does the same thing despite making my user the owner of the file and setting CHMOD 777.

I guess i'll just have to put up with it for the time being

Thanks alot for your help anyway! It cleared up a few possible-solutions.

Oliver
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba shares and windows xp highfructose Linux - Software 1 05-08-2005 03:22 AM
samba shares and windows xp highfructose Linux - Software 0 05-07-2005 06:50 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 07:03 PM
Windows ME cannot see Samba shares danedwards11 Linux - Software 7 08-14-2004 07:40 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration