Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Programming Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Programming Talk
This forum is for all programming questions.
The questions do not have to be directly related to Ubuntu and any programming language is allowed.

 
Thread Tools Display Modes
Old October 22nd, 2009   #1
regomodo
Has an Ubuntu Drip
 
Join Date: Mar 2007
Location: England
Beans: 720
Send a message via AIM to regomodo
PyQt Gstreamer/Phonon Problem

I have an Amarok-1.4 clone and it works fine with the phonon-xine backend but when I use the phonon-gstreamer backend this problem occurs when trying to play anything on Karmic

Code:
(<unknown>:1905): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed
What does this mean?
__________________
Create a Webkit Browser in 2 minutes
PC - Gentoo amd64 / XP64
Laptop - Gentoo i686 on P M
Server - Gentoo i686 on PII
regomodo is offline   Reply With Quote
Old 4 Weeks Ago   #2
regomodo
Has an Ubuntu Drip
 
Join Date: Mar 2007
Location: England
Beans: 720
Send a message via AIM to regomodo
Re: PyQt Gstreamer/Phonon Problem

anybody?
__________________
Create a Webkit Browser in 2 minutes
PC - Gentoo amd64 / XP64
Laptop - Gentoo i686 on P M
Server - Gentoo i686 on PII
regomodo is offline   Reply With Quote
Old 3 Weeks Ago   #3
alfredio
First Cup of Ubuntu
 
Join Date: Jan 2007
Beans: 10
Re: PyQt Gstreamer/Phonon Problem

Hi,

I didn't try the xine backend (yet), but I have the same problem you are experiencing with the gstreamer backend. Maybe this is a not-yet-reported bug?
alfredio is offline   Reply With Quote
Old 3 Weeks Ago   #4
alfredio
First Cup of Ubuntu
 
Join Date: Jan 2007
Beans: 10
Re: PyQt Gstreamer/Phonon Problem

Just installed the xine backend, and it works. I guess we should report this to the launchpad. Any other sharing this issue?
alfredio is offline   Reply With Quote
Old 3 Weeks Ago   #5
SledgeHammer_999
Quad Shot of Ubuntu
 
Join Date: Mar 2006
Beans: 411
Ubuntu 9.10 Karmic Koala
Re: PyQt Gstreamer/Phonon Problem

I think when you set the file location it should look like this(like a uri) file://path-to-file (include the / in eg /home)

@regomodo
regarding your other topic: Are you using a pyQT and gst-python directly? If yes, I think you should provide a glibc mainloop.(I am not entirely sure about it. better ask on IRC or on the mailing list)
SledgeHammer_999 is offline   Reply With Quote
Old 3 Weeks Ago   #6
regomodo
Has an Ubuntu Drip
 
Join Date: Mar 2007
Location: England
Beans: 720
Send a message via AIM to regomodo
Re: PyQt Gstreamer/Phonon Problem

Quote:
Originally Posted by SledgeHammer_999 View Post
I think when you set the file location it should look like this(like a uri) file://path-to-file (include the / in eg /home)
That isn't needed in this case. Gstreamer is a backend for Phonon so gstreamer oddities aren't supposed to be accounted for. Phonon is supposed to handle that.
__________________
Create a Webkit Browser in 2 minutes
PC - Gentoo amd64 / XP64
Laptop - Gentoo i686 on P M
Server - Gentoo i686 on PII
regomodo is offline   Reply With Quote
Old 3 Weeks Ago   #7
SledgeHammer_999
Quad Shot of Ubuntu
 
Join Date: Mar 2006
Beans: 411
Ubuntu 9.10 Karmic Koala
Re: PyQt Gstreamer/Phonon Problem

I understand that, but that error line is Gstreamer-specific. Did you try what I suggested and failed?
SledgeHammer_999 is offline   Reply With Quote
Old 3 Weeks Ago   #8
regomodo
Has an Ubuntu Drip
 
Join Date: Mar 2007
Location: England
Beans: 720
Send a message via AIM to regomodo
Re: PyQt Gstreamer/Phonon Problem

Quote:
Originally Posted by SledgeHammer_999 View Post
I understand that, but that error line is Gstreamer-specific. Did you try what I suggested and failed?
I tried it a long time ago and it made no difference. I've given up on using Phonon in any case as it's just too flaky.
__________________
Create a Webkit Browser in 2 minutes
PC - Gentoo amd64 / XP64
Laptop - Gentoo i686 on P M
Server - Gentoo i686 on PII

Last edited by regomodo; 3 Weeks Ago at 08:14 AM..
regomodo is offline   Reply With Quote
Old 3 Weeks Ago   #9
SledgeHammer_999
Quad Shot of Ubuntu
 
Join Date: Mar 2006
Beans: 411
Ubuntu 9.10 Karmic Koala
Re: PyQt Gstreamer/Phonon Problem

OK. Good luck then.
SledgeHammer_999 is offline   Reply With Quote

Bookmarks

Tags
gstreamer, phonon, pyqt

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:00 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry