Hi, I have a pcap dump with RTSP+RTP session from which I want to extract video and audio channels and then combine them in one video file.
I extract RTP payload of video stream, but in such a raw form it isn't playable, because packetization is needed. Can I use libvlc to do this for me somehow?
I found code for this in rtpfmt.c, but don't know how to use it.
The ideal algorithm for me is to parse RTSP packets manually, get SDP from it, initialize some VLC.RTP module with settings from SDP, and then put all RTP packets to vlc, and take a videofile in response.
Is it possible or that functionality is not intended for such use case?