[FFmpeg-devel] Question about AVRtpPayloadTypes

Luca Barbato lu_zero
Fri Aug 10 15:17:52 CEST 2007


Luca Abeni wrote:
> Hi all,
> 
> I have some doubts about the RTP/RTSP code in libavformat. I hope 
> someone here can help me in understanding it...
> While trying to implement proper support for mpeg1 and mpeg2 video in 
> libavformat/rtp.c, I found some parts of the code that seem to be a 
> little bit confusing.

please keep rtp.c as small as possible and move codec specifics
somewhere else.

For codecs with fixed pt, the first code is correct, for codecs with
dynamic pt (say >=96) it is wrong...

you may have dynamic pt for known enc_name (say 96 MPV) not sure who
handles that correctly.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list