Murasoli Selvan K <muraso...@calsoftlabs.com> added the comment: Hi, I am using the ffmpeg code to form my own API, so i couldnt point you a proper place in ffmepg.c but i can tell you the solution which i did,
For me this error is coming for only if video encoding codec is H.264, all other codecs it was working fine, and what i did is , before doing the encoding video we will be doing some av_rescale operations someting like this below code, av_rescale_q(ist->pts, AV_TIME_BASE_Q, ost->st->time_base); I just commented (which means not calling ) it only when output codec is H.264, all other stuff i left it as it is, and it was working fine for me without any issue, I dont knw whether this is a real fix ---------- substatus: reproduced -> fixed ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue807> ________________________________________________