[FFmpeg-devel] rtpdec_h264.c RTP to annex-b patch

Martin Storsjö martin at martin.st
Wed Feb 1 17:43:11 CET 2012


On Wed, 1 Feb 2012, Matthew Szatmary wrote:

> The 3 byre start codes and out of band SPS/PPS format is legal, but the 
> only thing in the ffmpeg stack that can parse that is the h264 decoder 
> itself. I could have made this a bit stream filter, but it would do the 
> exact same thing and require extra code / CLI options from the user. 
> Maybe this solution is not ideal for everyone, but currently it is not 
> possible to write an H.264 RTSP stream without transcoding it. This 
> fixes that.

You didn't say which format you tried to write it into - I'm pretty sure 
you can write the output from this into mov/mp4 without problems, which 
wouldn't work with this applied.

// Martin


More information about the ffmpeg-devel mailing list