Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT Video error under Linux #942

Closed
dresco opened this issue Jun 27, 2014 · 2 comments
Closed

QT Video error under Linux #942

dresco opened this issue Jun 27, 2014 · 2 comments

Comments

@dresco
Copy link
Contributor

dresco commented Jun 27, 2014

The recent move to the Qt 5 MultiMedia framework appears to be causing a problem for Fedora 19.

The symptom is a hang in QVideoWidget() with the following output;

(GoldenCheetah:905): GLib-GObject-WARNING **: cannot register existing type `GstObject'

(GoldenCheetah:905): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(GoldenCheetah:905): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(GoldenCheetah:905): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(GoldenCheetah:905): GStreamer-CRITICAL **: gst_element_class_set_details_simple: assertion `GST_IS_ELEMENT_CLASS (klass)' failed

(GoldenCheetah:905): GStreamer-WARNING **: static caps 0x7fff8c71af90 string is NULL

(GoldenCheetah:905): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed

(GoldenCheetah:905): GStreamer-WARNING **: static caps 0x7fff8c71af10 string is NULL

(GoldenCheetah:905): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed

(GoldenCheetah:905): GStreamer-WARNING **: static caps 0x7fff8c71af90 string is NULL

(GoldenCheetah:905): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `mini_object != NULL' failed

This appears be caused by Qt WebKit pulling in gstreamer 1.0, instead of gstreamer 0.10 that Qt MultiMedia wants.

I've been able to replicate the same error with the Qt5 videowidget sample app, by adding the following line to the makefile;

#LIBS          = $(LIBS) -lQt5WebKitWidgets -lQt5WebKit 

Not sure where to go from here though!..

@liversedge liversedge added the P1 label Jun 27, 2014
@liversedge
Copy link
Member

I'm going to make QT video optional - so you can build with VLC -or- QT video from QT5 onwards.
Will get fixed alongside #938.

@liversedge liversedge added this to the 3.1 milestone Jun 27, 2014
@liversedge
Copy link
Member

Updated code to allow GC_VIDEO_xxx where xxx is one of;
QT5 - use QT libs and native backend on win/linux with qt > 5.2.1
VLC - use VLC libs on win/linux (any qt version)
QUICKTIME - use QT on Mac (default on Mac)
NONE - do nothing

applied and tested in the following commits: fde9809 ddfdb78 and caa0b21

SO TO FIX THIS ISSUE BEST TO CONTINUE USING VLC ON FEDORA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants