[FFmpeg-devel] [PATCH] RTP depacketizer for AMR
Martin Storsjö
martin
Wed Jan 27 13:50:36 CET 2010
Hi,
Here's the first shot at an RTP depacketizer for AMR. It has been tested
with libavformat's RTP AMR packetizer, QuickTime Broadcaster and samples
from Darwin Streaming Server.
Currently, this returns the AMR frames from the packet one at a time, by
buffering up the packet within the depacketizer.
I also tried returning all frames at once, but ffmpeg.c gives the
"Multiple frames in a packet from stream" error message (but works fine
except for that).
Is returning one frame at a time in this way ok, or should an AMR parser
be added to handle the splitting?
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpdec-amr.patch
Type: text/x-diff
Size: 11053 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100127/70f3ec7f/attachment.patch>
More information about the ffmpeg-devel
mailing list