[Ffmpeg-devel] H.263 decoding problem...

Cool_Zer0 c00jz3r0
Wed Jan 24 12:21:38 CET 2007


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?







More information about the ffmpeg-devel mailing list