View Single Post
Old 29th April 2018, 23:29   #10  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by NailBomber View Post
Is FFMPEG's MKV muxing bugged?
No. If you use ffmpeg to encode with libx264 directly to mkv container ffmpeg will write SPS/PPS only once. If you output to H.264 ES (.264 file) then the SPS/PPS will be repeated for every keyframe. Then decoder gets fed when seeking to different parts of the file even if the parts are not compatible. But if the other part does not have repeated SPS/PPS there can still be problems with certain players. So best recommendation is still to encode with exactly matching parameters. Mkv wasn't designed with changing headers in mind.
sneaker_ger is offline   Reply With Quote