Hello all!
I need to play video from camera on my imx53 board at the Qt widget (Qt embedded, without X11). I think, that i can do this with QtGstreamer and creating custom pipeline. But now, i can only play video files with playbin2 without hardware acceleration.When custom pipeline created, i see only fullscreen video (mfw_v4lsrc ==> mfw_ v4lsink) or take "internal data flow error" (mfw_v4lsrc ==>qtvideosink).
Have you any suggestions how to play video from camera at the Qt widget?
Thanks.
Solved! Go to Solution.
try this
gst-launch -v v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-rgb,bpp=16,width=640,height=480 ! mfw_v4lsink disp-width=640 disp-height=480
try this
gst-launch -v v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-rgb,bpp=16,width=640,height=480 ! mfw_v4lsink disp-width=640 disp-height=480
Thanks you, richard1094!
I have got some idea about my problem. mfw_v4lsrc gives a video at yuv format, but qtvideosink use rgb format.
My custom pipeline with "ffmpegcolorspace ! video/x-raw-rgb" works fine, and i see video on my qtwidget. But i haven`t hardware acceleration with ffmpegcolorspace. How can i fix it?
Sorry for my poor English.