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.
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel