From: Erik J. <eri...@gm...> - 2016-04-22 08:03:02
|
Hello, I was provided with a sample file which contains all open-GOP MPEG2 essence. The structure of the file is IBBPBB... where the first two B-frames reference a non existing keyframe. These two broken frames are ignored thanks to an edts entry. The stss atom is empty as there are only partial sync samples. The problem I found is that packet_index_create_video() marks all frames as keyframes when there are not stss entries. Trivial fix: - else if(!stss) + else if(!stss && !stps) Patch attached Thanks, Erik |