Qt5+gstreamer camera preview issue
-
export QT_QPA_PLATFORM=eglfs
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/gstreamer-1.0
export QT_GSTREAMER_WINDOW_VIDEOSINK=kmssinkI can play .mp4 file correctly.
But when playing camera, it shows blank screen. There is no error message.Can someone help?! Thank you very much.
-
@jayzs said in Qt5+gstreamer camera preview issue:
There is no error message
Not even in the console?
-
@jsulm Yes, it works on pc ubuntu 16.04. The qt version on board is 5.9, but 5.12 on pc.
Here is another message sometimes it shows:
[ 13.884117] rockchip-vop ff930000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
[ 13.919835] [drm:hdmi_config_hdr_infoframe] ERROR Not support DRM Infoframethe board is connecting an aoc 1080p monitor by hdmi.
I have checked the error msg, it just means no infoframe for hdmi version less then 2.11a, I dont know if this matters, because I can play video to the same monitor correctly.
Sorry I`m new so have to wait 600 seconds to send another text here.
-