https://roundup.mplayerhq.hu/roundup/ffmpeg/issue526 it fixes the seeking issue by just put the right number of frames in the header instead of 0. I hope it is enough clean :P