Save stream to file

This forum is about all development around libVLC.
mmirco
New Cone
New Cone
Posts: 7
Joined: 19 Feb 2014 10:21

Save stream to file

Postby mmirco » 19 Feb 2014 10:39

Hi,
i have a problem with my plugin vlc in my visual basic application.
This is the code:

Dim options as string
options= ":sout=#duplicate{dst=display,dst=std{access=file,mux=ps,dst=c:\doc\test.mpg}}"
vlc.addTarget("rtsp://172.16.98.20:554/stream1", options, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0)
vlc.play()

The video play correctly, but not create the file...

mmirco
New Cone
New Cone
Posts: 7
Joined: 19 Feb 2014 10:21

Re: Save stream to file

Postby mmirco » 21 Feb 2014 15:52

possible that nobody is able to tell me if it is possible to save the stream to a file without using the command line?

also
Blank Cone
Blank Cone
Posts: 14
Joined: 13 Oct 2011 00:44

Re: Save stream to file

Postby also » 08 Mar 2014 18:57

There is a record module available:
vlc "http://rs1.stream.org:8690/stream" --sout=#record{dst-prefix="C:/my_file_without_extension"}

it works, but this module does not support any controls like start/stop/pause. It also does not support callbacks or events.
It's very sad !


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 40 guests