I wanted to see if things would work correctly if instead of saving to a tmpfile and then doing ffmpeg -c we just saved directly to the Videos folder. Best as I can tell the videos are saved correctly for all 3 formats. I also re-ordered the formats to have MKV be at the top, because it's the only format that can survive gstreamer getting sigkill-ed (or the deck rebooting during recording).
I wanted to see if things would work correctly if instead of saving to a tmpfile and then doing ffmpeg -c we just saved directly to the Videos folder. Best as I can tell the videos are saved correctly for all 3 formats. I also re-ordered the formats to have MKV be at the top, because it's the only format that can survive gstreamer getting sigkill-ed (or the deck rebooting during recording).
This should hopefully lead to less data loss.