[FFmpeg-devel] questions on live streaming of h.264 in a FLV container

Daniel G. Taylor dan
Wed Sep 3 23:08:06 CEST 2008


On Wed, 2008-09-03 at 14:02 -0700, Raymond Peck wrote:
> > The module is mod_h264_streaming for lighttpd, but the
> > code is fairly simple.
> 
> Yes, some other folks I work with are using this for streaming of static
> files, but what I'm trying to get going is live video. . . which again we
> have working for non-h.264 FLV.

Ah, sorry I should have read more carefully!

> > Basically this means you must send ftyp and modified moov atoms for
> > every seek, then the raw data at that position in the file (the mdat
> > atom).
> 
> Right.
> 
> > As for real streaming, I have no idea how the proprietary RTMP protocol
> > works, and I'm not sure about H.264 in FLV (I believe Adobe recommends
> > using MP4 or F4V, a modification of MP4, and recommends against using
> > FLV).
> 
> Yes, they do. . . but we're trying to get it to work without their streaming
> servers.  ;-)  It seems very close, since I can stream live if I have the
> beginning-of-file headers.  I'm hoping to not have to reproduce those in
> full, by injecting the SPS/PPS data in some other atoms mid-stream.

I don't yet understand enough about H.264 to help with this, but good
luck!

> Thanks for the info!
-- 
Daniel G. Taylor
http://programmer-art.org





More information about the ffmpeg-devel mailing list