When I run this pipeline, it works fine for a few minutes, but then maxes out 100% of one of the CPU cores.
gst-launch-1.0 imxv4l2videosrc do-timestamp=true ! imxvpuenc_h264 ! queue leaky=2 ! m. alsasrc do-timestamp=true ! audioparse ! audioconvert ! audioresample ! audiorate ! avenc_ac3 hard-resync=true perfect-timestamp=true ! queue leaky=2 ! mpegtsmux name=m ! queue ! fakesink
Normally I would use tcpclientsink
to send the video to another machine, but it fails when using fakesink
too.
All of the queue leaky=2
are meant to drop buffers if the downstream fails to consume buffers fast enough. I’ve tried with queues and without and get the same results.
I haven’t been able to isolate which plugin is responsible for the crash.