Closed w0dash closed 11 years ago
mmh, did you install all the gstreamer plugins ? They determine what stream types they can play. The error message could indicate that it might have a problem with that.
Did it work after installing the plugins ?
Hi,
Same problem here, trying to play music from my android device on my raspi gmrender server.
Here the server log:
INFO [2013-06-02 23:33:46.725570 | transport] AVTransportURI: http://192.168.0.3:57645/external/audio/media/1087.mp3
INFO [2013-06-02 23:33:46.725864 | transport] AVTransportURIMetaData:
INFO [2013-06-02 23:33:46.750738 | webserver] webserver_get_info:(filename='/upnp/grender-64x64.png',info=0xb3416570) ERROR [2013-06-02 23:33:46.855294 | upnp] upnp_set_error: Playing failed ERROR [2013-06-02 23:33:48.652347 | upnp] upnp_set_error: Playing failed
I checked, all the plugins for gstreamer are installed in correct version. Am I missing something?
Thanks.
Just to make sure, gstreamer has been found and compiled in ? If it is not found, then gmrender proceeds to use a dummy output module that does not provide any play capability. Try to explicitly say --with-gstreamer (to be able to compile stuff, the development libs have to be installed: libgstreamer0.10-dev )
(Just submitted a change that makes this more obvious as it will show up in the error log; if you do a git pull and recompile this should trigger an error-log).
Actually, now I removed the dummy module entirely - it does not serve any purpose other than being confusing when gstreamer is not found. Now, there will be a compile error when that happens.
I tried with the new versuin and same problem occurs. Is it possible to activate more log abbout the error ?
On 3 June 2013 14:53, Alexandre Terrasa notifications@github.com wrote:
I tried with the new versuin and same problem occurs. Is it possible to activate more log abbout the error ?
At this point, it can only be an error in gstreamer. Did you try playing a different format (.ogg or .flac for instance ?). MP3 will only work if you have the 'ugly' plugins installed. In the first couple of lines after startup, the logfile should list all the media formats it allows for (Log-lines look something like 'Registering audio/mpeg' or similar). Can you post this list here ?
If you set the environment variable GSTDEBUG=:5, then you can see all the details of what is happening within gstreamer, and potentially a hint what is going wrong: GSTDEBUG=:5 src/gmediarender --logfile=/tmp/gmrender.log
(the --logfile only records the gmrender log, while the GST_DEBUG log output will be on the console)
Ok, it was my bad, forgot to run make install.
It work nice! Thank you for your help.
Cool, glad it works.
I am going to close this bug now; I presume the original poster had a similar problem, but I never heard back, so I assume it fixed there as well.
(little ad: if you want a LCD display with the current song playing, check out my newest hack: https://github.com/hzeller/upnp-display )
I tried to get gmrender-ressurect to work on archlinux arm with a RPi.
My problem is, that an error occurs, when I want to stream audio.
This is the log:
HZ:
2.0.171.137: Action 'SetAVTransportURI' was a success! upnp_set_error: Playing failed upnp_set_error: Playing failed 2.0.230.169: Action 'GetTransportInfo' was a success!