Page 1 of 1

overlay error

Posted: Sat Nov 08, 2014 12:33 pm
by bleunetizen
Hi there,

Just tested an overlay, it is a short 60sec video with OBD and external GPS data.

When it is about 65% through, the overlay fails with error "LapTimer failed writing the overlaid video. Error reported is "Code: 6, writing video frame failed'.

There is enough free space on both SD and internal storage of the phone, changing overlay quality does not seem to make any difference.

Any suggestions? It is on samsung note 4

thanks!

Re: overlay error

Posted: Sat Nov 08, 2014 12:58 pm
by Harry
That's a problem reported by the video library - it has problems processing a special frame. Please try two things: 1) repeat - maybe there has been some influence from another process 2) Generate a trace log which probably includes some more context information I can investigate. Instructions can be found here, the trace classes to enable are FFmpeg and Video.

I assume it is some compatibility issue between the video lib and the particular (hopefully not every) video recorded by the Note4.

- Harry

Re: overlay error

Posted: Sun Nov 09, 2014 11:27 am
by bleunetizen
Hi Harry,

sent the log through to your email :)

Re: overlay error

Posted: Fri Nov 14, 2014 4:44 am
by bleunetizen
tested another short video clip, returns the same error. Does laptimer use internal memory or SD card? maybe something is wrong with my memory card?

Re: overlay error

Posted: Tue Dec 23, 2014 4:39 am
by bleunetizen
any update on this one? Have a friend with the same phone who wants to buy the laptimer, I ended up using iphone6 instead because I couldnt wait..

Re: overlay error

Posted: Tue Dec 23, 2014 9:29 am
by Harry
Hi,

Sorry for the missing reply. I received your log, thanks for sending. As expected, it is an error returned from the video library when writing a single frame. While I could ignore the error, skip the frame, and continue with the next one, I'm currently working on replacing the current library by a new version and an alternative approach for Android 4.3 and later. I hope he problem will go away then. While he ignore/skip/continue thing will go into a bugfix release (early January), the replacement of libs goes into LapTimer v19 (early Spring 2015).

- Harry