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