Results 1 to 7 of 7

Thread: QVideoWidget\QMediaPlayer doesn't show up and locks everything within application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: QVideoWidget\QMediaPlayer doesn't show up and locks everything within application

    Have you tried the video widget on its own as I suggested in my previous comment?
    If that works, then maybe as a child of a plain QWidget with a box layout and a single button.

    Cheers,
    _

  2. #2
    Join Date
    Jul 2016
    Posts
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QVideoWidget\QMediaPlayer doesn't show up and locks everything within application

    okey i made a new project and tried the tutorial for qt5: http://doc.qt.io/qt-5/qtmultimedia-m...t-example.html

    The player works fine, when I try to open a media (mp4 or mkv) file I get the following error:
    DirectShowPlayerService::doRender: Unresolved error code 0x80040266 (IDispatch error #102)

  3. #3
    Join Date
    Jul 2016
    Posts
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QVideoWidget\QMediaPlayer doesn't show up and locks everything within application

    Okey I installed the necessary codecs pack and the tutorial's example works!


    I am able to play videos on my application with videowidget and mediaplayer


    Yet the buttons, comboboxes, tabs ecc are still extremely slowed down. It's like those qt elements extremely block my application
    Like clicking on the play/pause button, it does his job, but the button does not show the animation...

  4. #4
    Join Date
    Jul 2016
    Posts
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QVideoWidget\QMediaPlayer doesn't show up and locks everything within application

    Solved it by moving all qt5 dll's into my project folder.

    Yet, I need to connect gstreamer sink's to Qt5 VideoWidgets

    My question is here: http://stackoverflow.com/questions/3...streamer-sinks

Similar Threads

  1. QVideoWidget , QMediaPlayer : missing video frames
    By vee_sivee in forum Qt Programming
    Replies: 0
    Last Post: 27th April 2015, 04:11
  2. Replies: 6
    Last Post: 24th November 2011, 09:54
  3. Replies: 3
    Last Post: 12th July 2011, 22:55
  4. Replies: 0
    Last Post: 8th April 2010, 11:08
  5. Application running but doesn't show up!!!
    By joandelason in forum Newbie
    Replies: 4
    Last Post: 21st March 2010, 09:37

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
  •  
Qt is a trademark of The Qt Company.