[GCompris-devel] Sound files not getting detected

Holger Kaelberer hk at elberer.de
Fri Jan 15 06:54:27 UTC 2016


Hi

On 15.01.2016 07:10, Akshat Tandon wrote:
> Hello,
> I am having a proxy at my college due to which GCompris is not able to download the sound files. I tried manually downloading the sound files from
> http://gcompris.net/data2/voices-aac/ and then placing them in
                             ^^^^^^^^^^^
Here you're downloading .aac files used on windows platforms.


> ~/.local/share/KDE/gcompris-qt/data2/voices-ogg/{Contents, voices-en.rcc} but still GCompris is not able to play the sound files.
                                        ^^^^^^^^^^
Here you're copying in a folder containing .ogg files used on linux platforms.

The extension must match. On linux you have to use .ogg, on window .acc

> Can someone please guide me on this matter so that GCompris on my system is able to detect and play the sound files successfully.
>
> Regards,
> Akshat
> ----------------------------------------------------------------------------------
>
> Starting /home/droftware/sokdev/gcompris-build/bin/gcompris-qt...
> Unable to load translation for locale  "en_IN" , use en_US by default
> exeCount set to:  34
> Downloading resource file "data2/voices-ogg/voices-en.rcc"
> qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
> qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
>
> (gcompris-qt:3161): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
>
> (gcompris-qt:3161): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
> qml: enter main.qml (run #34, ratio=1.476923076923077, fontRatio=1.598281076687517, dpi=101, sharedWritablePath=/home/droftware/.local/share/GCompris)
> Error downloading Contents from QUrl("http://gcompris.net/data2/voices-ogg/Contents") : QNetworkReply::NetworkError(ConnectionRefusedError) : "Connection refused"
> Successfully registered resource "/home/droftware/.local/share/KDE/gcompris-qt/data2/voices-ogg/voices-en.rcc"
>
> ** (gcompris-qt:3161): CRITICAL **: gst_app_src_end_of_stream: assertion 'GST_IS_APP_SRC (appsrc)' failed

This error indicates a broken gstreamer installation. You often get this message if you mix up 
gstreamer 0.10 with gstreamer 1.0.

> Error unregistering resource file "/home/droftware/.local/share/KDE/gcompris-qt/data2/voices-ogg/voices-en.rcc"
> Successfully registered resource "/home/droftware/.local/share/KDE/gcompris-qt/data2/voices-ogg/voices-en.rcc"

Loading of the files seems to work.

Then I guess your problem is your gstreamer installation.

Most Qt5 installations (Qt installer, probably most stable distros) still use gstreamer 0.10, 
therefore you should check that your gstreamer 0.10 stack is complete.

appsrc is in the gst-plugins-base package.

Holger


More information about the GCompris-devel mailing list