OpenELEC meets Raspberry Pi - part 1 (XBMC)


1233 posts   Page 45 of 50   1 ... 42, 43, 44, 45, 46, 47, 48 ... 50
by Douwtjeh » Thu Jun 21, 2012 6:43 pm
I installed openelec on my R-Pi, but it doesn't have any video after boot. It seems to boot fine at first, as it displays a splash screen, but afterwards the video remains blank. I'm connecting it to a PAL tv over composite, using jack audio, but maybe it's trying to use hdmi? If so, how would I change this?

I can ssh into the box fine btw, so it does boot.

thanks
Posts: 3
Joined: Tue Jun 19, 2012 6:13 pm
by smuggly » Fri Jun 22, 2012 12:05 am
Posts: 109
Joined: Fri Feb 03, 2012 6:09 pm
by emy84 » Fri Jun 22, 2012 10:41 am
Hello,

I've a simple question. I've red that raspberry PI can decode h264 video using its GPU.

But if i have an AVI (with for example divx @ 640x480), can Raspberry decode it? Or there isn't sufficent CPU power?

Thank you very much
Posts: 7
Joined: Wed May 23, 2012 7:41 am
by cpswan » Fri Jun 22, 2012 1:33 pm
emy84 wrote:I've a simple question. I've red that raspberry PI can decode h264 video using its GPU.

But if i have an AVI (with for example divx @ 640x480), can Raspberry decode it? Or there isn't sufficent CPU power?


I won't dive into the technical details of DivX (or Xvid) vs. MPEG4 vs. H.264 as that's covered elsewhere. I can however confirm that the RPi is perfectly capable of playing standard definition DivX/Xvid in .avi and .divx files. It also copes fine with .3gp (and of course .mp4).
Posts: 47
Joined: Tue May 15, 2012 9:52 am
by emy84 » Fri Jun 22, 2012 1:46 pm
cpswan wrote:
emy84 wrote:I've a simple question. I've red that raspberry PI can decode h264 video using its GPU.

But if i have an AVI (with for example divx @ 640x480), can Raspberry decode it? Or there isn't sufficent CPU power?


I won't dive into the technical details of DivX (or Xvid) vs. MPEG4 vs. H.264 as that's covered elsewhere. I can however confirm that the RPi is perfectly capable of playing standard definition DivX/Xvid in .avi and .divx files. It also copes fine with .3gp (and of course .mp4).


Thank you very much. You help me a lot. I can't try myself because i'm waiting to receive a Raspberry pi
Posts: 7
Joined: Wed May 23, 2012 7:41 am
by texy » Fri Jun 22, 2012 7:52 pm
I assume there is a setup procedure to get it working? OOB for raspbmc worked like a dream for me - I could get iplayer, youtube, videos (but not just audio) streaming from my iphone, video streaming from my pc (SMB) all worked fine. For OpenELEC however, youtube is streaming at 1 frame a minute, audio from iphone I gave up on, etc etc.
I must do some research on it!

Texy
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by sraue » Fri Jun 22, 2012 8:01 pm
texy wrote:I assume there is a setup procedure to get it working? OOB for raspbmc worked like a dream for me - I could get iplayer, youtube, videos (but not just audio) streaming from my iphone, video streaming from my pc (SMB) all worked fine. For OpenELEC however, youtube is streaming at 1 frame a minute, audio from iphone I gave up on, etc etc.
I must do some research on it!

Texy


patches and more seriously help (like logfiles, better issue descriptions, donations of iPhones and no "etc. etc.") are always welcome.

Stephan
Posts: 144
Joined: Tue Feb 28, 2012 12:36 am
Location: Switzerland
by texy » Fri Jun 22, 2012 8:30 pm
Not sure where the logs are. Tried to SSH, assuming the user is pi and the password is raspberry - fail !!

Texy
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by milhouse » Fri Jun 22, 2012 8:33 pm
texy wrote:Not sure where the logs are. Tried to SSH, assuming the user is pi and the password is raspberry - fail !!

Texy


User: root
Password: openelec
Log file: ~/.xbmc/temp/xbmc.log (turn on debugging in Settings for more detailed logging)
Posts: 555
Joined: Mon Jan 16, 2012 12:59 pm
by dom » Fri Jun 22, 2012 8:33 pm
texy wrote:Not sure where the logs are. Tried to SSH, assuming the user is pi and the password is raspberry - fail !!

Try root and openelec
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by texy » Fri Jun 22, 2012 8:44 pm
milhouse wrote:
texy wrote:Not sure where the logs are. Tried to SSH, assuming the user is pi and the password is raspberry - fail !!

Texy


User: root
Password: openelec
Log file: ~/.xbmc/temp/xbmc.log (turn on debugging in Settings for more detailed logging)


Great! Will report back after the pub. Better make that tomorrow ;-)
Cheers all
T.
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by podly » Fri Jun 22, 2012 9:05 pm
Hi,

Is there any chance to get rid of the annoying 'POP' noise at the beginning and end of each mp3? I can hear it only on analog stereo output, HDMI is fine. The same noise occurs at the beginning and end of each movie. I tried to deal with crossfade, but it didn't help too much. Maybe external USB sound card? Whether any cards are supported?

Anyway, thanks for this great project!
User avatar
Posts: 38
Joined: Fri Jun 22, 2012 8:57 pm
by texy » Sat Jun 23, 2012 7:47 am
texy wrote:
milhouse wrote:
texy wrote:Not sure where the logs are. Tried to SSH, assuming the user is pi and the password is raspberry - fail !!

Texy


User: root
Password: openelec
Log file: ~/.xbmc/temp/xbmc.log (turn on debugging in Settings for more detailed logging)


Great! Will report back after the pub. Better make that tomorrow ;-)
Cheers all
T.


Good morning!
Well I enabled logging. I SSH'd in OK. Can't work out how to get the log file off the SD card. There doesn't appear to be a 'boot' directory! I would of copied the file to that so that I can get to it on my laptop. 1st fail today.
I have succesfully streamed a video from my laptop using smb. Watching videos from youtube is still poor, cpu is @99%, frame rate v low - 5fps, no audio.
Control via my iphone with xbmcRemote app is fail #2 - I can see it, but can't get control. It worked OK with Raspbmc.
Still trying.............

Texy
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by texy » Sat Jun 23, 2012 9:21 am
Update.
The xbmcRemote app is now working, perhaps I didn't configure the password on the pi and/or the app correctly.
I can stream videos I made using my iphone OK - it takes a while to buffer the video, but once it plays, its OK
I can also stream from youtube on my iphone OK, however streaming from youtube on the openelec pi is still a problem -
I viewed the same SD video, and frame rate is approx 6fps.

2 jobs to do next - install iplayer, 4OD, etc
and see if I can get CEC working - which I have never used or dealt with before, and my TV supports it apparently.

Texy
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by marb » Sat Jun 23, 2012 9:21 am
@Texy

Check out this post by milhouse http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=7167&start=275#p103751
In few next posts in that topic other ways of getting log files are mentioned.
Posts: 6
Joined: Tue Jun 19, 2012 11:33 am
by texy » Sat Jun 23, 2012 10:24 am
marb wrote:@Texy

Check out this post by milhouse http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=7167&start=275#p103751
In few next posts in that topic other ways of getting log files are mentioned.


Briliant! I often wondered how to do the pastebin routine.

http://sprunge.us/CgZB

The above is the log from this mornings session. If whoever looks at this needs a 'cleaner' log, or one that I,m following a set procedure, please let me know and I,ll submit another log.
Cheers,
Texy
"2.8inch TFT LCD + Touch screen" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=93&t=65566
50p goes to the Foundation ;-)
Forum Moderator
Forum Moderator
Posts: 2410
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England
by gimli » Sat Jun 23, 2012 10:41 am
texy wrote:
marb wrote:@Texy

Check out this post by milhouse http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=7167&start=275#p103751
In few next posts in that topic other ways of getting log files are mentioned.


Briliant! I often wondered how to do the pastebin routine.

http://sprunge.us/CgZB

The above is the log from this mornings session. If whoever looks at this needs a 'cleaner' log, or one that I,m following a set procedure, please let me know and I,ll submit another log.
Cheers,
Texy


How did you start the youtube playback on the PI ?
Posts: 18
Joined: Thu Apr 26, 2012 6:29 am
by Otto » Sat Jun 23, 2012 11:08 am
texy wrote:
marb wrote:@Texy

Check out this post by milhouse http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=7167&start=275#p103751
In few next posts in that topic other ways of getting log files are mentioned.


Briliant! I often wondered how to do the pastebin routine.

http://sprunge.us/CgZB

The above is the log from this mornings session. If whoever looks at this needs a 'cleaner' log, or one that I,m following a set procedure, please let me know and I,ll submit another log.
Cheers,
Texy


From your log it looks like you are getting a slow playback rate with Youtube because it's using ff-264 to decode rather than the hardware. I've had the same problem with main and baseline profile Youtube videos, high profile decode fine.
Posts: 26
Joined: Thu Sep 08, 2011 7:52 am
by humla » Sat Jun 23, 2012 11:27 am
Otto wrote:
texy wrote:
marb wrote:@Texy

Check out this post by milhouse http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=7167&start=275#p103751
In few next posts in that topic other ways of getting log files are mentioned.


Briliant! I often wondered how to do the pastebin routine.

http://sprunge.us/CgZB

The above is the log from this mornings session. If whoever looks at this needs a 'cleaner' log, or one that I,m following a set procedure, please let me know and I,ll submit another log.
Cheers,
Texy


From your log it looks like you are getting a slow playback rate with Youtube because it's using ff-264 to decode rather than the hardware. I've had the same problem with main and baseline profile Youtube videos, high profile decode fine.


I have the same problem as well. Here is a screenshot

Image
Posts: 30
Joined: Sat May 05, 2012 9:02 pm
by dom » Sat Jun 23, 2012 11:55 am
humla wrote:I have the same problem as well. Here is a screenshot

How dd you launch YouTube video? Directly from YouTube plugin on Pi?
Or using a remote app?
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by humla » Sat Jun 23, 2012 12:28 pm
dom wrote:
humla wrote:I have the same problem as well. Here is a screenshot

How dd you launch YouTube video? Directly from YouTube plugin on Pi?
Or using a remote app?


From a plugin i wrote which passes the link to urlresolver module which then calls the youtube plugin.
I have also tried calling the youtube plugin directly from my plugin and also had the same problem.

This problem also persists while streaming videos from sockshare.com
I think its to do with how these websites encode and store the videos.
Posts: 30
Joined: Sat May 05, 2012 9:02 pm
by gimli » Sat Jun 23, 2012 12:48 pm
humla wrote:
dom wrote:
humla wrote:I have the same problem as well. Here is a screenshot

How dd you launch YouTube video? Directly from YouTube plugin on Pi?
Or using a remote app?


From a plugin i wrote which passes the link to urlresolver module which then calls the youtube plugin.
I have also tried calling the youtube plugin directly from my plugin and also had the same problem.

This problem also persists while streaming videos from sockshare.com
I think its to do with how these websites encode and store the videos.


Looks like there is a problem how xbmc decides which player to use. You can check it in the logfile. There you can see that DVDPlayer is choosen and not the OMXPlayer. Have to check that corner.
Posts: 18
Joined: Thu Apr 26, 2012 6:29 am
by sstavross » Sat Jun 23, 2012 2:44 pm
Hi!

I received my pi a couple of day ago and I installed both openelec and raspmc(on different cards of course!). Today I tried to play some .ape music files and xbmc couldn't play them! I tried to play them throw samba share. It starts for a second and then nothing. I can see time passing ( in wrong pace) and nothing is hearing. Is there an option I have to enable? I remember in my old xbox I had to enable some additonal codes to be able to play ape files. I can't play the files on both openelec r11371 and raspmc RC3. Any ideas?
Posts: 3
Joined: Sat Jun 23, 2012 2:21 pm
by mahjongg » Sat Jun 23, 2012 3:51 pm
monkey music .APE files are not supported by xmbc, there is no decoder for them.
Fortunately the .APE decoder is an open source product so source code for the decoder is available, and the decoder is licence free, so perhaps it can be included in a next release of xmbc..
For now perhaps you should install a player with built in support for such audio files. The free VLC media player supports .APE files, and I think I heard that an ARM linux version exists.
VLC doesn't have support for hardware (GPU) supported decoding for video, but for audio it should probably work.
User avatar
Forum Moderator
Forum Moderator
Posts: 5693
Joined: Sun Mar 11, 2012 12:19 am
by smuggly » Sat Jun 23, 2012 4:37 pm
Thought I'd Say I'm Trying The New 11380 img. It's Working Great. Still A Problem w/some avi files. Not sure why Maybe the video encode. the audio plays good. But, not that big of a deal. I've only found 2 files so far that it won't play. According to Gspot codec appliance it's a divx 3 low-motion encode. Both files. smuggly
Posts: 109
Joined: Fri Feb 03, 2012 6:09 pm