Video Compression

VideoNerd

Openh264 is a free sw codec (encoder and decoder), for details look at www.openh264.org .

Installation of Openh264 on MAC OS

1. Clone Openh264 project (openh264 folder is created automatically to keep sources)

   git clone https://github.com/cisco/openh264.git

2. Enter to openh264 folder

3. Run mktargets.py to change Makefile to generate ‘h264dec’ binary (i.e. the decoder):

   python ./build/mktargets.py –directory codec/console/dec –binary h264dec

4. Then make in 64-bits model

    make ARCH=x86_64  

5. The ‘h264_dec’ binary is created in ‘openh264’ folder

6. Run ‘h264_dec’ on 1920×1080 video: 

./h264dec   test.h264    test.yuv

Width: 1920

height: 1080

Frames: 2373

decode time: 54.185142 sec

FPS: 43.794293 fps

Notes:

  • openh264 does not support hw decoding, replay of Openh264 support:
    • openh264 does not support hardware decoding till now. However, in our private tests on Windows I7, we get mostly >100 fps for most cases.
  • on MAC machine with GPU – Intel Iris 1536 MB, openh264 sw decoding of 1920×1080 provides ~44fps only. 

For building Openh264 for Windows look at:

https://stackoverflow.com/questions/30045356/unable-to-build-openh264-lib-for-windows

 

11 Responses

  1. Hey, you used to write great, but the last few posts have been kinda boring… I miss your tremendous writings. Past few posts are just a bit out of track! come on!

  2. Youre so cool! I dont suppose Ive read anything like this before. So nice to search out anyone with some authentic ideas on this subject. realy thanks for beginning this up. this web site is something that’s wanted on the internet, someone with a little bit originality. helpful job for bringing one thing new to the web!

  3. It’s a pity you don’t have a donate button! I’d definitely donate to this outstanding blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this blog with my Facebook group. Chat soon!

  4. Wonderful beat ! I would like to apprentice even as you amend your site, how could i subscribe for a blog site? The account aided me a applicable deal. I were a little bit familiar of this your broadcast provided vibrant transparent concept

  5. I do like the way you have framed this specific challenge plus it does give me personally some fodder for consideration. Nevertheless, through what I have witnessed, I really trust when the actual commentary pack on that people keep on point and don’t start on a soap box involving some other news du jour. All the same, thank you for this outstanding piece and though I can not concur with it in totality, I respect your point of view.

  6. Its such as you learn my thoughts! You appear to understand so much about this, like you wrote the guide in it or something. I believe that you could do with a few percent to drive the message house a little bit, but other than that, that is magnificent blog. A fantastic read. I’ll certainly be back.

Leave a Reply

Your email address will not be published. Required fields are marked *