Results 1 to 2 of 2

Thread: Video feed freezes after ~4 minutes on OnePlus 2

  1. #1
    Potential Tuner
    Join Date
    Jul 2017
    Posts
    1

    Video feed freezes after ~4 minutes on OnePlus 2

    Hello!
    I have an issue on my Android OnePlus 2 phone, when recording a video in TA the camera feed just stops around 4 minute mark (sometimes a few seconds before, sometimes later), the image shown is the last recorded frame. I don't have those issues with other apps that record videos (example being Sygic GPS's DashCam function). It also happens in the preview mode.
    I captured the Logcat output during recording however.

    https://pastebin.com/BXybznM4
    This is the general 'spam' happening during recording, with Infinity Focus and Stabilize enabled. It starts as soon as I enter preview or start recording, and as can be seen by the timestamps, it is a literal spam.

    https://pastebin.com/Fh44WqpF
    This is the general 'spam' like above, but with Infinity Focus and Stabilize DISABLED.

    https://pastebin.com/bcn7zVZw
    This is logcat output at the moment of the freeze.

    https://pastebin.com/RtMpN6WU
    And finally, this is the output after the crash, it's just this single line over and over again until I stop recording.

    Upon trying to play the session, it plays correctly until the moment it reaches the part where it freezes, and it can't continue. I didn't check the files, but I'd assume it still has the GPS and sensor data, and shows that there is more time in the recording, but can't progress after it (moving the time bar makes it jump back to the moment of freeze).

    https://pastebin.com/LYvAW4HR
    For comparison, this is a sample of Logcat spam when recording with the DashCam from Sygic GPS app, it records without any freezes, tested recording for an hour of drive without issues.

  2. #2
    HPT Employee Weston@HPTuners's Avatar
    Join Date
    Jul 2014
    Location
    39.735034, -103.894459
    Posts
    868
    Thanks for sharing the log data. Most of the logged events are specific to your particular device model and the services it has running, and the error that causes your video to stop recording is a segmentation fault (aka Signal 11) due to an invalid memory access in CAM_MctWorker (AKA mm-qcamera-daemon). It's unclear what exactly owns that process, but it would appear to be part of the system itself, and unfortunately there's not a clear cause or workaround here.

    TrackAddict uses Android's standard MediaRecorder API, which should typically be the most compatible and straight-forward way to record video, but some manufacturers make their own changes and implement things a little bit differently from each other, and errors are not always clear.

    A couple things you could try would be to change the video recording to use a lower resolution, and try a different recording storage location (from the More Options screen), but if you're experiencing this problem on the camera preview screen, then the cause is probably something in the system or camera drivers itself.