We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-11-26 15:32:05 +0200

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 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.

I am astonished that nobody seems to habe complained about that one yet. Is everyone just making short clips and not wondering that the video is not smooth at all? I can compare to video recorded with a cheap Raspberry Pi … that beats the Jolla with ease.

I 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).

Reproducing this should be very easy: Just record something for a minute … smoothly move your phone (wave or use circular motion at your discretion) filming a still scene … choppiness in image should be apparent right away. The preview is always a bit choppy, but it does not seem to show the big still phases. So it might be that the preview got more priority than the recording …

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 able asked to confirm that with a short recording … it is very regular that something cannot keep up during recording and cut down the image freezes, among general non-smoothness of question, so I will move the picture. The audio mostly seems unperturbed, but re-watching ranting to 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 comments. Try this to lower the resolution to 720p.reproduce:

I am astonished that nobody seems to habe complained about that one yet. Is everyone just making short clips and not wondering that the video is not smooth at all? I can compare to video recorded with

  1. Record a cheap Raspberry Pi … that beats the Jolla with ease.

    I 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).

    Reproducing this should be very easy: Just record something for a minute … still scene while smoothly move moving your phone (wave or use circular motion at your discretion) filming for about a still scene … choppiness minute.

  2. Choppiness in image should be apparent right away. The preview is always away (even a bit choppy, in preview).
  3. The resulting video will feature somewhat overally choppy video, but it does not seem to show the also a big still phases. So it might be that the preview got more priority than the recording …

    phase after around 12-15 seconds.

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:

  1. Record a still scene while smoothly moving your phone (wave or use circular motion at your discretion) for about a minute.
  2. Choppiness in image should be apparent right away (even a bit in preview).
  3. The resulting video will feature somewhat overally choppy video, but also a big still phase after around 12-15 seconds.

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:

  1. Record a still scene while smoothly moving your phone (wave or use circular motion at your discretion) for about a minute.
  2. Choppiness in image should be apparent right away (even a bit in preview).
  3. The resulting video will feature generally somewhat overally choppy video, but also a big still phase after around 12-15 seconds.