工具/软件:
尊敬的团队:
我们正在测试 MIPI-CSI2 摄像头并遇到以下警告GRAY8、并且在以格式、分辨率1120x1360和帧速率运行流水线时视频不流畅 30/1.
/usr/base/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c src (3147):gst_base_sink_is_too_late ():/GstPipeline:pipaine0/GstKMSSink:kmssink0:
可能存在时间戳问题、或者此计算机太慢。
root@am62xx-lp-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=GRAY8,width=1120,height=1360,framerate=30/1 ! queue max-size-buffers=4 ! videoconvert ! kmssink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of buffers are being dropped. Additional debug info: /usr/src/debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesink.c(3147): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: There may be a timestamping problem, or this computer is too slow. ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:08.584579289 Setting pipeline to NULL ... Freeing pipeline ...
流水线以格式GRAY8、分辨率1120x1360和10/1帧速率下降 30 到 10 的方式平稳运行。
root@am62xx-lp-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=GRAY8,width=1120,height=1360,framerate=10/1 ! queue max-size-buffers=4 ! videoconvert ! kmssink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:14.391994109 Setting pipeline to NULL ... Freeing pipeline ...
它还可以使用格式
GRAY8、分辨率680x480和帧率60/1。 您能否提出问题可能在哪里以及如何解决?
此致、
Gopal Sharma