[FFmpeg-devel] Full support for sending H.264 in RTP

Michael Niedermayer michaelni at gmx.at
Wed Jun 15 18:13:18 CEST 2011


Hi luca

On Wed, Jun 15, 2011 at 01:34:51PM +0200, Luca Abeni wrote:
> Hi all,
>
> rtpenc support for H.264 is currently incomplete (it supports
> only one of the two possible H.264 bitstream syntaxes).
>
> As a result, something like
> 	ffmpeg -re -i video.mp4 -an -vcodec copy -f rtp rtp://127.0.0.1:10000
> (where video.mp4 contains an H.264 video stream) will not work.
>
> The attached patch fixed this problem, by implementing support for the
> "MP4" syntax of H.264 bitstreams (sorry, I call it "mp4 syntax"; I do not
> know the correct name).
>
> I know this patch causes some code duplication (or quadruplication :);
> this is why I never submitted it for inclusion (it is actually a quite
> old patch).
> But I continuously receive private emails from people asking for the
> patch... So, at least now it is archived in the mailing list
> archives ;-)

patch applied, if so many people want it we should include it.


>
> As a side note, the command I posted above segfaults on exit. This is
> unrelated to my patch (it segfaults even without it).
>
>
> 				Luca
>
> P.S.: I am not subscribed to the mailing list. If you reply, please cc:
> me.

CC-ed

also thx for the patch and welcome back!
and please send me your public ssh key so i can give you git write
access.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110615/d58fdd17/attachment.asc>


More information about the ffmpeg-devel mailing list