First time here? Check out the FAQ!
answered 2019-04-09 03:27:35 -0600
After the comment, I decided to only save the H264 stream and leave the muxing out of the pipeline and do that afterwards separately using ffmpeg. The H264 stream doesn't care about the unclean shutdown. Works well so far.