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

krish krishna.kumar.iitm at gmail.com
Tue Mar 15 01:29:42 CET 2016


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

I am using KickFlip's sdk for live streaming 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 ,(
https://github.com/Kickflip/kickflip-android-sdk/issues/35#issuecomment-149854977
)

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

packet->pts = (int) jPts;

to:

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.

Regards,
Krishna.


More information about the ffmpeg-user mailing list