# H.264 Viedo Compression

**URL:** <https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176>\
**Category:** Ignition\
**Created:** [September 8, 2010, 4:42am UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176 "2010-09-08T04:42:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttuttle387](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ttuttle387](https://forum.inductiveautomation.com/u/ttuttle387)\
**Post date:** [September 8, 2010, 4:42am UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/1 "2010-09-08T04:42:07Z")

</div>

I know that currently you support mjpeg video on the IP cameras. A lot of the newer IP cameras on the market support H.264 compression. Is this a feature that can be added in the future for the IP Camera tool?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 17, 2010, 5:25pm UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/2 "2010-09-17T17:25:36Z")

</div>

I hope so. H.264 (which is currently the de-factor “standard”, although perhaps [not for long](http://techcrunch.com/2010/05/19/webm-google-h-264/)) is a tricky beast from a licensing perspective. It isn’t an open standard - it is a proprietary format that the owners of are letting lots of people use “for now” but are reserving the right to charge royalties for in the future.

And the other big reason - there isn’t a built-in H.264 decoding library in Java, which would make it tough for us to support. I did some Googling though, and [this project](http://www.xuggle.com/xuggler/) looks quite promising…

---

<div class="post-metadata">

**Author:** ![Alturex](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@Alturex](https://forum.inductiveautomation.com/u/Alturex)\
**Post date:** [April 12, 2017, 3:37pm UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/3 "2017-04-12T15:37:33Z")

</div>

Is there any update on this?  
Would like to use new cameras on H.264.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 12, 2017, 3:48pm UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/4 "2017-04-12T15:48:57Z")

</div>

Unfortunately nothing has changed, and unless Oracle licenses H.264 from the appropriate patent holders and adds support to Java, it’s possible it never will.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [April 12, 2017, 6:17pm UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/5 "2017-04-12T18:17:53Z")

</div>

A great tool for video embedding with supports for lots of codec is **vlc** with the java flavour : **vlcj** and **vlcj pro** for the case of multiple video instance.  
[http://capricasoftware.co.uk/](http://capricasoftware.co.uk/)  
[http://www.videolan.org](http://www.videolan.org)  
It is a bit complicated with some JNA calls 😈 and the need to install some native library on client side…

---

<div class="post-metadata">

**Author:** ![jwguillot](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jwguillot](https://forum.inductiveautomation.com/u/jwguillot)\
**Post date:** [March 1, 2018, 9:33pm UTC](https://forum.inductiveautomation.com/t/h-264-viedo-compression/2176/6 "2018-03-01T21:33:19Z")

</div>

Wouldn’t something like this work for H.264?  
jcodec - a pure java implementation of video/audio codecs.

About  
JCodec is a library implementing a set of popular video and audio codecs. Currently JCodec supports:

Video codecs

H.264 main profile decoder;  
H.264 baseline profile encoder;  
VP8 decoder (I frames only);  
VP8 encoder (I frames only);  
MPEG 1/2 decoder ( I/P/B frames, interlace );  
Apple ProRes decoder/encoder;  
JPEG decoder;  
PNG decoder/encoder.  
DivX/Xvid  
Audio codecs

SMPTE 302M decoder;  
AAC decoder (JAAD)  
RAW PCM.  
Formats:  
MP4 ( MOV ) demuxer / muxer;  
MKV ( Matroska ) demuxer / muxer;  
MPEG PS demuxer;  
MPEG TS demuxer;  
WAV demuxer/muxer;  
MPEG Audio (MP3) demuxer;  
ADTS demuxer.  
DPX parser  
JCodec is free software distributed under FreeBSD License.
