Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved NVidia Jetson TX1 and GStreamer Hardware decoding

    General and Desktop
    4
    4
    2081
    Loading More Posts
    • 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-Mimesis
      Mkowalik-Mimesis last edited by

      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 Reply Quote 0
      • K
        kuzulis Qt Champions 2020 last edited by kuzulis

        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 Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • RiteshPanchal
            RiteshPanchal last edited by

            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 Reply Quote 0
            • First post
              Last post