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

krish krishna.kumar.iitm at gmail.com
Sun Mar 13 01:13:41 CET 2016


Hello,
I am new to this forum and have zero knowledge on ffmpeg.  I have forwarded
this to users group a 10 hours ago but haven't any reply. Not sure if I can
post in dev forum. Sincere apologies if this mail doesn't fit dev forum's
criteria.

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 ,(
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-devel mailing list