[FFmpeg-user] need help in fixing in FFmpegWrapper: av_interleaved_write_frame video issue.

krish krishna.kumar.iitm at gmail.com
Sat Mar 12 14:58:57 CET 2016

I am new to this forum and have zero knowledge on ffmpeg.

I am using KickFlip's sdk for live straming from an android device.

Everything works fine until  35 Mins  of live streaming, but starts failing
after 35 Mins , the errors comes from FFmpegWrapper.so library.

*Error: FFmpegWrapper´╣Ľ av_interleaved_write_frame video: 0 pkt: 64440 size:
565 error: Invalid argument*

On searching for solutions , I came across this solution ,(

In File FFmpegWrapper.C  , change int type cast to int64.

packet->pts = (int) jPts;


packet->pts = (int64_) jPts;

Is this the correct solution ? If yes then how can I build the required
libraries ? I really appreciate your help in fixing the above issue. (
NOTE: Tried contacting kickflip but haven't got any response from them )

Thanks in advance.


More information about the ffmpeg-user mailing list