Code Monkey home page Code Monkey logo

Comments (9)

hzeller avatar hzeller commented on July 4, 2024

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.

from gmrender-resurrect.

hzeller avatar hzeller commented on July 4, 2024

Did it work after installing the plugins ?

from gmrender-resurrect.

Morriar avatar Morriar commented on July 4, 2024

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: upnp:classobject.item.audioItem.musicTrack/upnp:classdc:titleIn The Waiting/dc:titledc:creatorZero 7/dc:creatorupnp:artistZero 7/upnp:artistupnp:albumArtURIhttp://192.168.0.3:57645/external/audio/albums/3.jpg/upnp:albumArtURIupnp:genre(131)/upnp:genreupnp:albumGarden State/upnp:albumupnp:originalTrackNumber3/upnp:originalTrackNumberdc:date2004-01-01/dc:datehttp://192.168.0.3:57645/external/audio/media/1087.mp3
INFO [2013-06-02 23:33:46.726122 | transport] NumberOfTracks: 1
INFO [2013-06-02 23:33:46.727093 | transport] LastChange:







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.

from gmrender-resurrect.

hzeller avatar hzeller commented on July 4, 2024

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).

from gmrender-resurrect.

hzeller avatar hzeller commented on July 4, 2024

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.

from gmrender-resurrect.

Morriar avatar Morriar commented on July 4, 2024

I tried with the new versuin and same problem occurs. Is it possible to activate more log abbout the error ?

from gmrender-resurrect.

hzeller avatar hzeller commented on July 4, 2024

On 3 June 2013 14:53, Alexandre Terrasa [email protected] 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 GST_DEBUG=:5, then you can see all the
details of what is happening within gstreamer, and potentially a hint what
is going wrong:
GST_DEBUG=
: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)

from gmrender-resurrect.

Morriar avatar Morriar commented on July 4, 2024

Ok, it was my bad, forgot to run make install.

It work nice! Thank you for your help.

from gmrender-resurrect.

hzeller avatar hzeller commented on July 4, 2024

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 )

from gmrender-resurrect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.