Results 1 to 9 of 9

Thread: how to change directshow backend to phonon-vlc backend in Windows

  1. #1
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to change directshow backend to phonon-vlc backend in Windows

    Hi,

    I'm trying to use phonon-vlc backend instead of directshow backend for phonon to play video on Windows 7 (with VS 2008).
    I did some search without finding a detailed way to do this.
    I know the directshow dlls are in the directory %QTDIR%\plugins\phonon_backend, and I also found the phonon-vlc source from https://projects.kde.org/projects/kd...vlc/repository
    , but I don't know how to use it.

    Could you please give me some guide on this? Especially how to replace the dll files and how to tell the system to switch the backend?
    Thanks in advance.

  2. #2
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    Could anyone help me with this issue? Thanks a lot.

  3. #3
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    http://doc.qt.io/qt-4.8/phonon-module
    Qt Backends

    Qt Backends are currently developed for Phonon version 4.1. The Phonon project has moved on and introduced new features that the Qt Backends do not implement. We have chosen not to document the part of Phonon that we do not support. Any class or function not appearing in our documentation can be considered unsupported.
    Make of that what you will.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  4. #4
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    Thanks for your replying. Do you mean Qt does not support phonon-vlc backend now?

  5. #5
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    I think that is effectively what it says.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  6. #6
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    I see. But isn't the VLC media player written in Qt with phonon and VLC backend? Or actually they didn't use the Qt phonon?

  7. #7
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    Qt backends were supported... but not in recent versions of qt.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  8. #8
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    This looks like reducing the power of Qt...I'll try to find another way to support mp4 (Maybe shipping the directshow codec with program?). Thanks a lot.

  9. #9
    Join Date
    Jun 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to change directshow backend to phonon-vlc backend in Windows

    Hello,

    I am trying to play rawvideo(not compressed) in HD 1920x1080 with Phonon VideoPlayer. It works if the videos size are small (1Go) but if not the player crash.
    I check the buffering process and only around 2Mega of datas are send to the buffer.
    With my videos size, I need to send more datas in the buffer(buffer size 8 Go). The problem is that I don't know how control the process.
    Do you think it can be link with the backend I use?
    I install DirectX and Directshow but I can't configue it. Do you know if it's possible?
    I don't even knows what's the backend I use in phonon. Where can I find the information?

    Tanks in avance

Similar Threads

  1. How to compile phonon-backend-gstreamer on windows?
    By linuxway in forum Qt Programming
    Replies: 0
    Last Post: 20th December 2011, 11:26
  2. Override streaming in QuickTime phonon backend
    By ChrisPeto in forum Qt Programming
    Replies: 1
    Last Post: 31st March 2011, 14:33
  3. Where to download Phonon DirectShow backend for Windows CE 5.0??
    By thanuj in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th November 2010, 13:05
  4. Replies: 1
    Last Post: 1st September 2010, 10:23
  5. how to compile phonon-backend statically on linux?
    By berlinud in forum Installation and Deployment
    Replies: 2
    Last Post: 27th August 2010, 18:06

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.