Problem playing Files on Samba4

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
egi815
New Cone
New Cone
Posts: 3
Joined: 18 May 2014 23:21
VLC version: 2.1.3
Operating System: Windows / Linux

Problem playing Files on Samba4

Postby egi815 » 18 May 2014 23:31

I've just upgraded my vdr to Ubuntu 14.04 and now i have Samba 4.

On my Windows-machine i can no longer watch videos which are still recording... (with VLC)

On samba 3 this was no problem, but on samba 4 the playback always stopps at the point which was the actual filelength wenn i started the playback.

I also mounted the video directory to an other linux machine via nfs and shared it there with samba3. This works like ever...

I have got no idea whats going wrong there...

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

Re: Problem playing Files on Samba4

Postby Rémi Denis-Courmont » 19 May 2014 03:57

Better ask on Samba fora, we cannot help you here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

egi815
New Cone
New Cone
Posts: 3
Joined: 18 May 2014 23:21
VLC version: 2.1.3
Operating System: Windows / Linux

Re: Problem playing Files on Samba4

Postby egi815 » 19 May 2014 08:16

It clear to me that this is not a vlc Problem, but vlc is the only software i found, which shows the Problem...

and maybe someone has an easy solution for this...

Maybe an samba switch or something simmilar..

or a explaination what is going wrong there...

or at least if someone else has the same Problems...

I guess, they changed something in Samba core, so that vlc cannot stat the real filelength...
it also would help to know, how vlc reads the files...
just reading until EOF?
but i think it cannot be so easy, because vlc has to wait until it needs new data...

i tried all kind of protocol in Samba.. but it did not change anything...

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

Re: Problem playing Files on Samba4

Postby Rémi Denis-Courmont » 19 May 2014 09:03

Did you actually try to read a file with another software while the file was expanding? It just seems Samba 4 fails to update the file length of an already open file. Reading a read-only file should be no problem.

It might even be a limitation of the newer version of the protocol. On Windows, you are not supposed to change files while reading them, AFAIR.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

egi815
New Cone
New Cone
Posts: 3
Joined: 18 May 2014 23:21
VLC version: 2.1.3
Operating System: Windows / Linux

Re: Problem playing Files on Samba4

Postby egi815 » 19 May 2014 11:14

Hy,

yes i tried with windows media player, and its the same behavior...

i also switched samba back to nt1 protocol, but it does not help...

i just hoped that somebody here had the same Problem and probably an solution for it..

waywardnl
New Cone
New Cone
Posts: 2
Joined: 15 Feb 2015 19:25

Re: Problem playing Files on Samba4

Postby waywardnl » 15 Feb 2015 19:38

I got the samba problem, FreeBSD 10.1 en samba 4.1 with zfs. I did not figur out what causes this behavior. Writing is no problem at all

waywardnl
New Cone
New Cone
Posts: 2
Joined: 15 Feb 2015 19:25

Re: Problem playing Files on Samba4

Postby waywardnl » 15 Feb 2015 21:54

I added this to smb4.conf under [global], it seems to work:
max log size = 10240
dns proxy = no


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 72 guests