Page 1 of 1

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

Posted: 20 May 2020 14:25
by badgeror
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

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

Posted: 20 May 2020 15:48
by badgeror
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

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

Posted: 20 May 2020 15:52
by badgeror
From what I see in modules\access\live555.cpp, the "application" subsession is not handled by VLC. Am I right in thinking so?