Is there a way to *not* break the stream between files?

About encoding, codec settings, muxers and filter usage
Raketemensch
New Cone
New Cone
Posts: 3
Joined: 15 Aug 2006 06:05
Contact:

Is there a way to *not* break the stream between files?

Postby Raketemensch » 15 Aug 2006 06:07

I've been running a vlc streaming server for a little over a year now, and I have a list of about 200 avi files that it just shuffles through.

The problem I've been unable to solve so far is how to get VLC to create one continuous stream, instead of having the clients drop between files every time.

Anyone know if VLC can do this? Something like a crossfade, perhaps?


Thanks,
Raketemensch

robc
Blank Cone
Blank Cone
Posts: 53
Joined: 22 Dec 2005 22:04
Location: Melbourne, Australia
Contact:

Re: Is there a way to *not* break the stream between files?

Postby robc » 15 Aug 2006 12:46

The problem I've been unable to solve so far is how to get VLC to create one continuous stream, instead of having the clients drop between files every time.

Anyone know if VLC can do this? Something like a crossfade, perhaps?
Try using the --sout-keep flag.

Raketemensch
New Cone
New Cone
Posts: 3
Joined: 15 Aug 2006 06:05
Contact:

Postby Raketemensch » 15 Aug 2006 17:29

Well, when I add -keep to --sout, it then tries to display the movie right there in the console. It looks pretty cool, but isn't especially helpful. The http stream never becomes available. Here's the command line I'm using:

vlc -vvv --extraintf logger -I http --http-src /usr/share/vlc/http/ --http-host
xxx.xxx.xxx.xxx:8090 --logfile /var/www/stream.html --logmode {html} /mnt/space/experiment.m3u --sout-keep '#standard{access=http,mux=asf,url=xxx.xxx.xxx.xxx:8080}'

Any ideas?


Thanks,
Raketemensch

robc
Blank Cone
Blank Cone
Posts: 53
Joined: 22 Dec 2005 22:04
Location: Melbourne, Australia
Contact:

Postby robc » 16 Aug 2006 00:02

The --sout-keep argument is separate to --sout - Try this:

vlc -vvv --extraintf logger -I http --http-src /usr/share/vlc/http/ --http-host
xxx.xxx.xxx.xxx:8090 --logfile /var/www/stream.html --logmode {html} /mnt/space/experiment.m3u --sout-keep --sout '#standard{access=http,mux=asf,url=xxx.xxx.xxx.xxx:8080}'

Guest

Postby Guest » 17 Aug 2006 04:28

OK, that got me a little bit closer, but now the stream dies completely, with this error:

[00000293] main private error: cannot add a new stream (unsupported while muxing to this format)
[00000355] main packetizer error: cannot create packetizer output (mpga)


Thanks,
Raketemensch

jrleighton
Blank Cone
Blank Cone
Posts: 10
Joined: 11 May 2006 16:54

Postby jrleighton » 25 Oct 2006 12:21

Trying to look for a solution to my post here:
viewtopic.php?t=22195&highlight=continuous+streaming

Is there a GUI flag for sout keep ?

Thanks vm

chaosbanane
New Cone
New Cone
Posts: 8
Joined: 22 Oct 2006 12:12

Postby chaosbanane » 25 Oct 2006 17:39

under options > Stream Output (advanced mode) you can set "streamoutput keep open" or something like that to active.

I have the same problem "cannot create packetizer output (mpga)". This happens if you use the afs container. Dont know why but i am searching for a solution too.

whitto
New Cone
New Cone
Posts: 1
Joined: 31 Aug 2007 12:06

Re: Is there a way to *not* break the stream between files?

Postby whitto » 31 Aug 2007 12:08

Hi, I am also wondering, if there is an option to crossfade audio (mp3) playlist?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Is there a way to *not* break the stream between files?

Postby funman » 01 Sep 2007 12:49

nope


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests