LinuxQuestions.org
Help answer threads with 0 replies.
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 02-08-2008, 03:46 PM   #1
jlatl69
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Using mplayer over SMB (Samba) Connection


I am having a problem accessing video with Mplayer over a samba connection. I have samba installed and running. I can see the files on the WinXP box and can move/copy etc over the connection, but if I try to play the video directly I get a message

No Stream found to handle URL SMB://JXP/Shared/Files/Video/Test.mpg

I get the same message for other file types (flv, avi, mp3 etc.). I have also tried mp3's using amarok and get a message there about no suitable plugin found. The files play fine if I copy it locally then play it on the local drive on the linux machine.

I am somewhat of a newbie, so I'm not having a lot of luck getting this figured out. I have searched on similar issues and have tried mounting the samba share first as suggested in another post, but still same issue.

Is this something samba or with the mplayer? From the documentation for mplayer it says it should handle playing over the SMB connection.

I am running fedora x86-64 release 8 kernel 2.6.23.14-115.fc8 and Gnome 2.20.2 on an intel celeron 1.6ghz processor.

Any assistance would be greatly appreciated.
 
Old 02-09-2008, 09:31 AM   #2
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Fedora, CentOS, Sabayon
Posts: 209

Rep: Reputation: 35
Hello jlatl69

Quite a lot of Linux applications will have trouble accessing data over a network where the path begins smb://

The smb:// path is something fairly new and not all linux distributions/desktops follow that convention.

The best way round the problem is to explicitly mount your remote filesystem in the local one.

If you issue the following command as root:

Code:
mount -t cifs //JXP/Shared/Files/Video /mnt -o username=<yoursambausername>
after being prompted for you samba user password.

you will find that you can access the contents of your JXP/Shared/Files/Video directory directly under /mnt on the local machine.

The applications will be happy to access the information there.

You may have to substitute the JXP designation with the ip address of the remote machine depending on how your machine is set up.

You can vary the location your remote share is mounted to suit. I specified /mnt as most distributions have that directory but you can use anothe or create one for yourself.

Last edited by bbfuller; 02-09-2008 at 09:32 AM.
 
  


Reply

Tags
mplayer, samba, smb


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 in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 10:43 AM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 01:54 AM
SMB Connection Failed allelopath Linux - Networking 3 09-03-2004 05:15 PM
SMB connection failed sichen Linux - Networking 1 08-13-2004 09:51 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 03:33 PM


All times are GMT -5. The time now is 06:40 PM.

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