News for hackers. Stuff that matters.
Re:BPG Image Comparison by codexon on Monday December 15, 2014 @10:03PM (#8755680)
I think the big question is whether people can put BPG pictures online without getting sued.

edit

Why am I being downvoted for saying this? Do the people downvoting me realize that BPG is using HEVC which is patented by many entities?

Re:BPG Image Comparison by WildUtah on Tuesday December 16, 2014 @12:04AM (#8755919)
Of course you can't use this compression technique without being sued. And that is the key reason software patents are really bad.

You may hear a lot about trolls and grossly invalid obvious patents making millions in licensing and extortion by legal fees and I agree those things are bad. They are very bad. But the real problem is the apparently valid patents.

Monopolizing a programming technique is a long-term barrier to invention that provides little or no incentive to create anything new compared to all the invention it prohibits. It's the same in any field where experimentation doesn't require billion dollar research teams and each new idea is built on thousands of others. No new work you do in video, audio, or image processing or encoding will be legal without a mountain of licensing agreements. Anything beyond common established software applications will be unlicensable and effectively outlawed. Google had to fight for years with a giant legal team to get permission to release WebM and you don't have that kind of power.

Re:BPG Image Comparison by bsdetector on Tuesday December 16, 2014 @04:20AM (#8756401)
> It's the same in any field where experimentation doesn't require billion dollar research teams and each new idea is built on thousands of others.

So how little money do you believe has been spent creating MPEG, H.264, H.265, and all the other codecs? Do you think these were created by a handful of people in a garage over a weekend?

Meetings for these codecs were more than 300 people and those were just representatives of larger groups. This is research that does require billions of dollars and thousands of experts working for years. That's not going to happen as a charity or by weekend hackers. Linus isn't going to get frustrated at the size of video files and take a week off to come up with a better codec.

Software patents created these video codecs by funding the research and development, and patents aren't long-term barriers as many of the early formats have expired or are expiring now. You want to use MPEG-1? Go ahead. Or if you want to leverage hundreds of thousands of man-hours experts put into improving on it for the next generation then for a few more years you'll need to pay for it to cover those costs. That's exactly how patents are supposed to work.

Re:BPG Image Comparison by rockdoe on Tuesday December 16, 2014 @07:01AM (#8756747)
> That's not going to happen as a charity or by weekend hackers.

To be honest that's exactly what happened with Vorbis (1 FOSS guy) and Opus (2 FOSS guys, 1 Skype guy).

The MPEG process is full off politics and massive overheads.

Re:BPG Image Comparison by sp332 on Tuesday December 16, 2014 @09:18AM (#8757188)
Those are audio codecs, not video codecs. Xiph worked on Theora for 7 years and never got close to H.264, and Daala is promising but HEVC is amazing right now.
Re:BPG Image Comparison by nitrogen on Tuesday December 16, 2014 @01:18PM (#8758418)
Theora and Daala are both hamstrung by working around minefields of patents on essential processes to video processing.
Re:BPG Image Comparison by throwawaykf05 on Tuesday December 16, 2014 @11:23AM (#8757774)
Interestingly, the Vorbis project only really took off after mp3 started facing licensing issues. From http://en.wikipedia.org/wiki/Vorbis

> Intensive development began following a September 1998 letter from the Fraunhofer Society announcing plans to charge licensing fees for the MP3 audio format.

Who says patents don't promote innovation? :-)

(I'm only half-joking - invention forced by working around patents has long been a post-facto justification of patents.)

Also, nit, it wasn't all done by just "1 FOSS guy". From the same wikipedia link:

> Chris Montgomery began work on the project and was assisted by a growing number of other developers.

Re:BPG Image Comparison by derf_ on Tuesday December 16, 2014 @01:34PM (#8758497)
In my case, a substantial amount of my work on Opus was done literally from my basement (sorry, I didn't have a garage).
Re:BPG Image Comparison by nitrogen on Tuesday December 16, 2014 @01:16PM (#8758408)
Meetings for these codecs were more than 300 people and those were just representatives of larger groups....

That's easy to do when your goal is to have as many different people and patents involved as possible, rather than simply develop an efficient codec using an efficient process.

Re:BPG Image Comparison by joelthelion on Tuesday December 16, 2014 @08:57AM (#8757103)
To be fair a lot of the research that lead to these codecs was made by publicly-funded research institutions.
Re:BPG Image Comparison by vetinari on Tuesday December 16, 2014 @08:58AM (#8757108)
Spending big money and organizing meetings with many people does give you right to prevent others to invent their own codecs? Does Linus sue other OS makers, that they make OS kernels too and therefore they must (by definition) infringe on his rights?

And according to my math, I should be able to use MPEG-2 (publication date 1996), AC3 (1995) or MP3 (1992) already, with MPEG-4 ASP (1999) getting there soon.

Re:BPG Image Comparison by throwawaykf05 on Tuesday December 16, 2014 @12:48PM (#8758214)
> Spending big money and organizing meetings with many people does give you right to prevent others to invent their own codecs?

No, making a novel and non-obvious contribution to the arts gives you the right to apply for a patent on your invention, which then gives you the right to prevent others from using that specific invention. Spending big money and organizing meetings may or may not be involved.

Nothing prevents others from inventing their own codecs.

Now commercializing those codecs may be another matter entirely, probably requiring resolving licensing issues depending on how much they rely on other patented methods. Ostensibly, pools like MPEG-LA exist to make this easier.

Re:BPG Image Comparison by vetinari on Wednesday December 17, 2014 @02:01AM (#8761393)
> Now commercializing those codecs may be another matter entirely, probably requiring resolving licensing issues depending on how much they rely on other patented methods. Ostensibly, pools like MPEG-LA exist to make this easier.

That would be fine. However, confusing the issue, claiming infringement by these new codecs in general, without providing any proof and otherwise trying to destroy the adoption of these new codecs is not OK. MPEG-LA and other right-holders conspiring to damage the alternative codecs uptake did cross this line.

Re:BPG Image Comparison by domlebo70 on Tuesday December 16, 2014 @06:50AM (#8756724)
> That's not going to happen as a charity or by weekend hackers. Linus isn't going to get frustrated at the size of video files and take a week off to come up with a better codec.

That's kind of what he did with Git.

Re:BPG Image Comparison by Daiz on Tuesday December 16, 2014 @09:15AM (#8757172)
Distributing HEVC content is royalty-free, even commercially[1] - however, royalties come into play with distributing encoders and decoders, and it's the latter that could cause problems (similar to the case of Firefox and H.264 decoding support).

[1] http://www.mpegla.com/main/programs/HEVC/Documents/HEVCweb.p... - page 7, HEVC License Terms

Re:BPG Image Comparison by wtallis on Monday December 15, 2014 @11:33PM (#8755863)
How could distribution of the encoded images be infringing a patent? It's the distribution and possibly use of the encoders and decoders that would be within the scope of patent law, not the output itself. The encoded image isn't the invention.

If I own a patented 3d printer, would you be worried that those patents could restrict my ability to distribute the objects printed by it?

The javascript decoder would certainly be covered by the patents as much as any other decoder, so it doesn't solve the patent-related barriers to adoption even if it takes care of the practical issues with using the format.

Re:BPG Image Comparison by codexon on Monday December 15, 2014 @11:48PM (#8755889)
Err, because MPEG-LA and the other patent holders that didn't join knows that Fabrice Bellard didn't license the patent from them, so you used an unlicensed encoder.

If you stick that poly-fill on your website they can also sue you for distributing the decoder to everyone that downloaded the javascript file.

Re:BPG Image Comparison by reubenmorais on Tuesday December 16, 2014 @04:42AM (#8756447)
IANAL, and this might be a simple case of letter vs. spirit, but my understanding was that shipping the decoder's source is allowed, so with a JS implementation you're theoretically safe. This was one of the arguments around Broadway, the JS H.264 decoder.
Re:BPG Image Comparison by tjohns on Tuesday December 16, 2014 @01:56PM (#8758634)
I'd argue there's a difference between shipping source code, and actually embedding it in your page via a <script> tag. Once you embed the script into your page for execution, you're building a derivative work -- not just publishing technical details.

Otherwise JS would become a universal patent loophole, which I'm pretty sure a judge would find fault with.

(IANAL also.)

Re:BPG Image Comparison by WildUtah on Monday December 15, 2014 @11:55PM (#8755900)
The usual technique is to claim the encoding technique, the decoding technique, and the data structures expressed by and expressing the technique. There's also equivalents and the doctrine of induced infringement.

The patent courts and ITC have looked very unfavorably on First Amendment claims and on defenses based on lack of infringement within the USA and technologies with alternative non-infringing uses not being liable.

The Supreme Court is less extremist than patent courts on insisting that patents pre-empt the Constitution, but the Supreme Court takes very few cases and you'd already have spent millions to get there and -- most importantly -- the patent courts largely don't consider Supreme Court cases to be necessarily binding precedent next time around.

Re:BPG Image Comparison by georgemcbay on Monday December 15, 2014 @11:32PM (#8755862)
Not sure what the score looks like for your post, but this is certainly the big question for me too considering that one of the primary factors in the terrible stagnation of widely used media formats (which has consequences as terrible as people commonly and unironically using GIFs -- fuckin GIFS!!!! to share "videos") has been serious patent concerns associated with most new contenders.
Re:BPG Image Comparison by throwawaykf05 on Tuesday December 16, 2014 @11:14AM (#8757719)
From the original link for the BPG format http://bellard.org/bpg/:

Some of the HEVC algorithms may be protected by patents in some countries (read the FFmpeg Patent Mini-FAQ [https://www.ffmpeg.org/legal.html] for more information). Most devices already include or will include hardware HEVC support, so we suggest to use it if patents are an issue.

The mini-FAQ contains some relevant information.