Results 1 to 3 of 3

Thread: QWebView and QMediaPlayer = GStreamer problem

  1. #1
    Join Date
    Mar 2015
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QWebView and QMediaPlayer = GStreamer problem

    Hi,
    when I add
    "QT += webkitwidgets"
    to my project, I cannot create instance of QMediaPlayer - "QMediaPlayer player; - freeze"

    TLDR: I can use QWebView od QMediaPlayer, but not both

    Error output
    Qt Code:
    1. (proj:31180): GLib-GObject-WARNING **: cannot register existing type 'GstObject'
    2.  
    3. (proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
    4.  
    5. (proj:31180): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
    6.  
    7. (proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
    8.  
    9. (proj:31180): GStreamer-CRITICAL **: gst_element_class_set_details_simple: assertion 'GST_IS_ELEMENT_CLASS (klass)' failed
    10.  
    11. (proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
    12.  
    13. (proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
    14.  
    15. (proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe15d0 string is NULL
    16.  
    17. (proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
    18.  
    19. (proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
    20.  
    21. (proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
    To copy to clipboard, switch view to plain text mode 

    Qt Creator 3.3.2
    Based on Qt 5.4.1 (GCC 4.9.2 20150304 (prerelease), 64 bit)

    Built on Mar 11 2015 at 11:27:15
    Linux pb 3.19.2-1-MANJARO #1 SMP PREEMPT Wed Mar 18 22:29:52 UTC 2015 x86_64 GNU/Linux

    Can you help me please?

  2. The following user says thank you to ybznek for this useful post:

    brcontainer (1st April 2015)

  3. #2
    Join Date
    Jul 2012
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QWebView and QMediaPlayer = GStreamer problem

    Hi,
    I am facing the same problem. Have you managed to solve this?

  4. #3
    Join Date
    Sep 2015
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Red face

    don't blame Manjaro. it rocks!

Similar Threads

  1. QMediaplayer Sound file problem
    By digimonkey in forum Newbie
    Replies: 1
    Last Post: 4th February 2018, 07:33
  2. Problem with QMediaPlayer and QAudioProbe
    By mohabb in forum Qt Programming
    Replies: 1
    Last Post: 26th May 2015, 10:34
  3. Gstreamer + Qt Problem
    By hedlabel in forum Qt Programming
    Replies: 0
    Last Post: 8th August 2012, 20:48
  4. Replies: 1
    Last Post: 9th December 2011, 08:17
  5. videoplayer problem in qmediaplayer
    By vinayaka in forum Newbie
    Replies: 3
    Last Post: 25th August 2011, 13:44

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.