Next File Causes Client Disconnection...

About encoding, codec settings, muxers and filter usage
minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Next File Causes Client Disconnection...

Postby minart » 10 Nov 2010 22:22

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

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Next File Causes Client Disconnection...

Postby rogerdpack » 17 Nov 2010 14:43

is that on the client or the server (the messages)?

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 17 Nov 2010 14:45

That's on the client..

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Next File Causes Client Disconnection...

Postby rogerdpack » 17 Nov 2010 14:55

what muxer are you using? perhaps --sout-keep on the client...would help, though that would be weird still...

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 17 Nov 2010 16:40

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...

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Next File Causes Client Disconnection...

Postby rogerdpack » 17 Nov 2010 20:07

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...

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 20 Nov 2010 13:20

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....

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

Re: Next File Causes Client Disconnection...

Postby Rémi Denis-Courmont » 20 Nov 2010 13:58

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 23 Nov 2010 09:56

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.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Next File Causes Client Disconnection...

Postby rogerdpack » 28 Nov 2010 00:38

are you using gather?

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 08 Dec 2010 12:33

Not sure... how would I check? :P

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Next File Causes Client Disconnection...

Postby rogerdpack » 08 Dec 2010 21:30

it should be on the command line there...
http://www.google.com/search?sourceid=c ... vlc+gather

minart
New Cone
New Cone
Posts: 9
Joined: 10 Nov 2010 22:09

Re: Next File Causes Client Disconnection...

Postby minart » 14 Dec 2010 17:42

Will investigate, sounds like I need to read up some more, cheers.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests