User avatar
gagle
Posts: 82
Joined: Fri Feb 14, 2014 6:54 pm
Contact: Website

Open source H264 encoder/decoder

Sun Jun 29, 2014 7:30 am

Cisco has an open source implementation. Did you know about that?

http://www.openh264.org/
https://github.com/cisco/openh264
http://blogs.cisco.com/collaboration/op ... rs-webrtc/
H.264 free for use in WebRTC.
Good news.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23883
Joined: Sat Jul 30, 2011 7:41 pm

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 8:06 am

How bizarre.

Still, not hugely different to the Raspi method of absorbing the H264 costs. But it appears to be entirely software, and the Raspi uses mostly a HW block, so not really possible for the Raspi.

There are already OSS implementations of H264 - x264 for example.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

gkreidl
Posts: 6116
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 8:08 am

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
rpdom
Posts: 15407
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 8:48 am

Hmm, fairly old news article. From a brief looks it seems to be require at least x86, ARMv7 or some other CPUs. I doubt the Pi CPU would be fast enough to use it well.

gkreidl
Posts: 6116
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 10:34 am

I don't think the OP was asking for an open source encoder for the RPi, but I might be wrong, of course.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
gagle
Posts: 82
Joined: Fri Feb 14, 2014 6:54 pm
Contact: Website

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 10:51 am

gkreidl wrote:I don't think the OP was asking for an open source encoder for the RPi, but I might be wrong, of course.
Nope, this thread was just informative. These are very good news for the webrtc protocol. Videoconference for the masses with just a browser :D .

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7422
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Open source H264 encoder/decoder

Sun Jun 29, 2014 11:41 am

I have a vague recollection that any software implementation of H264 was free, but implement any part of it in hardware and you had to pay the licence fee. Explains how VLC and Cisco can do things like this.
I could be misremembering though.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

bbodin
Posts: 70
Joined: Sat Jun 28, 2014 3:23 pm

Re: Open source H264 encoder/decoder

Mon Jun 30, 2014 3:19 pm

We will not pass on our MPEG-LA licensing costs for this module, and based on the current licensing environment, this will effectively make H.264 free for use on supported platforms.
From the quoted statement, it looks like the module can be used without having to pay for a license fee. Not sure if there are any restrictions attached.
Binh Bui

towolf
Posts: 421
Joined: Fri Jan 18, 2013 2:11 pm

Re: Open source H264 encoder/decoder

Tue Jul 01, 2014 2:20 pm

x264 is OSS but not licensed. x264 is officially only distributed as source. Providing compiles happens in a gray area.

The Cisco compiled binaries are licensed. They show the source and how to compile, but only *their* compiles are licensed.

il2
Posts: 1
Joined: Mon May 16, 2016 8:37 am

Re: Open source H264 encoder/decoder

Mon May 16, 2016 8:49 am

To continue this topic, OpenH264 replaced H264 in Fedora Workstation 24
https://blogs.gnome.org/uraeus/2016/05/ ... rkstation/
Currently only H264 Baseline profile is implemented in the codec.

Firefox has made the effort to move to OpenH264 almost 3 years ago.
https://blog.mozilla.org/blog/2013/10/3 ... 264-codec/

OpenH264 codec is royaltee-free because Cisco has licensed it from MPEG LA.
Is it like Raspberry Pi can make that move too not too long in the future?

ghans
Posts: 7876
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Open source H264 encoder/decoder

Mon May 16, 2016 11:13 am

The licensing cost of full HD/30fps h.264 hardware decoding
and encoding is already included in the price of every
existing Raspberry Pi.

Software decoders might or might not be fast enough for
full HD@30fps on some Pi models.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Camera board”