Netflix on Ubuntu Is Here
iheartubuntu.com
iheartubuntu.com
Don't do that. Particularly don't do that on Ubuntu, this is a pretty sure way to break something. Build a Debian package, it's not that hard. For example, use "checkinstall", it'll build automatically one for you.
It isn't necessarily, given that the Autotools configure installs to /usr/local by default, which is a directory tree explicitly reserved for installation of software outside the package system.
Installing shared libraries can cause problems, but that's rare because shared libraries are versioned in Linux, as opposed to Windows, which greatly reduces the incidence of DLL Hell. In short, a program might find a shared library that isn't the one it wants, but it very likely won't.
Similarly, installing your own executable files might cause problems for scripts. This could be more serious, but, in practice, I've installed a newer version of Perl outside the package system and everything works fine.
The biggest hassle of doing things outside the package system is the simple fact you don't have the package managers doing the scutwork for you. You have to do your own dependency tracking, your own configuration, and your own update management. There is no really easy way to uninstall anything. You quickly come to realize why we have package management in the first place, if you really go nuts with this stuff. ;)
So. The easy advice here is "Wait for the PPA", which the post itself mentions a few times. That will give you a nice little package, albeit not one from the official repos. I do that with VLC and couldn't be happier. But doing this little dance with Wine, building it yourself, is unlikely to cause problems if you follow the instructions.
In fairness to Windows (and I never thought I would say that), .DLL files are now versioned via WinSxS (https://en.wikipedia.org/wiki/Side-by-side_assembly).
Apparently, that's not working as well as MS hoped, either from a technical or adopting perspective: From the same wikipedia article:
- However, runtime libraries in Visual C++ 2010 no longer use this technology; instead, they include the version number of a DLL in its file name, which means that different versions of one DLL will technically be completely different DLLs now.
- a bug in sxs.dll causes heap corruption, leading to application crashes. This issue is not fixed by any XP service packs. Users must manually install a QFE (Quick Fix Engineering).
It should be noted that including the version of the library in the filename has been a simple solution that's been used in Unix since the early '90s, when shared libraries become fashionable. (Oh, Ultrix - how I hated not having shared libraries when I had to use you... Luckily, you're dead now)
In short, if you ever want to build software yourself there are two possible destinations, and hence two solutions:
- put it in primary/secondary hierarchy: make a package for your package manager
- put it in tertiary hierarchy (/usr/local) or optional software (/opt/your_software_name): use PREFIX/--prefix or whatever idiom the build system uses for controlling where the files will end up. More often than not with tertiary you don't even need to set up PATHs and include directories (think library and dependencies) and whatnot.
" Use CheckInstall instead of just running "sudo make install", as that will likely put files all over the filesystem, with no easy way of removing them if things go wrong. If in the future you try to install a package that contains the same file as the software you are compiling, you will receive errors and the software you compiled may stop working."
I'll never leave Gentoo :)
# Get the source
apt-get source $package
# Copy the patch in
cp my_patch.diff $package-$version/debian/patches
echo "my_patch.diff" >> $package-$version/debian/series
# Build the package
dpkg-buildpackage -us -uc
# Install the newly built package
dpkg -i package.deb- How do I make sure any other systems I own also get the patched version? (Gentoo: set up an overlay and commit the fixed package)
- How do I get notified when the package was updated upstream and my patch is no longer being applied? (Gentoo: emerge tells you when a new package is being installed from a different repository than the currently installed package)
You're probably going to say I should use a PPA, but not everyone is comfortable with signing up for a proprietary service and accepting their TOS. And setting up a PPA is way more complicated than maintaining a portage overlay in some VCS. And of course I have to submit a new package whenever a new version of Ubuntu comes out.
or use "grep -c" instead of piping through wc
http://www.omgubuntu.co.uk/2012/09/netflix-no-change-in-our-...
There are NF clients for PC, Android, ChromeOS, Xbox, PS3, Wii, AppleTV, iPhone, and iPad, at least. They're using webkit and HTML5 under the client covers[1,2]. They're a heavily invested open source company and they use and publish tons of source code and open API's for developers [3,4].
Conclusion? They will lose some media deals if they offer a Linux port. Sucks to be us.
1. http://radar.oreilly.com/2011/06/netflix-platforms-apps-webk...
2. http://techblog.netflix.com/search?q=webkit
To be honest, no, they won't.
In fact, they'll likely lose some if they do. They've been able to sell some media execs on the (false) premise that Silverlight == DRM == security == anti-piracy, so as long as Silverlight's DRM remains unavailable on Linux (ie, until the end of time), they won't offer official support on Linux.
The alternatives for them would be to
a) use Silverlight, but without DRM so that Linux users can use Moonlight.
b) use Flash
c) use some other technology
(A) will never happen because they'll lose all their deals. (B) will never happen for the same reason. (C) will never happen because it would take too much time to roll something from scratch, and even then you have the same problem of DRM.
So, at the end of the day, DRM once again gives users every incentive to pirate rather than pay!
Imagine average computer user (consumer?), who see such post.
Breaking news! Yada, Yada. And then
./configure && make && sudo make install
From the PR point of view it would be better if such Netflix port was never done, such news would never be written.
Someone potentially interested in installing Ubuntu would come accross such news and I bet this person would never look again at Ubuntu or any other Linux.
I've installed stuff on Windows in the past that was clearly developed with a Unix in mind and it's just as painful.
IMHO that's the stinky part of it. Saying "Netflix on Ubuntu is Here" is misleading when you're actually using a special version of a compatibility layer* to run the Windows version.
That's far from Netflix supporting Linux.
* that's what the compiling part is about, if you read the post there's a notice about packages being released soon.
EDIT: WINE is not an emulator.
It's not for most consumers, but for the few who use it, it works well for them.
"There is a PPA coming out soon to make installation much easier. If you are not comfortable with compiling software in linux, I recommend waiting for the PPA."
Several months from now, if you google "netflix ubuntu," you'll get easy hand-holding instructions that don't involve the console at all.
If it works with WINE, I am guessing the situation is not quite that simple?
Is there a reason then that they use Silverlight instead of flash?
Most computers don't have TPMs but Netflix runs on any Windows OS that has Silverlight. In the end, it is still software using the Win32 API, it just required implementing some Microsoft-specific functionality they had going on.
I do wonder how the Netflix apps not on Microsoft platforms work though. The Android, iOS, and game console versions mainly.
When the Netflix android application came out I had high hopes for Netflix on desktop GNU-ish/Linux, particularly when I learned that the Netflix application would work on rooted/otherwise open android phones. That hasn't happened though, so I guess either nobody has bothered to see that through, they got hit with law stuff, or for some reason it isn't technically feasible.
Which is all Wine provides, hence the name: Wine Is Not an Emulator.
(Alternately, I guess you could insist that glibc is a POSIX emulator on top of the OS kernel.)
(My point? All of a sudden I need a point? When did that happen?)
For most intents and purposes they both smell the same, but the devil is in the details.
In fact, I often make the container distinction: you have containers (Zones / Jails / OpenVZ) and you have virtual machines (VMWare / Vbox / Qemu / etc). WINE falls more into the containers category because it runs Windows PE natively on the host but in a sandboxed environment (and in an approximate sense of the term, chrooted) but with hooks that go between the host and client.
But, like with WINE, many lump containers into the virtualisation pigeon-hole as the full hardware emulation suites even though you're not actually emulating any hardware with containers.
You can very easily get the raw file using Wireshark. Ever heard of protocol analysis? You don't need to reverse engineer anything to get the file.
Not sure where you're getting those facts from, but Netflix does use DRM extensions in Silverlight as was pushed into using Silverlight because the copyright holders demanded Netflix to do so (just as Love Film were forced to switch from Flash as well).
It would be daft for a company who's business is based on streaming content to the masses (such as Netflix's business is) to switch to a platform that fewer people use simply because fewer people use it. No sane web company would do this unless their content was threatened to be pulled by the content owners.
Downloading a copy over the net that someone else ripped can be detectable.
That being said, I agree that piracy is just piracy. In my mind grabbing something from bittorrent/usenet is the same as using a VPN provider to stream from a different country, is the same as watching an illegal streamed copy on some website, is the same as ripping a copy from a friend/public library.
Did you pay to access it? Does the copyright holder make it freely available? No?
Then it's piracy.
It would be incredibly inefficient to do so, but I could see ways to improve and replicate this approach (like doing this on multiple computers, etc.). You will just end up with the same result.
Content providers are complete idiots.
I doubt it. They'll continue to thrive because enough people will jump through their hoops. and they'll give up juuuuust enough ground to keep people agreeable.
The video producers seem to be running along, handing over the same control to folks like Apple and Microsoft. Not a good strategy long-term, when they want to make DRM go away and sell to any old platform. By then, people will be locked in via their collections on iTunes or whatnot.
I would be interested in seeing a breakdown of how much of their traffic comes from PCs/Macs, and how much comes from various tablets/consoles/phones/etc. The impression I get from the people I talk to is that most people use the later these days.
What? Why is that the case? Unless you have some incredibly old and/or underpowered hardware...
If they gave me an SD stream that I could throw at mplayer, then that would work, but I don't reasonably expect them to do that just for me.
That's unfortunate - but then again, that's what I love about Linux... it lets me salvage even old or low-quality hardware.
Amusingly, this was literally the last thing that I still wasn't able to do on Linux that I wanted to - GNU/Linux is a fully capable OS, but DRM is quite a nuisance.
Now sure, you can then recompress this stream, if your CPU is able to compress it in real time as Netflix sends it to you. You'll double your compression artifacts, and any dropped frames compensating for your CPU speed or bandwidth will be lost forever. The end result will probably be between VHS and camrip in terms of quality.
If someone really wants a rip, it's easier to get the decrypted form from a DVD or Bluray. Plenty of people have already done the work packaging most stuff like this anyway.
Because there's no point - Netflix's selection is limited enough that it's still easier and faster (and less work) to pirate the content from DVD rips (available on Bittorrent, etc.), in which case you get the added benefit of much higher quality.
In other words, the only reason that Netflix isn't used for piracy is because the platform is still "inferior" to the existing piracy options already available!
If you're willing to pay for individual movies/shows (in addition to the $79 a year), Prime even has a much better selection than Netflix.
http://wiki.winehq.org/WineOn64bit
On Ubuntu it involves chroot, because Wine is apparently fundamentally dependent on a 32-bit architecture. Probably related to it implementing the Win32 API.
Both Firefox and Silverlight are available for download.
Netflix is more for the Windows and Mac kind anyway. I can see why they are not too concerned about the market of linux users their missing out on.
In addition to restricting what I watch, the content holders are also only selling half to NF. Most series they'll sell a few seasons and reserve the rest locked up, hoping you'll buy a disk from them. Suck.