Page 1 of 1

Next File Causes Client Disconnection...

Posted: 10 Nov 2010 22:22
by minart
Hi,

I'm new to streaming via VLC - had a good google (and google of this forum) for the answer to my question, I'd be grateful if someone can help shed some light as to why when I'm streaming multiple files, they play fine separately but when put in a playlist, queued up separately there's a break between playing files which causes the clients to disconnect.

I've tried 1 file on a loop, several files, the same file several time.. a playlist file... still no joy. I was running an old version of VLC (0.8) and upgraded to the latest version tonight (how much more complicated is streaming!) - but no change.

I've seen people pasting the logs/message windows so thought I'd include mine. Hopefully it's something obvious I'm missing. Cheers:

-
:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100} :no-sout-rtp-sap :no-sout-standard-sap :sout-all :sout-keep
-

When the next file kicks off:
-
aout_directx error: cannot initialize DirectSound
waveout error: cannot open waveout audio device
aout_sdl error: cannot initialize SDL (SDL not built with audio support)
main error: couldn't find a filter for the conversion f32l -> mpga
main error: couldn't create audio output pipeline
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 435 ms)
-

Thanks

Re: Next File Causes Client Disconnection...

Posted: 17 Nov 2010 14:43
by rogerdpack
is that on the client or the server (the messages)?

Re: Next File Causes Client Disconnection...

Posted: 17 Nov 2010 14:45
by minart
That's on the client..

Re: Next File Causes Client Disconnection...

Posted: 17 Nov 2010 14:55
by rogerdpack
what muxer are you using? perhaps --sout-keep on the client...would help, though that would be weird still...

Re: Next File Causes Client Disconnection...

Posted: 17 Nov 2010 16:40
by minart
Tried a few (and different files too) - any suggestions? On the server end, the video plays fine but that small time between files is where it drops...

Re: Next File Causes Client Disconnection...

Posted: 17 Nov 2010 20:07
by rogerdpack
looks like a bug to me. Maybe you can set it to not use directsound for audio output in the client? If that fixes it I would file a bug report...

Re: Next File Causes Client Disconnection...

Posted: 20 Nov 2010 13:20
by minart
How do you mean? Can I set this at the 'server' end? I'd like the connection to be as easy as possible for the users....

Re: Next File Causes Client Disconnection...

Posted: 20 Nov 2010 13:58
by RĂ©mi Denis-Courmont
For a start, your stream output chain is not even valid. You are transcoding but not outputting to anything. So we can only second guess what you are doing.

But regardless, you should probably gather the elementary streams after transcode.

Re: Next File Causes Client Disconnection...

Posted: 23 Nov 2010 09:56
by minart
I wasn't doing anything complicated, I had a stream/output configured (using HTTP), and in that stream I had a file, weather it was a DVD, a AVI, an MP3 or an WMV - if I set the stream to repeat one file continually, each time the file started it disconnected the clients who were connected in.

If I added a 'playlist' of 10 files (same files, or different files), each time one file ended and the next started, the client gets disconnected again.

Re: Next File Causes Client Disconnection...

Posted: 28 Nov 2010 00:38
by rogerdpack
are you using gather?

Re: Next File Causes Client Disconnection...

Posted: 08 Dec 2010 12:33
by minart
Not sure... how would I check? :P

Re: Next File Causes Client Disconnection...

Posted: 08 Dec 2010 21:30
by rogerdpack
it should be on the command line there...
http://www.google.com/search?sourceid=c ... vlc+gather

Re: Next File Causes Client Disconnection...

Posted: 14 Dec 2010 17:42
by minart
Will investigate, sounds like I need to read up some more, cheers.