CMake compile win under 64-bit OBS

Source: Internet
Author: User

OBS is an open source coded push-flow tool that is easy to use and very popular.
In one project, it was found that 32-bit OBS streaming CPU utilization was 100% under this desktop I3 processor. The third-party device used in 64-bit, the performance is better.
Therefore, the 64-bit OBS needs to be compiled and the corresponding 64-bit plugins compiled.

Compile the 64-bit OBS according to the official documentation. Reference Documentation:
Https://github.com/jp9000/obs-studio/wiki/Install-Instructions
Explain the native software environment:
vs2013 Update5, qt5.4.1_64 bit, win version cmake64 bit.
1. First download the OBS source and dependent libraries.
SOURCE git clone--recursive https://github.com/jp9000/obs-studio.git
Dependent Library Http://code.fosshub.com/OBS/download/dependencies2013.zip
2. According to the documentation, the corresponding folder is suggested in the source root directory.
In the dependencies directory, copy dependencies, bin and include, are all 64 bits.


3. Open the CMake installation directory under Cmake-gui.exe. Set up this compilation environment.
Set source code path D:\dev\obs\src\obs-studio
Set compilation result Path D:\dev\obs\src\obs-studio\build
Set the Depspath and Qtdir paths. Set Build_tests to True to select.


4. Click Configure in the lower left corner and select Visual Studio Win64. If there is red, click Configure again to refresh.


5. Tick on copy_dependencies, click again on the lower left corner configure, found red did not find Libavcode_dir, manually set to DEPENDENCIES directory FFmpeg directory, again point to the lower left corner configure.


6. No red found. Point generate. When you see generating done, the SLN project for OBS is generated. Open the build directory with vs2013 Obs-studio.sln, click Generate, compile the end, the results under D:\dev\obs\src\obs-studio\build\rundir\Release.

There is a 64-bit OBS executable under the bin, which is the 64-bit plug-in directory under Obs-plugins. At the same time, the build directory generated the OBS plug-in test project Testing folder.

CMake compile win under 64-bit OBS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.