Note that you can start decoding h264 stream from a keyframe (i-frame).
Therefore a full index for the stream is almost useless. Usually, it's wiser
to store index to key frames.
Alex
PS this can also explain the behavior of ffmpeg for the "tail", if it
doesn't start with i-frame.
BR,
Alex
On S
Hello. I am trying to implement some kind of seeking mechanism in H.264
files
without any container, just raw H.264 stream. I have some troubles with it.
1) Problem #1. I am using ffmpeg to cut let's say 143 frames from video in
this way:
ffmpeg -i source.h264 -vcodec libx264 -b 1200k -r 30 -vfra