What is the best way to access DRM Flash sites like Hulu or YouTube using the Raspberry?
I have a Neuros (Ubuntu) box on the same network that runs these sites now using the Flash plug-in.
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityWhat is the best way to access DRM Flash sites like Hulu or YouTube using the Raspberry?
I have a Neuros (Ubuntu) box on the same network that runs these sites now using the Flash plug-in.
I've been playing with VLC on a desktop computer the last few weeks. Now, please bear with me a moment...
VLC can play natively the FLV and MP4 files that Youtube uses. You just have to know the correct URL. And for the last few years, VLC has had this functionality where you can script it to take the URL of some arbitrary webpage and extract the video URLs, which then play. You can literally take the URL for some particular video (page), open it in VLC, and it will play automatically, by default.
But the script they include to play a whole list of Youtube videos was broken. I fixed it myself last night. As it turns out, they're just regexing the video URLs out of the html source. No DRM. No fancy URL obfuscation in javascript. Haven't really checked out Hulu, I imagine that stuff is locked down pretty tight though.
Not sure about Hulu, because I don't have access to it and I know that it's DRM is typically quite stong, however I've been successfully playing standard youtube videos using the youtube-dl
package and omxplayer
. You can download the video completely or use the --get-url
parameter to get the underlying URL. Then omxplayer should be able to play it as most videos use MP4 format with H264.
Some YouTube videos use rtmp but they are reasonably rare, and rtmpdump should work, and omxplayer may even have it built in (don't remember).