Is there a way to retrieve raw frame data from RTSP?

This forum is about all development around libVLC.
badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Is there a way to retrieve raw frame data from RTSP?

Postby badgeror » 20 May 2020 14:25

Hi
I'm trying to retrieve a custom video feed that transits through RTSP but is sent without any compression. Each RTP frame contains a full image. Using lib555 openRTSP I can dump the raw images to file using the following command line: ./openRTSP -m -t -b 1000000
Is there a way to get the equivalent data from libvlc?

Thanks
Sebastien

badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Re: Is there a way to retrieve raw frame data from RTSP?

Postby badgeror » 20 May 2020 15:48

Some additional info: the custom stream has 2 sub-sessions: a "video/H264" and a "application/VND.ONVIF.METADATA"
The H264 session is actually empty but the METADATA one has the image data

live555 will correctly see both sessions, issue a PLAY on both and retrieve frames coming on the METADATA subsession

Now I'm looking forward to being able to do this with libvlc

badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Re: Is there a way to retrieve raw frame data from RTSP?

Postby badgeror » 20 May 2020 15:52

From what I see in modules\access\live555.cpp, the "application" subsession is not handled by VLC. Am I right in thinking so?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests