Hi there... Here is the situation... I have a application that already receives RTP packets from a VoIP application that is using Microsoft RTC. I'm able to get the payload of that packets. I've tried to use FFmpeg to decompress that packets using several ways but none worked... - Tried with avcodec_decode_video() but doesn't work... - Tried with AVParser and doesn't work either... Now I'm trying with AVInputFormat but it seems that it only works if I load the video from a file... I think that the main problem is that the RTP packets may not contain the full frame and therefore I need a mechanism that can merge packets and decompress only when there is a full frame... To try AVInputFormat I just need a way of pass the payload to ffmpeg... I already have this int err = av_read_frame(formatcontext, pkt); But I need a way of put the payload on the AVFormatContext... I can't see a way of doing that without using the av_open_input_file() or av_open_input_stream(). With the last one I don't know how to create the ByteIOContext... Anyone can give me an idea of what I can do?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4