scheutzo <[email protected]> added the comment: There are multiple issues with this bitstream.
My above comment was specifically focused the first error: "non-existing SPS 0" SPS 0 does in fact exist in the bitstream, but the ffmpeg parser is confused by the illegal ordering of NALs. I won't spend any of my effort trying to work around that. The second error, "reference frames exceed max", is there because the bitstream has no IDRs. The stream instead uses recovery_point SEIs. I don't recall what the status is of that feature in the h264 decoder. The bitstream contains 166 pictures, but ffmpeg h264 decoder outputs only 117. I have not investigated why that is. If you want to work on this, I suggest trying to obtain the original stream, rather than working from this one. ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2033> ________________________________________________
