Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Streaming media from DLNA server
QtWS25 Last Chance

Streaming media from DLNA server

Scheduled Pinned Locked Moved Unsolved Brainstorm
dlnanetworkingstreammultimedia
7 Posts 3 Posters 4.1k 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.
  • J Offline
    J Offline
    JordanHarris
    wrote on last edited by
    #1

    Hello, first time poster here, but long time reader. So I want to work on a project that will help me learn a little about networking and working with multimedia. The project I want to try to create is an application that can connect to a DLNA server (such as Plex Media Server) and stream multimedia (video, audio, images) from that server.

    Does anyone have any clue about how this can be accomplished? I searched all over the Web, but ultimately came up dry. Qt seems to be a great tool for both networking and multimedia, so I'm hoping it has the necessary things for doing this.

    I would appreciate any kind of help regarding this subject. I really don't even know where to start. Any advice, resources, or just general discussion on this matter would be really appreciated. This seems like a really fun project to work on, but I think I need a little help getting the ball rolling.

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

      Hi and welcome to devnet,

      You might be interested by VLC-Qt. AFAIK VLC is capable of handling that task so I guess that the library has everything needed for that. VLC-Qt is a wrapper library that gives a Qt API over VLC.

      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
      • J Offline
        J Offline
        JordanHarris
        wrote on last edited by
        #3

        Thank you for the reply. I was thinking about using libvlc too since VLC does have that feature in the Universal Plug'n'play section. I've looked through libvlc and VLC-Qt, but I really don't see anything about it. I think VLC is using some UPnP library to accomplish this though. I suppose I could try to find a good C++ UPnP library, but even then I'm still not sure how to accomplish streaming from a DLNA server. There doesn't seem to me any resources on the subject. None that I can find at least.

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

          I just had a doubt: you do want to write a client to read the stream, right ?

          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
          • J Offline
            J Offline
            JordanHarris
            wrote on last edited by JordanHarris
            #5

            Yeah the goal is basically to create a media player that can stream from a DLNA server (such as Plex Media Server or any other media server). So yes, a client to access the server, get the information about the media (name, metadata, folder/library structure, etc.), and stream the media to the media player. If you've ever used Roku, I basically want to at least be able to do what the Roku Media Player can do with media servers.

            By the way, thank you for mentioning VLC-Qt. I think I'm going to use that for handling the media. It looks really nice and easy to use. :)

            Perhaps this is a little over my head. This is just an experimental project that I may end up using for viewing my own media if it succeeds. I'll probably end up wanting to run it on a Raspberry Pi 2 or something. My first task is just to try and figure out how to stream from a DLNA server.

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

              I've never used one but I know the device. You should try to contact the VLC team to see with them how they proceed with the UPnP/DLNA part.

              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
              • K Offline
                K Offline
                kyukaya
                Banned
                wrote on last edited by
                #7
                This post is deleted!
                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