Hi Gabriele,
Gabriele Greco wrote:
> I've an H263 RTP stream coded following the RFC2190 protocol, this variant
> puts some of the datas needed by the decoder inside the RTP headers, I've
> found an old version of ffmpeg patched to support this and I've ported the
> changes to the newer versions and it works, the "dirty" thing is that I've
> to pass the entire rtp packet to the patched avcodec to decode this format
> and use avcodec_decode_video() in an unusual way.
You should implement the RTP payload parsing code in libavformat, not in
libavcodec. Libavformat already contains code for RTP parsing (see
libavformat/rtpdec.c and libavformat/rtp_h264.c), but does not
support RFC2190 yet...
You just need to implement the depacketisation code for H.263 and you
are done: the code will be clean and easily maintainable.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user