Page 1 of 1

Questions about saving stream (http)

Posted: 09 Mar 2009 15:31
by redtux
Hi I am having issues with saving a streamed file over http
My internet connection is a little on the slow side so could be a factor. Anyway after a short amount of time vlc just stops streaming . Setting a silly cachimg value (120000) makes it better but does not fix the the problem

so

Is there any way to force vlc to wait for the stream?
If I choose raw from the top menu I get a message saying that vlc cannot decode the stream, though if I set it to encode (wmv) it carries on
Are there any other settings I can use?

Re: Questions about saving stream (http)

Posted: 31 Mar 2009 08:32
by OnlyALad
I wonder if

vls stream --demux=dump --demuxdump-file=save-it-here.wma

Might turn off some of the timeout stuff (since it's saving the stream, not trying to play it in realtime). I had some long pauses that didn't seem to cause any glitches in the recording, but I didn't really try to torture it to the breaking point.

I am having a problem trying to save a stream as well. I can sucessfully save it with

vlc url --demux=dump --demuxdump-file=file.wma

but it just sits there quietly while it does it and I would like listen to it while it records. I tried just bashing the save command line and a "play" command line together to form something like:

vlc url --demux=dump --demuxdump-file=file.wma --sout "$working-config"

but this just seems to eat the input and it never gets to the output stream. Does turning on the demux dumping feature mean no output stream you specify will ever see the output? None of the docs I've been reading suggests this is the case, and I don't see any logical reason it couldn't save to a file AND feed output streams so I am puzzled. I saw demux dump referred to as a module in numerous places so I figured maybe I just needed to work it into the --sout argument. Below are some of my guesses as to how t do that:

vlc $k2 --sout='#duplicate{dst=display,dst="demuxdump{file=woot.dump}"}'

#dump fail, but audio plays...
# stream out error: no sout stream module matched "demuxdump"

vlc $k2 --sout='#duplicate{dst=display,dst="standard{demux=dump,file=woot.dump}"}'

#similar fail
#stream_out_standard stream out error: no access _and_ no muxer (fatal error)

#...and a bunch of other unsuccessful attempts...

1) is playing while dumping the raw stream possible? (if not, maybe the docs should mention that...)
2) if possible, what would the proper way to express it be?