[Live-devel] sync sample issue with flash players

Matt Schuckmann matt at schuckmannacres.com
Tue Jul 28 09:52:52 PDT 2009


I would never make any assumptions about a key frame every 12 frames. I 
don't know exactly  what these atoms are but I regularly use FFMPEG and 
other encoders to create H.264 streams with very different key frame 
intervals.

Matt S.

Ross Finlayson wrote:
> OK, I've now released a new version (2009.07.28) of the "LIVE555 
> Streaming Media" software that includes this change.
>
> However, I changed your suggested code so that it adds the "stss" atom 
> only for video streams.  (For audio streams, such an atom doesn't 
> appear to make sense (see 
> <http://wiki.multimedia.cx/index.php?title=QuickTime_container#stss>), 
> and would lead to an extremely large number of entries anyway.)
>
> Also, I'm rather nervous about the assumption that 'key frames' occur 
> every 12 frames in each video stream.  This might be true for 
> ffmpeg-generated H.264 streams, but or many (if not most) other video 
> streams, that won't be the case, so I'm worried about what this might 
> break.  So if anyone runs into any problems with this change, please 
> let us know.


More information about the live-devel mailing list