[FFmpeg-devel] [PATCH] Maximum number of frames in an RTP packet
Tue Sep 25 14:07:27 CEST 2007
when encapsulating audio or video frames in an RTP packet, some RFCs
allow to aggregate multiple frames in a single packet (this often happens
for audio). FFMPEG's RTP packetizer currently does this for AAC or MPEG
The attached patch introduces a new field (max_frames_per_packet) in
the RTPDemuxContext structure, and sets it based on the AVFormatContext
"max_delay" field (the muxing delay obviously depends on the number of
frames per packet). This new field is then used in the ACC packetizer
(if the patch is accepted, I can write similar code for the MPEG audio
In this way, the patch addresses a comment by Luca Barbato about the
maximum number of AAC frames per RTP packet.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel