Page 1 of 1

Get each frame data from rtsp stream using libvlc???

Posted: 16 May 2010 06:43
by passionggg
hi,all
now i has set up my own project using libvlc(which got in the dir /vlc.1.0.0/sdk and plugins after make package-win32-base) to read IP camera rtsp stream and display the video in real time.
and the problem: is there a callback or register function in the libvlc while getting each frame data from the rtsp stream? and the one of the function parameters is the pointer to each frame raw data?
hope for everyone's help!!! very appreciate!!!!!

Re: Get each frame data from rtsp stream using libvlc???

Posted: 16 May 2010 12:17
by Rémi Denis-Courmont
You can use the vmem video output for this.

Re: Get each frame data from rtsp stream using libvlc???

Posted: 17 May 2010 04:14
by passionggg
Would you please give me an example for how to use vmem video output. i am a freshmen for using libvlc. Thanks very much!

Re: Get each frame data from rtsp stream using libvlc???

Posted: 17 May 2010 18:20
by Rémi Denis-Courmont
Would you care to search for the answer.

Re: Get each frame data from rtsp stream using libvlc???

Posted: 19 May 2010 07:47
by passionggg
Thanks every body.
i used vmem and the Qt example which can be searched in the forum and succeed to display the rtsp stream.

Re: Get each frame data from rtsp stream using libvlc???

Posted: 31 Oct 2012 19:51
by flazzari
Hello, would you mind to share your solution?
Did you have to use libvlc_video_set_callbacks() to save frames?

Thanks

Re: Get each frame data from rtsp stream using libvlc???

Posted: 31 Oct 2012 20:24
by Rémi Denis-Courmont
Yes.

Re: Get each frame data from rtsp stream using libvlc???

Posted: 09 Nov 2012 21:05
by flazzari
So can you help me setting up the callbacks to save frames?
Or at least point me in the right direction

Note that i'm not developing libvlc itself, i'm just using the lib in my app, so i don't have access to the entire libvlc from my app, just the stuff that is in the vlc.h.

Re: Get each frame data from rtsp stream using libvlc???

Posted: 10 Nov 2012 13:52
by Rémi Denis-Courmont

Re: Get each frame data from rtsp stream using libvlc???

Posted: 19 Sep 2019 15:22
by nel
Hi I just start working in a similar project . I would be thankful if someone can give me a push.
in fact I played my stream video in an android app using libvlc and now I'm looking for getting video's frame .