[FFmpeg-devel] parse_packet

Luca Barbato lu_zero
Fri Jun 8 09:31:15 CEST 2007


Panagiotis Issaris wrote:
> Do I understand this correctly to mean that if 1 is returned the RTP
> packet contained multiple parts which will result in multiple AVPackets?
> 

The rfc specifies ways to fragment OR aggregate NAL units into rtp
packets, see feng sources to see an ugly way to do it:

http://live.polito.it/gitweb/?p=feng.git;a=blob;f=mediathread/h264.c;h=48784c037d7660eddc302ac81143d767daeecb16;hb=HEAD

The ffmpeg parser can decode the streams from feng correctly.

lu

-- 

Luca Barbato

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





More information about the ffmpeg-devel mailing list