Page 1 of 1

howto record stream by command line option?

Posted: 15 Jul 2009 12:42
by seahawk1986
Hi everybody,
VLC 1.0 has a new nice "record" button, which enables you to save all kinds of (streaming) media "as it is" to disk.
Is there any way to do this by vlc command line options?
At the moment I have to customize these options for each type of stream, eg.:

Code: Select all

vlc rtsp://xxx.xxx.xxx.xxx/mydirectory/mystream.mov --sout=#duplicate{dst=std{access=file,mux=mov,dst="myfile.mov"}

Re: howto record stream by command line option?

Posted: 15 Jul 2009 13:01
by Jean-Baptiste Kempf
from command-line, you can use :demux=dump

Re: howto record stream by command line option?

Posted: 15 Jul 2009 13:51
by seahawk1986
I tried :demux=dump, it works for local files but unfortunately not for rtsp streaming videos, no file is created and I still have to specify the filename manually. My command looks like this:

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc -vvv rtsp://xxx.xxx.xxx.xxx/mydirectory/mystream.mov :demux=dump :demuxdump-file="C:\Users\MyUsername\Videos\myvid.mov"
Did I forgot something? Is there an other way to use the record button by command-line?