RTSP video streaming from camera on QML using gstreamer pipeline
-
We are developing a camera streaming application using Qt5.6.3 on Processor Renesas RZG2N and PACKAGE VLP3.0.5. We are able to successfully integrate camera and capture live streaming using the below command directly using gstreamer 1.0
gst-launch-1.0 rtspsrc location="rtsp://admin:Password_123@192.168.1.64:554/Streaming/Channels/101" latency=300 ! rtph264depay ! h264parse ! decodebin ! autovideosink
We need to use QML to diaply the video in the Qt application. Since we need to customize the pipeline, we are using gstreamer back end to do the same.
Is there any way where we can run gstreamer as separate application on the top of the Qt application. Is there any sample which we can refer for achieving the same.
Thanks & Regards,
Rohini -
We are developing a camera streaming application using Qt5.6.3 on Processor Renesas RZG2N and PACKAGE VLP3.0.5. We are able to successfully integrate camera and capture live streaming using the below command directly using gstreamer 1.0
gst-launch-1.0 rtspsrc location="rtsp://admin:Password_123@192.168.1.64:554/Streaming/Channels/101" latency=300 ! rtph264depay ! h264parse ! decodebin ! autovideosink
We need to use QML to diaply the video in the Qt application. Since we need to customize the pipeline, we are using gstreamer back end to do the same.
Is there any way where we can run gstreamer as separate application on the top of the Qt application. Is there any sample which we can refer for achieving the same.
Thanks & Regards,
Rohini@Rohini-V-N Is is compulsory to use gstreamer. What I can prefer is opencv library
-
We are developing a camera streaming application using Qt5.6.3 on Processor Renesas RZG2N and PACKAGE VLP3.0.5. We are able to successfully integrate camera and capture live streaming using the below command directly using gstreamer 1.0
gst-launch-1.0 rtspsrc location="rtsp://admin:Password_123@192.168.1.64:554/Streaming/Channels/101" latency=300 ! rtph264depay ! h264parse ! decodebin ! autovideosink
We need to use QML to diaply the video in the Qt application. Since we need to customize the pipeline, we are using gstreamer back end to do the same.
Is there any way where we can run gstreamer as separate application on the top of the Qt application. Is there any sample which we can refer for achieving the same.
Thanks & Regards,
Rohini@Rohini-V-N Sure it is doable. 5.6.3 is too old. Try to upgrade to at least 5.15.3. You can create a C++ class to build your pipeline and add qml sink to it. QGroundControl is an open source package and has RTSP streaming in it. You can learn something there.