ldoce5viewer icon indicating copy to clipboard operation
ldoce5viewer copied to clipboard

No sound after adding support for gstreamer 1.0.

Open bonidydy opened this issue 11 years ago • 4 comments

I've tried out the new version with added support for gstreamer 1.0. Unfortunately it doesn't work either with gstreamer 1.0 or 0.1. Tried on Debian sid.

bonidydy avatar Nov 30 '14 19:11 bonidydy

Does it print anything if you start it from the command line?

nemethf avatar Nov 30 '14 20:11 nemethf

No, nothing at all. There is also no message when I try to play any recording.

On Sun, Nov 30, 2014 at 10:11 PM, Felicián Németh [email protected] wrote:

Does it print anything if you start it from the command line?

— Reply to this email directly or view it on GitHub https://github.com/ciscorn/ldoce5viewer/issues/15#issuecomment-64998271.

bonidydy avatar Dec 01 '14 16:12 bonidydy

I'm on testing and it (obviously) works for me.

Can you debug the code? (For example, by adding a couple of "print" lines to ldoce5viewer/qtgui/utils/soundplayer.py) Which backend it decides to use? Can you uninstall Gstreamer 1.0? Will it work afterwards?

I might try to debug it on Debian sid, but it will take at least a couple of weeks before i will have time to do it.

nemethf avatar Dec 03 '14 16:12 nemethf

I performed some tests on my Debian sid.

The old code for gstreamer 0.1 does not work if you happen to have installed "python-gi". Once "import gi" is executed "import gst" does not work anymore.

The new code for gstreamer 1.0 works properly if these packages are installed: python-gst-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gir1.2-gst-plugins-base-1.0

bonidydy avatar Dec 14 '14 13:12 bonidydy