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

This forum is about all development around libVLC.
passionggg
Blank Cone
Blank Cone
Posts: 18
Joined: 06 May 2010 07:27

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

Postby passionggg » 16 May 2010 06:43

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!!!!!

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

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

Postby Rémi Denis-Courmont » 16 May 2010 12:17

You can use the vmem video output for this.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

passionggg
Blank Cone
Blank Cone
Posts: 18
Joined: 06 May 2010 07:27

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

Postby passionggg » 17 May 2010 04:14

Would you please give me an example for how to use vmem video output. i am a freshmen for using libvlc. Thanks very much!

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

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

Postby Rémi Denis-Courmont » 17 May 2010 18:20

Would you care to search for the answer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

passionggg
Blank Cone
Blank Cone
Posts: 18
Joined: 06 May 2010 07:27

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

Postby passionggg » 19 May 2010 07:47

Thanks every body.
i used vmem and the Qt example which can be searched in the forum and succeed to display the rtsp stream.

flazzari
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2012 19:31

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

Postby flazzari » 31 Oct 2012 19:51

Hello, would you mind to share your solution?
Did you have to use libvlc_video_set_callbacks() to save frames?

Thanks

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

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

Postby Rémi Denis-Courmont » 31 Oct 2012 20:24

Yes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

flazzari
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2012 19:31

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

Postby flazzari » 09 Nov 2012 21:05

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.

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

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

Postby Rémi Denis-Courmont » 10 Nov 2012 13:52

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nel
New Cone
New Cone
Posts: 1
Joined: 11 Sep 2019 10:00

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

Postby nel » 19 Sep 2019 15:22

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 .


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests