element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog OpenElec on the new Raspberry Pi 2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mpicker21
  • Date Created: 2 Mar 2015 1:04 AM Date Created
  • Views 467 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended
  • openelec
  • raspberry_pi_space
  • raspberry-pi-2

OpenElec on the new Raspberry Pi 2

mpicker21
mpicker21
2 Mar 2015

Introduction

 

Well it took an extra day or two, due to the weather, to get the parts in that I ordered, but they are finally here.  I decided that the first project I would try was OpenElec because I already have my old Pi set up with it and it will give me a good comparison.

 

For those of you who haven't tried OpenElec, or aren't familiar with it, I highly recommend you give it a shot.  It is a distribution of Linux that is streamlined to run Kodi (formerly XBMC).  What's great about it is that it is extremely easy to set up and it works very well.  I mentioned in my last post about all the time and money I had spent trying to build a comparable setup in the past.  OpenElec is easier and runs better than any other setup I've had.  Here's a small list of the pros and cons, as I see them, of OpenElec on a Pi compared to a full home theater PC (HTPC) running Windows:

 

Pros:

  • Much easier to set up
  • Built in support for HDMI-CEC (You can use your regular TV remote to control Kodi without any extra hardware, like Lirc.)
  • Quiet (No fans = no noise)
  • Small profile (Zip tie it to the HDMI cable behind the TV if you want it completely hidden)
  • Lots of user created add-ons for Kodi for all sorts of services

Cons:

  • No Netflix (I have two other devices, a Wii U and a blu-ray player, plugged into the TV that provide Netflix ability if I need it anyways.)
  • Not as powerful processor-wise (The Pi, and especially the Pi 2, are very smooth running OpenElec, however.)
  • No automatic "on-the-fly" quality adjustments to prevent buffering (This can be annoying at times.)

 

Setup

 

So let's jump into getting this set up.  It's really simple.  First head on over to the OpenElec website and get the latest release from the download section.  Make sure you download the "Diskimage" file for your appropriate Pi.  I'm obviously using a Pi 2 and the current release is 5.0.5 so I downloaded OpenELEC-RPi2.arm-5.0.5.img.gz.  Follow the instructions here to get the image on your SD card.  I run Ubuntu and my SD card is at /dev/sdb so my install went like this:

cd ~/Downloads

gunzip -d OpenELEC-RPi2.arm-5.0.5.img.gz

sudo dd if=OpenELEC-RPi2.arm-5.0.5.img of=/dev/sdb bs=4M

sync

    

That's all.  Now we stick the card in the Pi and plug it into the TV.  I use an ethernet cable to connect it to my network.  On the first run it will expand the image to fill the SD card.  It will also run a few plugin updates and ask you a few questions.  The defaults are usually fine but I like to enable SSH and Samba now.  You can always go back and do this later in the settings if you change your mind.  As I mentioned, my Samsung TV supports HDMI-CEC so I don't need any extra remotes or hardware to control it.  Many new TVs support this but they don't market it as "HDMI-CEC".  From Wikipedia:

Trade names for CEC are Anynet+ (Samsung), Aquos Link (Sharp), BRAVIA Link and BRAVIA Sync (Sony), HDMI-CEC (Hitachi), E-link (AOC), Kuro Link (Pioneer), INlink (Insignia), CE-Link and Regza Link (Toshiba), RIHD (Remote Interactive over HDMI) (Onkyo), RuncoLink (Runco International), SimpLink (LG), T-Link (ITT), HDAVI Control, EZ-Sync, VIERA Link (Panasonic), EasyLink (Philips), and NetCommand for HDMI (Mitsubishi).

   

You may have this ability and didn't even know it.  This is by far my favorite thing about using the Pi as a media player.  The Kodi remote control app for the iPad is also awesome.  You can browse your files, and even add-ons, in the app and play them on your TV with ease.  A lot of times I won't even touch the TV remote.  I'll select a movie or show in the remote control app and the Pi will turn the TV on, select the correct source on the TV, and begin playing the video.  I was pleased to see that some of the other popular add-ons that I use are already available in this new release without having to add any repositories.  A few of my favorites are NHL Gamecenter (requires subscription), NBC Sports Live Extra, Revision3, TWiT, and YouTube.  To install these simply navigate to "Videos" and "Get more...".  Select the add-ons that you want and choose "Install".

 

My impressions

 

Having used the Raspberry Pi model B for a few years now I can feel a bit of a speed boost on the new Pi 2.  The main menus are comparable between the two but where the new Pi jumps ahead is the sub-menus inside the apps.  This is probably due to the fact that the Pi is doing some scraping or processing work to generate these sub-menus inside the apps that I'm using.  The faster processor handles this better.  Based on my small experience with the new Pi I would say this time is almost cut in half.  On the old model B it would take 5 seconds or so to load the sub-menus in NHL Gamecenter while now it's only taking around 2.  That might not seem like much but when you have to navigate down through a few sub-menus it starts to add up.

 

Video playback on both Pi models is great.  I can play 5000 kbit/s streams of my NHL Gamecenter games with no problems.  When I get my server set up in my new house I'll be able to add that as a source and play the files off of it too.  I also like the AirPlay feature.  I don't use it a lot because it can be hit or miss.  I think that is a WiFi issue though.  My setup used to have the Pi on a wireless bridge so streaming a YouTube video to the Pi took 3 times the wireless bandwidth.  (Once to get it from the router to the iPad, once from the iPad back to the router, and once from the router to the Pi.)  The Chromecast is smarter about this.  (It just passes the URL to the device and let's it get it on its own.)  I imagine if you were streaming from a wired device or a video that you have on your device already it would work well.  Streaming music from my iPad works well though.

 

I'm very satisfied with this new device.  I would say it's worth the purchase just for this purpose.  I would even recommend to someone using a model B for this already to upgrade to a Pi 2.  They would benefit from the increased performance AND have another spare Pi to re-purpose, maybe for a RetroPie install, for example.

{gallery} OpenElec on the new Pi

image

Main Menu

image

My Video Add-ons

image

NHL Gamecenter

image

YouTube

image

NBC Sports

image

Menu overlays on video without any performance hit

image

Some Music Add-ons

image

iPad XBMC controller browsing Video Add-ons

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube