Today is the last year before the Spring Festival to work, but also because of the recent integration of MSDK, X264 two encoder, so today the small test of the Cisco OPENH264 Encoder, intends to integrate it into my code.
the first is the compilation problem:
System platform: Win7 x86
Compilation Environment: Mingw32/msys
1, download the source code, I downloaded is openh264-master, can be seen from the above github download;
2, after decompression, with Msys into the openh264 root directory, directly run make;
Error: G++.exe:error:createprocess:no such file or directory
Workaround: Add the underlying directory of GCC under the Libexec directory to the PATH environment variable; for example mine is "C:\MinGW\mingw32\libexec\gcc\i686-w64-mingw32\4.8.0";
Error: G++.exe:fatal Error:fuse-linker-plugin, but liblto_plugin-0.dll not found
Clearly added libexec directory has liblto_plugin-0.dll this file, but still can't find. Later found to be using the GCC version is 4.7, and the addition of the GCC version of the Libexe directory is not on, my version is 4.8;
Workaround: Re-download or find the appropriate GCC suite to replace, or replace the corresponding version of the file in the Libexec directory;
3, after the above, re-make, the discovery can be compiled successfully;
7 Static libraries:
Libcommon.a
Libconsole_common.a
Libdecoder.a
Libencoder.a
libopenh264.a
Libopenh264.dll.a
Libprocessing.a
1 Dynamic Libraries:
Libopenh264.dll
2 Executable files:
H264dec.exe
H264enc.exe
4, Next we can use the example of the Openh264/codec directory to study and analyze the
As for the Android version openh264 compilation, you can refer to the Readme file, which has detailed instructions, pay attention to build a good NDK environment.
Streaming Media Group: 190717128
WEBRTC Group: 323038420
Welcome everyone to join the study together