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. Phonon with vlc backend on Windows
Forum Updated to NodeBB v4.3 + New Features

Phonon with vlc backend on Windows

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 7.7k Views 1 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.
  • S Offline
    S Offline
    sebstein
    wrote on last edited by
    #1

    Hi,

    I would like to know how to implement the vlc backend for phonon on Windows.
    I can not find relevant information about the procedure to do it.
    The reason is because with the original backend (ds9), some MP3s can not be played while some can be although they can all be played in the Windows Media Player.

    Thank you,
    Sébastien

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aureshinite
      wrote on last edited by
      #2

      First, I never used Phonon so I cannot help you on that.

      In general to implement a custom audio back-end you need to plug the existing decoder to the Qt Multimedia kit. This way is what I did, and is a lower-level of abstraction than Phonon.

      But if you don't have performance constraints this is what you can do:

      • decode the audio stream (original file) to .wav format using vlc

      • play the wav audio using phonon (you have a temporary file or buffer).

      • when the user close you clean by deleting the file or the buffer

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sebstein
        wrote on last edited by
        #3

        In fact I need to play video files including full hd ones; so I can't use this solution.
        But I'm sure there is a solution because some applications use the vlc backend in qt-apps.org but when I'm trying to compile the Qt sources, it just create a phonon_ds9 backend and not the phonon_vlc one.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          francoisjj
          wrote on last edited by
          #4

          If you still need a solution, download "the phonon vlc dlls":http://people.videolan.org/~jb/phonon/phonon-vlc-4.5-0.4.1-sdk.7z.

          It's built with mingw, so if your application is building in Visual Studio it won't work for you.

          Extract the bin folder to your application folder and remove the ds9 dll in the phonon_backend folder.

          According to jb (the guy who built it), it is that simple.

          Hope this helps!

          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