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. How to use Gstreamer plugin on windows
QtWS25 Last Chance

How to use Gstreamer plugin on windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 997 Views
  • 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.
  • K Offline
    K Offline
    kueblert
    wrote on last edited by kueblert
    #1

    Hi,
    somehow I seem to be unable to find how to build an use the mediaservice plugin for gstreamer under Windows. It doesn't seem to come with the prebuilt binaries?
    Is there any documentation I can follow? More specifically, I have problems with multimediagsttools-private. Do I have to rebuilt the whole QT in order to be able to compile the plugin?
    Is it possible to access cameras via WMF that way?

    Best,
    Thomas

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kueblert
      wrote on last edited by
      #2

      Ok, got a little further. My Problem seems to be that I don't understand where qtConfig(gstreamer) comes from/ how to set it / how to configure where Qt looks for gstreamer. Or even whether it is Qt itself or just the multimedia plugins.

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

        AFAIK, to compile the GST on Windows you need to install the GST SDK installer.

        But, it makes not sense to use the GST on windows. Because the GST on windows use the software encoding/decoding (if you will use the original GST installer). It is better to use a native Windows stuff.

        PS: If I'm not mistake.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kueblert
          wrote on last edited by kueblert
          #4

          Thanks for your reply! I did try installing GST SDK via the official installer (Gstreamer 1.0). Perhaps I am missing some environment variable by which qtmultimedia decides whether gstreamer is installed or not? As of now, I think it tries to compile some test binaries but fails as it cannot find the gst.h include. Do I have to run configure or similar on windows as well?

          De- and encoding is actually not an issue (for me). If I get a raw MJPG stream from the camera that would be fine. Decoding it on the cpu wouldn't hurt, as the resolution I require is relatively low. I did do that before using libturbojpeg and it works just fine.

          I further do have an implementation using WMF:
          https://github.com/kueblert/qtmultimedia_wmfcamera
          However, the code is a bit sloppy and performancewise it is worse than the directshow backend. I was hoping to be able to get rid of that part of the code ;-)

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

            gstreamer is installed or not?

            To be honest, I'm not remember. But I saw some info from the QtMM developers how to compile the GST backend on Windows. Or it was in developer mailing list, or somewhere in readme, I'm don't remember that, sorry. :(

            UPD: You can try to search also on this forum, e.g. you can read this topic or this topic.

            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