Skip to main content

How to Stream Netflix, Fix YouTube on Raspberry Pi

How to Run Netflix on Raspberry Pi
(Image credit: Tom's Hardware)

One of the biggest problems with any Raspberry Pi, even a top-of-the-line Raspberry Pi 4,  is that it can't handle streaming video very well, at least not by default. When you fire up Chromium, the default browser in Raspberry Pi OS, paid streaming services such as Netflix, HBO Go and Disney+ just won't work, because the DRM (digital rights management) software they use to protect their content is incompatible with the ARM version of the browser.  

YouTube videos don't suffer from DRM issues, but they are sluggish and drop frames when  you try to play them at full screen, no matter the resolution. Amazingly, a developer named Ventz has come up with a way to solve both problems by running a specialized version of Chromium that comes from the Chrome OS source code. Here's how.

How to Stream Netflix, Fix YouTube on Raspberry Pi

1. Enter the following commands, one after the other at the terminal prompt.

curl -fsSL https://pi.vpetkov.net -o ventz-media-pi
sh ventz-media-pi

After entering the second command, you will see some text telling you that "Your Pi is now Ready for all Media" and that it's time to reboot.

How to Run Netflix on Raspberry Pi

(Image credit: Tom's Hardware)

2. Reboot your Raspberry Pi.

3. Open Chromium (Media Edition) from the Internet menu.

How to Run Netflix on Raspberry Pi

(Image credit: Tom's Hardware)

Using Chromium (Media Edition), you'll be able to play video from DRM-enabled services such as Netflix, Spotify and Disney+. I tested on a Raspberry Pi 4 with Netflix, HBO Go, Disney+ and Amazon Prime Video. Of those four, all worked except for Amazon Prime Video.

I also found that YouTube was infinitely smoother and played at full screen without a hitch. Just make sure that you use Chromium (Media Edition). If you launch regular Chromium, you won't get these benefits.

  • sgrayban
    Works with SlingTV as well!!
    Reply
  • juanca1944
    Hi!
    I got the following error

    Invalid desktop entry file: '/usr/share/applications/chromium-media-browser.desktop'

    And apparently no one has an explanation.

    Regards
    Reply
  • juanca1944
    juanca1944 said:
    Hi!
    I got the following error

    Invalid desktop entry file: '/usr/share/applications/chromium-media-browser.desktop'

    And apparently no one has an explanation.

    Regards
    Well, you must have chromium-browser installed not only chromium
    Reply
  • dehuszar
    I get the same error. Sadly, there does not appear to be an installation candidate for chromium-browser in raspberry pi os 64 bit.

    Is there an extra step or a repository that needs to be added?
    Reply
  • dipmip
    It worked perfectly on my Raspberry pi 2B.
    Reply
  • paulmp
    Full screen (F11) doesn't seem to work
    Reply
  • AlexHud
    So far so good, but I got an HTML5 error from Netflix.
    Hulu and YouTube are smooth as butter.
    Reply
  • HandleTheGod
    I feel the linux community is filled with clowns when I read tutorials like this. Don't put command lines in one text box without putting a clear space for separation. I know <Mod Edit> about command lines. I don't know when the first part of the command stops and the other starts. And it's not my first time troubleshooting <Mod Edit> on Linux based systems where the community explains their fix with stupid shortcuts for their sentences. Explain properly.
    Reply
  • Eduardo333
    I have an Orange Pi plus 2e and have the problem with not being able to play amazon, which is a little frustrating as I purchased it to use as a sort of tv box. Anyway tried this and while it did seem to install allright, the Chromium Media would not start. I guess it is too different from the Raspberry.
    Reply