Postby OnlyALad » 31 Mar 2009 08:32
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?