element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Raspberry Pi 4 HTPC
  • 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: glennvanderveer
  • Date Created: 15 Mar 2020 2:17 PM Date Created
  • Views 2303 views
  • Likes 3 likes
  • Comments 3 comments
Related
Recommended
  • pi day 2020

Raspberry Pi 4 HTPC

glennvanderveer
glennvanderveer
15 Mar 2020

For quite a while I have been using an I7 laptop running KODI, with the HDMI port connected to my A/V receiver and TV as a HTPC.  This tied up the laptop for only this use because of the power cable for the laptop was run in behind all my furniture.  Plus this laptop has a hardware bug on the motherboard that requires some finagling with the battery and power adaptor in order to get the battery to charge.  So for quite a while I have been searching for an easy replacement that would be small enough to hide in my  stereo components and still handle my video, picture and music library and the occasional stream as well.

I had tried a WD TV media player, an Intel NUC with a Celeron processor, and PI's 1-3.  As the videos became higher resolution and with better compression, and with product obsolescence, all these options ended up being used for other things instead of my HTPC.

With the release of the Pi 4, I figured that this would finally be the SBC that would free up my laptop for actual use.

 

I bought a Pi4 with 4 gig of memory from a local supplier (https://www.buyapi.ca/ ) and installed Raspbian and Kodi on it.

 

I went to the Amazon, and purchase a 2 pack of cases, because I also had a Pi4 2 gig on the way from the Element14/Hackster.io Connecting the World contest.

image

I already had a wireless keyboard/trackpad that I would use to control the Pi from the comforts of my couch.

image

 

Unfortunately, the default install of Raspbian and Kodi would not function properly with my 4k encoded video files.  I could hear the audio, but no video was being display.  After much googling, I found that the Pi 4 cannot do the video decoding (x264 or x265) with raspbian.  However, on a soda pop fueled late night link clicking session, I stumbled upon a post that suggested LibreElec (https://libreelec.tv/ ) was in beta testing of a release to do this decoding.

I downloaded and wrote the LibreElec image to a SD card and plugged it in and fired it up.  I setup my NAS location and fired up one of my 4k videos and it worked properly for that video.  However, I had another video that had some pixelation and what seemed to be frame syncing issues every now and then.  All my music (mp3's, ogg vorbis, flac) of various bit rates and quality work as well.  An interesting thing with the music is that the low end/bass seems to be more 'present' than when I was using my laptop, even though I set the audio settings to be identical.  I am not sure if this is due to the HDMI port difference on the Pi and my laptop or the differences between Raspbian and LibreElec's audio drivers for Linux.

 

I also told dougw about LibreElec and you can see his progress in his post:The Ultimate Armchair ARM Computer

 

Next steps for me: First, get an actual 4k tv and HT receiver so I can actually see my 4k videos in 4k instead of downconverted to 1080p...  image

  • Sign in to reply

Top Comments

  • dougw
    dougw over 5 years ago +3
    Thanks for the LibreELEC tip.
  • glennvanderveer
    glennvanderveer over 5 years ago in reply to clem57 +2
    The NUC did great until h265 came out. Then it dropped the ball on 1080p h265 encoded videos, using either Kodi or VLC. The audio would play perfectly, but it would only play a video frame every 2-3 seconds…
  • glennvanderveer
    glennvanderveer over 5 years ago in reply to clem57

    The NUC did great until h265 came out.  Then it dropped the ball on 1080p h265 encoded videos, using either Kodi or VLC.  The audio would play perfectly, but it would only play a video frame every 2-3 seconds if I was lucky.  Of course, it was only a Celeron (and an old one at that) so I can't really blame it.  I did acquire another laptop with an older I3 processor (older than the Celeron) and it exhibited the same frame dropping issue.  I think the newer model NUCs (the I5's and I7's could, maybe even the I3's) could handle anything that is out now.  The only issue I have with the NUC's is the cost.  Intel is most definitely not giving those away as a loss leader...

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 5 years ago

    How well did the Intel nuc do?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 5 years ago

    Thanks for the LibreELEC tip.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
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