hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
834 stars 202 forks source link

MP3 with image - tested with XBMC and mediatomb as sources #36

Closed Jonjump closed 6 years ago

Jonjump commented 10 years ago

Hi

Running debian wheezy on arm with gstreamer 0.10 (which is the packaged version). Brilliant idea - I have been looking for something like this for ages. In current version, there seems to be a problem with MP3 files which include an image. I have tested with three sources - mediatomb and xbmc (which both display the problem) and the bubble upnp android app (which works - but i suspect it is stripping out the image).

If an mp3 has no embedded image it is fine. If it has an embedded image, it fails with "source: Error: Not Found (Debug: gstsouphttpsrc.c(1119): gst_soup_http_src_parse_status". I have attached the log for files which work and those which don't below, for both xbmc and mediatomb below.

Thanks again for this software. log is at https://gist.github.com/Jonjump/6397589

hzeller commented 10 years ago

This looks like it doesn't have anything to do with the image, but that the file does not exist.

While accessing the file from the webserver, it gets an HTTP 404, which means that the webserver does not have the file available.

ERROR [2013-08-31 11:55:56.681931 | gstreamer] source: Error: Not Found (Debug: gstsouphttpsrc.c(1119): gst_soup_http_src_parse_status (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstSoupHTTPSrc:source: Not Found (404), URL: http://192.168.0.5:49152/content/media/object_id/825358/res_id/0/ext/file.mp3)

But maybe the MP3-file exists, but while parsing the mp3 header it comes accross the image. And maybe the image is actually not embedded but just a URL reference to some external (non-existent) resource ? In any case, gstreamer should not worry about that because it is really not needed.

At this point, all I can suggest is to actually get the latest gstreamer 1.0 (0.10 is long unsupported) and try again.

Jonjump commented 10 years ago

Thanks Henner

I will set up a test system and compile and install gstreamer 1.0 to try this out. I will let you know what happens.

Regards

Jon

On 5 September 2013 02:38, Henner Zeller notifications@github.com wrote:

This looks like it doesn't have anything to do with the image, but that the file does not exist.

While accessing the file from the webserver, it gets an HTTP 404, which means that the webserver does not have the file available.

ERROR [2013-08-31 11:55:56.681931 | gstreamer] source: Error: Not Found (Debug: gstsouphttpsrc.c(1119): gst_soup_http_src_parse_status (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstSoupHTTPSrc:source: Not Found (404), URL: http://192.168.0.5:49152/content/media/object_id/825358/res_id/0/ext/file.mp3 )

But maybe the MP3-file exists, but while parsing the mp3 header it comes accross the image. And maybe the image is actually not embedded but just a URL reference to some external (non-existent) resource ? In any case, gstreamer should not worry about that because it is really not needed.

At this point, all I can suggest is to actually get the latest gstreamer 1.0 (0.10 is long unsupported) and try again.

— Reply to this email directly or view it on GitHubhttps://github.com/hzeller/gmrender-resurrect/issues/36#issuecomment-23838676 .