在使用微雪的DSI屏显示imx307实时预览的指令时,指令被正常运行,但是屏幕却没有图像显示的问题
-

-
@clemente 摄像头图像和DSI屏只有一个能正常运行,屏亮摄像头图像就不显示,或者把屏关了摄像头图像就能实时显示到HDMI了
-
-
@veye_xumm 是的,我看过了这篇文章,我换成了V4l2模式来驱动摄像头,但是产生了一个新的疑问,V4l2模式下似乎帧率是非常低的,我甚至认为它只有10帧不到,请问这是正常现象吗
-
@veye_xumm 我尝试修改不同的分辨率和帧率,发现只有480p能勉强达到流畅的效果,1080p和720p帧率都非常的低。在此先谢谢您的解惑。
-
@clemente
主要是由于用软件做的图像格式转换导致的。
你可以试一下v4l2convert,这个是用了硬件的转换。gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! v4l2convert capture-io-mode=dmabuf output-io-mode=dmabuf ! autovideosink sync=false -v -
@veye_xumm 我尝试了这个新的指令,稍微有一点改善,但是不是很明显,延时和帧率还是不理想,这是最好的方案了吗,我想知道有没有更好的解决方案,再次谢谢!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login