Page 1 of 1

Problem playing Files on Samba4

Posted: 18 May 2014 23:31
by egi815
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...

Re: Problem playing Files on Samba4

Posted: 19 May 2014 03:57
by Rémi Denis-Courmont
Better ask on Samba fora, we cannot help you here.

Re: Problem playing Files on Samba4

Posted: 19 May 2014 08:16
by egi815
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...

Re: Problem playing Files on Samba4

Posted: 19 May 2014 09:03
by Rémi Denis-Courmont
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.

Re: Problem playing Files on Samba4

Posted: 19 May 2014 11:14
by egi815
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..

Re: Problem playing Files on Samba4

Posted: 15 Feb 2015 19:38
by waywardnl
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

Re: Problem playing Files on Samba4

Posted: 15 Feb 2015 21:54
by waywardnl
I added this to smb4.conf under [global], it seems to work:
max log size = 10240
dns proxy = no