XBMC Community Forum
XBMC on Raspberry Pi - Wonder if this will work out? (Historical Discussion Thread) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi Support (/forumdisplay.php?fid=166)
+---- Thread: XBMC on Raspberry Pi - Wonder if this will work out? (Historical Discussion Thread) (/showthread.php?tid=113824)



RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - Doktor-X - 2012-06-30 23:40

i think i finaly get my pi to work with my 1080p mkv's without problem i have change settings in xbmc in system -> VIdeo from 60hz to 24 and now my videos are not stuttering Wink


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - sstavross - 2012-07-04 10:21

Hi!

I have received my pi about two weeks ago and I have tested it with both raspmc and openelec. I am a music guy and to my dissapointment, I can't play .ape files!( monkey audio). In another forum someone wrote that the decoder for this format is free but that has someone to put it in xbmc. Where can I request to, so this format will be availiable to xbmc for pi?


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - s7mx1 - 2012-07-04 10:28

Your best bet would be convert them to flac. You could just write script to convert all your collections.

(2012-07-04 10:21)sstavross Wrote:  Hi!

I have received my pi about two weeks ago and I have tested it with both raspmc and openelec. I am a music guy and to my dissapointment, I can't play .ape files!( monkey audio). In another forum someone wrote that the decoder for this format is free but that has someone to put it in xbmc. Where can I request to, so this format will be availiable to xbmc for pi?



RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - vdrfan - 2012-07-04 10:43

(2012-07-04 10:21)sstavross Wrote:  Hi!

I have received my pi about two weeks ago and I have tested it with both raspmc and openelec. I am a music guy and to my dissapointment, I can't play .ape files!( monkey audio). In another forum someone wrote that the decoder for this format is free but that has someone to put it in xbmc. Where can I request to, so this format will be availiable to xbmc for pi?

Mind uploading a debug log showing the issue using pastebin or any other similar site?


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - Paul Webster - 2012-07-04 12:01

Try playing your .ape file using mplayer from the command line (if using Raspbmc RC3 then choose Exit and wait for the white screen ... then hit Esc)
If it works then it should be possible to set-up a custom playercorefactory.xml and associate .ape with mplayer and hopefully things should work.


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - sstavross - 2012-07-04 12:34

(2012-07-04 10:43)vdrfan Wrote:  
(2012-07-04 10:21)sstavross Wrote:  Hi!

I have received my pi about two weeks ago and I have tested it with both raspmc and openelec. I am a music guy and to my dissapointment, I can't play .ape files!( monkey audio). In another forum someone wrote that the decoder for this format is free but that has someone to put it in xbmc. Where can I request to, so this format will be availiable to xbmc for pi?

Mind uploading a debug log showing the issue using pastebin or any other similar site?

(2012-07-04 12:01)Paul Webster Wrote:  Try playing your .ape file using mplayer from the command line (if using Raspbmc RC3 then choose Exit and wait for the white screen ... then hit Esc)
If it works then it should be possible to set-up a custom playercorefactory.xml and associate .ape with mplayer and hopefully things should work.

I'll upload a debug log as soon as possible. And I'll try the trick of Paul Webster to see if it works. Thank you!


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - sstavross - 2012-07-05 00:31

Ok. Here is the log. I used openelec: http://pastebin.com/qzB4ZhNa
The ape file starts at 01:13:11. Hope it helps. I can hear the first seconf of the music playing and then nothing. I see also playing time making jumps, not counting regularly.

Now about the "trick" Paul Webster suggested, how do I use the command line to use mplayer? What do I have to write?


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - gimli - 2012-07-05 07:57

(2012-07-05 00:31)sstavross Wrote:  Ok. Here is the log. I used openelec: http://pastebin.com/qzB4ZhNa
The ape file starts at 01:13:11. Hope it helps. I can hear the first seconf of the music playing and then nothing. I see also playing time making jumps, not counting regularly.

Now about the "trick" Paul Webster suggested, how do I use the command line to use mplayer? What do I have to write?

A sample file would help.


Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - tdw197 - 2012-07-05 09:16

(2012-07-05 00:31)sstavross Wrote:  Ok. Here is the log. I used openelec: http://pastebin.com/qzB4ZhNa
The ape file starts at 01:13:11. Hope it helps. I can hear the first seconf of the music playing and then nothing. I see also playing time making jumps, not counting regularly.

Now about the "trick" Paul Webster suggested, how do I use the command line to use mplayer? What do I have to write?

Pretty sure mplayer doesn't work on the pi, iirc xbmc uses omx as an external player


RE: Raspberry Pi [HTPC] - Wonder if this will work out for XBMC?? - Paul Webster - 2012-07-05 09:56

Mplayer does work on the RPi (see below) but it is (currently at least) using the GPU for optimisation so using it to watch video is not a great experience ... however, playing audio (which is what this is about) would not usually need more than the CPU.

To try it ...
sudo apt-get install mplayer
mplayer -h

If you have something else hogging the audio then kill it (e.g. SqueezeSlave)
If not already done - then you will probably need to load the alpha sound driver
sudo modprobe snd-bcm2835

Then to play your test files ...
mplayer -ao sdl filename
(I found -ao sdl worked better than -ao alsa)

or share you .ape file and I'll try it

If you hear nothing then try with something that would be expected to work (e.g. a regular mp3 file) to make sure that the basics are OK.



See this thread where I give benchmark results
http://www.raspberrypi.org/phpBB3/viewtopic.php?p=75568#p75568