Hello,
I'm using the VADC of the iMX6 SoloX (Sabre board) to capture and show an analog camera signal with following Gstreamer pipeline:
gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxv4l2sink device=/dev/video0
The pipeline works, i.e. the picture is shown correctly, but I get a CPU load of nearly 100% while the pipeline is running, which, of course, is not acceptable. I would expect a one-digit cpu-load. What am I doing wrong?
I'm using kernel 4.1.x.
could you confim if high cpu loading is caused by only playing video?
high cpu loading depends on what usage cpu use.
Yes I can confirm that; gst-launch is eating up all the cpu-cycles. When I terminate the process, the cpu-load is close to 0%.
I'm pretty sure you can easily repdroduce this behavior.
how about add "sync=false " in the command?
I've tried with gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxv4l2sink device=/dev/video0 sync=false and still the same result (output from top):
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
597 568 root S 52064 5% 99% gst-launch-1.0 imxv4l2src device=/dev/video1 ! imxv4l2sink device=/dev/video0 sync=false
I've also tried to set the sync property on the imxv4l2src, but the property apparently does not exist there.