Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. NVidia Jetson TX1 and GStreamer Hardware decoding

NVidia Jetson TX1 and GStreamer Hardware decoding

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 2.4k 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.
  • Mkowalik-MimesisM Offline
    Mkowalik-MimesisM Offline
    Mkowalik-Mimesis
    wrote on last edited by
    #1

    Hello,

    I have problem with GStreamer Video Decoding using Qt. I'm using Video object in QML, video file is loaded but it change frames only once few seconds (it's not watchable). When I use gst-launch directly everything is ok (really good performance). I use gst-launch with this pipeline:

    gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink -e 
    

    I think that problem could be in QtMultimedia Video sink choose. I heard that Qt use its sink qtvideosink, unfortunately I have problems with sinks other than nveglglessink. Is there any option to use hardware decode on NVidia Jetson TX1?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by kuzulis
      #2

      Have you tried use this envs: QT_GSTREAMER_WIDGET_VIDEOSINK, QT_GSTREAMER_WINDOW_VIDEOSINK?

      PS: I'm too faced with some problems with the GStreamer && Qt on Tegra Jetson TK1 (not TX1), and on Raspberry...
      PS2: I think, in this case it is simple to use mplayer or libvlc to render a video in QWidget... I think...
      PS3: Unfortunately, the Qt Multimedia module has bad support and it isn't adjustable, IMHO..

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

        Hi and welcome to devnet,

        One alternative could be to use the QtGStreamer module from the GStreamer folks.

        Hope it helps

        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
        • RiteshPanchalR Offline
          RiteshPanchalR Offline
          RiteshPanchal
          wrote on last edited by
          #4

          I am also facing the same problem..
          Have you found any solution for TX1?

          How to display GStreamer pipeline video output to QML videosurface.

          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