Raspbian and XBMC
#1
Hi ,

Following situation :
I have installed on my Pi the current raspbian firmware : https://github.com/Hexxeh/rpi-firmware/c...2a00b9b35e

I then installed according to these instructions xbmc : http://michael.gorven.za.net/raspberrypi/xbmc

in the config.txt I added the following entries:
sdtv_mode = 2
sdtv_aspect = 1
gpu_mem_512 = 128

Now when I start xbmc the following occurs at 95 % of my movies :
1 I open on the XBMC menu the movie
2 I see a picture about 1 second and can also hear the sound
3 The film stops and I'm back in the menu

This problem I have not worked with OpenELEC , or raspbmc , there the same movies are played correctly .

In the comments on the page http://michael.gorven.za.net/raspberrypi/xbmc also others have the same problem. A user wrote that the problem occurred after a firmware update and it from the firmware version 03 January not occur.

I have the version installed between 03 January and still have the problem:
https://github.com/Hexxeh/rpi-firmware/c...e5dd092d65

Occurs also with an old version of 29.08.2013 on the error :
https://github.com/Hexxeh/rpi-firmware/c...5a0b5b6d1e

Any idea for my problem?
Reply
#2
(2014-03-17, 10:05)RUDI-TERROR Wrote: Hi ,

Following situation :
I have installed on my Pi the current raspbian firmware : https://github.com/Hexxeh/rpi-firmware/c...2a00b9b35e

I then installed according to these instructions xbmc : http://michael.gorven.za.net/raspberrypi/xbmc

in the config.txt I added the following entries:
sdtv_mode = 2
sdtv_aspect = 1
gpu_mem_512 = 128

Now when I start xbmc the following occurs at 95 % of my movies :
1 I open on the XBMC menu the movie
2 I see a picture about 1 second and can also hear the sound
3 The film stops and I'm back in the menu

This problem I have not worked with OpenELEC , or raspbmc , there the same movies are played correctly .

In the comments on the page http://michael.gorven.za.net/raspberrypi/xbmc also others have the same problem. A user wrote that the problem occurred after a firmware update and it from the firmware version 03 January not occur.

I have the version installed between 03 January and still have the problem:
https://github.com/Hexxeh/rpi-firmware/c...e5dd092d65

Occurs also with an old version of 29.08.2013 on the error :
https://github.com/Hexxeh/rpi-firmware/c...5a0b5b6d1e

Any idea for my problem?

Post a debug log.
Reply
#3
Hi,

and thank you! Here you will find the log-file:

https://www.dropbox.com/s/1ugzo9cfv6p1100/xbmc.log
Reply
#4
(2014-03-17, 18:05)RUDI-TERROR Wrote: https://www.dropbox.com/s/1ugzo9cfv6p1100/xbmc.log

The problem is that is just too old an xbmc build. I don't know what source tree it was built from.
It doesn't for example include this commit (https://github.com/xbmc/xbmc/commit/7abe...425fb04ae7) from 9 months ago (and it may be much older).

If you want to run xbmc under raspbian, I'd suggest following this:
http://www.raspberrypi.org/forum/viewtop...50#p520212
Reply
#5
Hi,

with the newest build I have exactly the same problems...


I do the following:
Quote:[/pi@Mapi ~/.xbmc/temp $ sudo apt-get remove xbmc
pi@Mapi ~/.xbmc/temp $ sudo apt-get remove xbmc-bin

Quote:sudo apt-get install -f libmysqlclient-dev libmicrohttpd-dev libhal-dev libssh-dev libfribidi-dev libyajl-dev libboost-dev libass-dev libmpeg2-4-dev libmad0-dev libjpeg-dev libsamplerate-dev libogg-dev libvorbis-dev libmodplug-dev libflac-dev python-dev libbz2-dev libsqlite3-dev libpng-dev libpcre++-dev libcdio-dev libbluetooth-dev libsmbclient-dev libplist-dev libiso9660-dev libtinyxml-dev liblzo2-dev libhal-storage-dev

Here is a script that installs an xbmc build. Create a file (e.g. with "nano update_xbmc"), paste it in and make it executable (chmod +x update_xbmc)
Quote:# /bin/sh
echo Installing xbmc...
sudo rm -rf /opt/xbmc-13-* && curl -L $1 | sudo tar -xzf - -C /opt
XBMC_DIR=$(ls -1td /opt/xbmc-13* | head -1)
echo $XBMC
echo "sudo XBMC_HOME=$XBMC_DIR/xbmc-bcm/xbmc-bin/share/xbmc LD_LIBRARY_PATH=$XBMC_DIR/xbmc-bcm/xbmc-bin/lib/xbmc/system $XBMC_DIR/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin --standalone --fs" | sudo tee /usr/bin/xbmc.bin
sudo chmod +x /usr/bin/xbmc.bin

Quote:./update_xbmc http://goo.gl/uq3tuu

Quote:pi@Mapi ~ $ xbmc.bin
^[[Asudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /scripts/xinet.sh: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found
sudo: /sbin/initctl: command not found

In the directory is no log-file:
Quote:pi@Mapi ~/.xbmc/temp $ ls
cookies.dat temp
Reply
#6
(2014-03-17, 19:46)RUDI-TERROR Wrote: In the directory is no log-file:

The initctl messages are normal, and can be ignored.
xbmc is running as root, so the log (and config files) will appear in /root/.xbmc
E.g.
Code:
sudo su
less ~/.xbmc/temp.xbmc.log
Reply
#7
Ahhh,


here is the log: https://www.dropbox.com/s/3em3r8bzedcbs5d/xbmc_1915.log

Thanks for your help!
Reply
#8
Do any files play correctly with this version of xbmc?
From the log it just appears that the files finish immediately (i.e. we get an EOF soon after starting).

Can you post a sample file that suffers from this problem and I can test it?
Reply
#9
Hi,

here is a lo from a movie that play fine (also avi)
https://www.dropbox.com/s/c48srkfs80ab5hq/xbmc_2015.log
Reply
#10
no idea for my problem? I can also send you the log from raspian, whre the avi-file will play fine....i think this is a problem wit raspbian, and perhaps that i use composite video
Reply
#11
Here is my solution:
https://github.com/Hexxeh/rpi-firmware/issues/43
Reply

Logout Mark Read Team Forum Stats Members Help
Raspbian and XBMC0