Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to build OpenH264.lib for windows

I followed all the instruction mentioned in https://github.com/cisco/openh264 but I am unable to get through. The information is cited in link but its quite confusing.

like image 679
Dila Gurung Avatar asked May 05 '15 06:05

Dila Gurung


People also ask

What is OpenH264 video codec provided by cisco?

OpenH264 is a codec library which supports H. 264 encoding and decoding. It is suitable for use in real time applications such as WebRTC.

What is OpenH264 org?

OpenH264 is a free software library for real-time encoding and decoding video streams in the H. 264/MPEG-4 AVC format. It is released under the terms of the Simplified BSD License. OpenH264.


1 Answers

Alternative Way:
You can build Openh264 using visual studio in windows. Here are the steps..

  • i) Download OpenH264 source code provided by cisco (that already you mentioned https://github.com/cisco/openh264).
  • ii) Now you will find two visual studio compatible projects in directory /OpenH264/codec/build/win32/dec and /OpenH264/codec/build/win32/enc.
  • iii) You will need to download NASM software from http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/
  • iv) Install NASM software on the directory C:\NASM or wherever you like.
  • v) Then Add NASM executable path to all these visual studio projects. enter image description here
  • vi) Then You can either select static or dynamic library in general options.enter image description here
  • vi) If you are able to perform all these operations successfully, you will have 5 different .lib or .dll files named welsdcore, welsdecplus, welsecore, welsencplus, welsvp and those are usable in any visual studio projects.

Now if you want to get openh264 features, just add all these libraries to your project and enjoy. Hope it will help you.. :)

like image 198
RajibTheKing Avatar answered Sep 20 '22 20:09

RajibTheKing