LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2013, 06:38 AM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Rep: Reputation: 13
Can't Play Video over Samba


I'm using a Raspberry Pi with Raspbmc on it to hold my media files, and then I'm using samba to play it over my network from my Mint Debian machine.

I can see all my files through samba, and they all have the permission of:
Code:
-rwxrwxrwx 1 pi pi 348684902 Jun  6 07:45 Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4
But when I open it through VLC I get the follow message, over and over again until I clock stop:
Code:
Your input can't be opened:
VLC is unable to open the MRL 'smb://raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4'. Check the log for details.
The VLC log shows the following repeated:
Code:
main debug: TIMER module_need() : 0.252 ms - Total 0.252 ms / 1 intvls (Avg 0.252 ms)
main debug: creating access 'smb' location='raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4', path='(null)'
main debug: looking for access module: 1 candidate
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'smb://raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4' : 108.925 ms - Total 108.925 ms / 1 intvls (Avg 108.925 ms)
qt4 debug: IM: Setting an input
main debug: incoming request - stopping current input
main debug: dying input
access_smb error: open failed for 'raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4' (Connection timed out)
main debug: no access module matching "smb" could be loaded
main debug: TIMER module_need() : 94.484 ms - Total 94.484 ms / 1 intvls (Avg 94.484 ms)
main debug: dead input
qt4 debug: IM: Deleting the input
Thanks
 
Old 06-14-2013, 08:55 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why not just mount the share and give VLC the path to the file? Works every time for me.
 
Old 06-14-2013, 09:23 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i find it ironic that you are using a kludgy software that was designed to fool microsoft servers into believing a linux machine was actually a windows client so it could connect and share. as well as fooling windows clients into believing a linux server is actually a windows server so they would connect and share.

since you are going linux to linux i would cut out the buggy middle-man and just use something like nfs or sshfs.

Last edited by schneidz; 06-14-2013 at 09:24 AM.
 
Old 06-14-2013, 09:56 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by schneidz View Post
i find it ironic that you are using a kludgy software that was designed to fool microsoft servers into believing a linux machine was actually a windows client so it could connect and share. as well as fooling windows clients into believing a linux server is actually a windows server so they would connect and share.

since you are going linux to linux i would cut out the buggy middle-man and just use something like nfs or sshfs.
Not at all ironic if you have a heterogeneous network. Or when a friend with a Windows computer visits you and wants to connect to that share.
 
1 members found this post helpful.
Old 06-14-2013, 10:28 AM   #5
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by TobiSGD View Post
Not at all ironic if you have a heterogeneous network. Or when a friend with a Windows computer visits you and wants to connect to that share.
Not just that either - I use nothing but Linux and I still go with samba for my file shares because it's all but impossible to mount an NFS share on an Android device, but samba support is built into Android itself as well as nearly all apps that could possibly need it.
 
Old 06-14-2013, 10:36 AM   #6
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Original Poster
Rep: Reputation: 13
Hi TobiSGD, what I am doing is using Caja to mount the device via 'Network' and going in through that way. I then double click on the icon to play the video and that's where this error starts. See the screen shot below for what I'm doing. I hope you can see it appears to be mounted within Caja and it might point to what I'm doing wrong?

https://www.dropbox.com/s/6nes0ugawe...Screenshot.png

There are two reasons as to why I'm using Samba, the first is ease of setup, this is the one time I've ever had a problem with Samba, NFS I tried for years with no success. Secondly, my work laptop runs Windows and without Samba I'd have no music to listen to.
 
Old 06-14-2013, 10:51 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I mount my Samba shares using the fstab. No GUI tool for that and works without a hitch. AFAIK, VLC should support Samba, but since I am not using it that way I can't comment on that.
 
1 members found this post helpful.
Old 06-14-2013, 12:07 PM   #8
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Original Poster
Rep: Reputation: 13
That's a fantastic idea you gave me, it's VLC's problem with the video on the Pi. It works fine with Totem, and VLC works fine accessing another computer with Samba and playing videos.

Edit: Right, mounted through the command line and it works fine in VLC! I'm just looking at how to add it to fstab now. For everyone elses record, as well as mine, the following worked for me.
Code:
sudo mount -t cifs //192.168.0.176/devices /mnt -o guest
Thanks for the fantastic inspiration!

Last edited by NotAComputerGuy; 06-14-2013 at 12:40 PM.
 
Old 06-14-2013, 12:48 PM   #9
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Original Poster
Rep: Reputation: 13
Right, for now (at least, using umount and mount) this appears to be solved. Massive thanks to TobiSGD for giving me a different view on how to solve it, which using his view, made it fairly simple and straight forward to solve.

Overview of my solution:
Forget mounting samba in Caja (file manager)
Mount through the command line!
For ease of access, add to fstab.
 
1 members found this post helpful.
  


Reply



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
New monitor - all video software crashes when I try to play video Lossenelin Linux - General 3 09-14-2010 05:30 AM
Lucid: Video apps crash after loading a video to play on Dell Latitude X300 johnbartley Linux - Hardware 9 08-16-2010 10:14 AM
Many video format (such as video/x-ms-asf and video/x-ms-wvx ) does not play? jmettova Debian 1 05-05-2009 11:22 AM
Firefox / Flash Player problem: Online video will play only audio, video is white. NOoBuntuLinux Linux - Software 1 03-28-2009 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:39 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
Open Source Consulting | Domain Registration