<div dir="ltr"><div><div>Hi, I'm just starting my journey with libav API and I need some guidance about how to read a dump of interleved RTP/RTCP (RTP over TCP) data into ffmpeg and decode it (h264 Constrained).<br></div><div><br>I know I can do it via rtsp (there are examples of it) but the thing is that I need it outside RTSP session, and RTP data sen't directly and read via sdp in ffmpeg/ffplay/ffprobe is for some reason destroyed (loads of h264 decoding errors but strangely enough RTSP with RTP over UDP is fine...).<br><br></div><div>So I know the basic steps to get it done i.e.:<br></div><div>1) decompose the interleaved stream to RTP and RTCP<br></div><div>2) depacketize RTP and get h264 stream<br></div><div>3) decode the stream (well in my case I guess it suffices to copy  and mux it to  a container) <br></div><div>4) mux and output container.<br><br></div><div>Question is which api should I use to do these steps? I assume that there is no ready API to decompose interleaved data, but then other tools do it some way and I can't see where <br><br></div><div>Any help is greatly appreciated<br></div><div>I have no qualms over sharing my outcomes<br></div></div></div>