Stream rtsp video using axvlcplugin to a file

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Vinshi
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2012 01:48

Stream rtsp video using axvlcplugin to a file

Postby Vinshi » 30 Oct 2013 18:07

I am using VLC plugin to run an rtsp stream. The stream works good. But I want to store these videos to a file destination. I use this code but does not work.

Code: Select all

axVLCPlugin21.playlist.add("rtsp://192.168.10.222:554/h264", null, ":sout=#transcode{vcodec=theo,vb=800,acodec=flac,ab=128,channels=2,samplerate=44100}:file{dst=C:\\123.ogg,no-overwrite} :sout-keep"); axVLCPlugin21.playlist.play();
This code only plays the rtsp stream but does not store. However, the same options can be used to stream directly on the VLC player.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Stream rtsp video using axvlcplugin to a file

Postby RSATom » 31 Oct 2013 05:24

It's not supported by security reasons.

Vinshi
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2012 01:48

Re: Stream rtsp video using axvlcplugin to a file

Postby Vinshi » 31 Oct 2013 15:03

Any scope of development in the the near future?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Stream rtsp video using axvlcplugin to a file

Postby RSATom » 31 Oct 2013 15:09

Don't think it will be ever - it's not safe.

Vinshi
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2012 01:48

Re: Stream rtsp video using axvlcplugin to a file

Postby Vinshi » 01 Nov 2013 14:45

Can you please explain how it is not safe?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Stream rtsp video using axvlcplugin to a file

Postby RSATom » 01 Nov 2013 16:24

What if someone will overwrite one of system or user file via plugin? What if he overwrite executable file by virus?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 23 guests