Info required-get images from RTSP streaming

About encoding, codec settings, muxers and filter usage
san_vlc
New Cone
New Cone
Posts: 4
Joined: 06 Jun 2011 12:30

Info required-get images from RTSP streaming

Postby san_vlc » 06 Jun 2011 12:40

Hi all,

I am using libvlc into my application , i have been able to achieve , get the rtsp stream and display it and also save as avi file on harddisk

m_smedia = libvlc_media_new_location(m_pVLCInstance,"rtsp://192.60.104.137/live.sdp");
libvlc_media_add_option(m_smedia,":sout=#transcode{vcodec=h264,vb=800,acodec=none,fps=15}");
libvlc_media_add_option(m_smedia,":sout=#duplicate{dst=display,dst=std{access=file,mux=ps,dst=d:\\Test.avi}}");
libvlc_media_player_set_media(m_pMediaPlayer,m_smedia);

I want to get the jpg files (save them on harddisk)and not the avi file , tried but there is not much information on this , need help.

Thanks,
san_vlc

myrkertu
New Cone
New Cone
Posts: 1
Joined: 07 Jun 2011 16:26

Re: Info required-get images from RTSP streaming

Postby myrkertu » 07 Jun 2011 16:50

Hello san_vlc,
this post isn't actually an answer to your problem.
1) Thank You Very Much
I spent an entire day trying to find a way to record: have tried all possible combination of the magic ":sout .." at no result. 5 minutes ago ran into your posting and wow: it works.
2) Have you found a way to stop recording other than taking down the media etc
Once again thanks in advance

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Info required-get images from RTSP streaming

Postby Rémi Denis-Courmont » 07 Jun 2011 20:14

The scene filter saves pictures on the hard drive, but it probably won't work at 1/1 frame capture ratio, because it will run at nominal playback speed.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 31 guests