Camera video recording choppy with big pauses in video (and skips in audio)
While evaluating the recording of long video files with SFOS 2.0.5.6 (see https://together.jolla.com/question/151757/camera-recording-broken-video-after-4-gib-file-size-sailfish-os-20414/), I noticed in horror that the videos from my original Jolla phone are nearly unusable because they feature rather choppy image overall and also have annoying long still picture phases every 12-15 seconds or so.
I was asked to cut down the question, so I will move the ranting to the comments. Try this to reproduce:
- Record a still scene while smoothly moving your phone (wave or use circular motion at your discretion) for about a minute.
- Choppiness in image should be apparent right away (even a bit in preview).
- The resulting video will feature generally somewhat choppy video, but also a big still phase after around 12-15 seconds.
I was able to confirm that with a short recording … it is very regular that something cannot keep up during recording and the image freezes, among general non-smoothness of the picture. The audio mostly seems unperturbed, but re-watching the longer video, I notice that audio skips there, too. I watched the video on a Linux PC with MPlayer, not only on the phone. I did not even record in full HD, I used kimmoli's camera settings plugin to lower the resolution to 720p.
mobilthor ( 2016-11-26 15:48:52 +0200 )editI am so hoping that some tuning of gstreamer buffers, or process priorities is able to fix this. Or is the Jolla just not powerful enough for even 720p h264 capture? Does it have to do everything in software? I have to wonder if I should get another Raspberry Pi or, $DEITY forbid, a proper camera after all … jokes aside: I expect the lens and sensor on a 300 € smartphone not to be the best available, given the constraints… but I expect that the device is at least able to give me whatever mediocre picture quality it manages in a smooth video recording.
Perhaps that 12-15 seconds interval for the big pauses gives a hint … is there something regular happening in another process that shoves the camera gstreamer aside? Please note that I disabled any network during the initial recording, the phone was in flight/airplane mode. This is independent of recording to the sd card or the internal memory. No difference. Also, I got notice that the recording is also choppy with Jolla C and with the original Jolla phone with an older SFOS (more in the comments soon).
mobilthor ( 2016-11-26 15:49:10 +0200 )editping @MSameer, I can confirm that I am seeing the same periodic freezing when recording with Jolla C on 2.0.5, as well as general poor recording performance on Jolla 1 with 2.0.1
r0kk3rz ( 2016-11-26 16:04:54 +0200 )editunfortunately i must agree...vvideo is choppy too with my J1...it was not with older releases so i assume is just a software bug...hope it will get fixed...
247 ( 2016-11-26 23:31:38 +0200 )editI have it on my J1 on ( still ;) ) SFOS 2.0.1.11
Bury ( 2016-11-27 13:58:45 +0200 )edit