[Ffmpeg-devel] RTP patches & RFC

Ryan Martell rdm4
Thu Oct 26 23:29:20 CEST 2006


Okay, and now back to the original patch.

This enables the h264 stream stuff; Michael, you have looked at a lot  
of this code before.

The big block of stuff that is moved in rtp.c relating to AAC is just  
moved up from a lower switch statement, otherwise it's unchanged.  
This also has the added benefit of fixing a memory leak where  
av_new_packet was being called twice on the same packet with AAC.

This works great on my stream, I'm working to make one available for  
(limited) testing.  With this patch, and my stream, the audio is out  
of whack, but that's because faac upconverts the frequency and  
converts from mono to stereo.  I have the frequency and channels  
hardcoded on my working copy, which fixes it temporarily.  There will  
be another patch forthcoming to fix that, once i figure out the best  
way to handle it.

After this one gets in, I'll add the statistics stuff, since  
otherwise you will be kicked off after 2 minutes on Darwin Streaming  
server if you are connected via UDP.

Thanks!
-Ryan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061026/9c877b3e/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_h264.c
Type: application/octet-stream
Size: 32155 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061026/9c877b3e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_h264.h
Type: application/octet-stream
Size: 961 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061026/9c877b3e/attachment-0001.obj>



More information about the ffmpeg-devel mailing list