Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. RTSP Stream display issue with IP camera

RTSP Stream display issue with IP camera

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Holltro
    wrote on last edited by
    #1

    Hi all,

    I am working on a application that need to show a live video feed. I started testing the application with a Raspberry pi camera hosting a RTSP stream. This worked great and i just entered the cameras IP in QML video tag. I later bought a Vivotek ip camera(IP8162/62p). When i tried using it as i had the PiCamera, it did not work. I tried using VLC-qt and i got that to work on my laptop running Ubuntu. My problem is that the application is being developed for a digi imx6 board, and getting libvlc to work on it is quite the challenge. I would like to avoid using libvlc.

    I tried to use a QProcess that calls "gst-launch-1.0 rtspsrc location=rtsp://<RTSP STREAM IP ADDRESS >:554/stream1 latency=300 ! decodebin ! qtvideosink" but i can't get it to display the stream in Qt.

    If anyone have ran in to a similar problem or a possible solution please let me know.

    IMX6 Board runs linux Yocto 2.4, and have GStreamer-1.0 installed
    Developing in Qt 5.9.6

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should then consider using the qmlglsink provided by GStreamer directly. See here.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved