On Tue, Apr 01, 2008 at 11:23:28AM -0400, Jean-Francois Blanchard-Dionne wrote:
> Hi I am working to encode data from a camera in h263 and send it through 
> rtp packets.
> 
> I am wondering what the
>  void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int 
> size, int mb_nb);
> 
> does ???

It will be called after each slice is done, it could in principle thus be
used to avoid parsing the frames to find slice boundaries if a libav encoder
is used for some rtp packetization. Of course such a parser is needed anyway
if the source is a .h263 file instead of a libav encoder.
Also this is documented in avcodec.h

And yes the name is bad, it has in principle nothing to do with rtp. Its
just usefull for a rtp packetizer.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to