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. QtVLC with Qt 4.8.4

QtVLC with Qt 4.8.4

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 1.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.
  • Venkatesh VV Offline
    Venkatesh VV Offline
    Venkatesh V
    wrote on last edited by
    #1

    Hello all,

    I want to use QtVLC with Qt 4.8.4, please help me with the procedure to configure.

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Do you mean this one ?
      https://github.com/Orochimarufan/QtVlc
      Its for Qt5 only. ( Says so on site)

      Or have you found another one with same name ?

      or do you mean
      https://vlc-qt.tano.si/ ?

      1 Reply Last reply
      1
      • Venkatesh VV Offline
        Venkatesh VV Offline
        Venkatesh V
        wrote on last edited by
        #3

        @mrjj thanks for the reply

        I mean to say that, i want to use vlc mediaplayer in Qt4.8.4. will it possible to use or not?

        mrjjM 1 Reply Last reply
        1
        • Venkatesh VV Venkatesh V

          @mrjj thanks for the reply

          I mean to say that, i want to use vlc mediaplayer in Qt4.8.4. will it possible to use or not?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          hi

          vlc mediaplayer

          The actual application ??
          https://www.videolan.org/vlc/index.html

          Im not sure it supports embedding.

          1 Reply Last reply
          0
          • Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @mrjj said in QtVLC with Qt 4.8.4:

            Im not sure it supports embedding.

            It does and it works very easy - it just needs a winId.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            Venkatesh VV 1 Reply Last reply
            4
            • Christian EhrlicherC Christian Ehrlicher

              @mrjj said in QtVLC with Qt 4.8.4:

              Im not sure it supports embedding.

              It does and it works very easy - it just needs a winId.

              Venkatesh VV Offline
              Venkatesh VV Offline
              Venkatesh V
              wrote on last edited by
              #6

              @Christian-Ehrlicher
              Hi,
              Can you please share the steps to configure?

              1 Reply Last reply
              1
              • Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I more or less using the same stuff as here: https://wiki.videolan.org/LibVLC_SampleCode_Qt/
                It's a little bit outdated, the init can be done easier nowadays

                  if (ui->outputWidget)
                  {
                #if defined(Q_OS_WIN)
                    libvlc_media_player_set_hwnd(m_mPlayer, (HWND)ui->outputWidget->winId());
                #elif defined(Q_OS_MAC)
                    libvlc_media_player_set_agl(m_mPlayer, ui->outputWidget->winId()) ;
                #else //Linux
                    libvlc_media_player_set_xwindow(m_mPlayer, ui->outputWidget->winId());
                #endif
                  }
                

                ui->outputWidget is a simple QWidget, the rest is not different then using plain libvlc.

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                3

                • Login

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