Dil*_*ung 8 windows build openh264
我按照https://github.com/cisco/openh264中提到的所有说明进行操作,但我无法完成.该信息在链接中引用,但它非常令人困惑.
替代方法:
您可以在Windows中使用Visual Studio构建Openh264。这是步骤。


现在,如果您想获得openh264功能,只需将所有这些库添加到您的项目中即可使用。希望它能对您有所帮助.. :)
我在使用推荐的 mingw 方法在 Windows 上构建 openh264 时也遇到了一些困难。
就我而言,make我尝试过的所有配置都崩溃了:
bash -c "make OS=msvc ARCH=x86_64 USE_ASM=No BUILDTYPE=Debug clean"
bash -c "make OS=msvc ARCH=x86_64 USE_ASM=No BUILDTYPE=Debug"
0 [main] make 3888 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
564 [main] make 3888 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
0 [main] make 5448 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
561 [main] make 5448 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
copying dll files to destination folder...
FullDestDir is E:\projects\openh264\bin\x64\Debug
current dir is:
E:\projects\openh264
DestDir is bin/x64/Debug
cp: cannot stat `openh264.dll': No such file or directory
cp: cannot stat `openh264.lib': No such file or directory
cp: cannot stat `openh264.pdb': No such file or directory
cp: cannot stat `codec_unittest.exe': No such file or directory
cp: cannot stat `h264enc.exe': No such file or directory
cp: cannot stat `h264dec.exe': No such file or directory
BuildDebugFlag =1
BuildReleaseFlag =0
BuildDebugInfo ="build debug--failed"
BuildReleaseInfo =NULL
aBuildFlagList is 1 0
ReturnCode is 1
Run Code Online (Sandbox Code Playgroud)
我求助于将现有解决方案/项目 (VS2008) 转换为 VS2013,并使用创建的 .lib 文件进行链接/构建。
{openh264_dir}\codec\build\win32\enc您可以在和中找到解决方案{openh264_dir}\codec\build\win32\dec。构建解决方案将在以下位置创建 .libs 和 .dlls{openh264_dir}\bin\Win32\Release
要链接到该库,您需要链接到welsenc.lib.
运行时,您的应用程序目录中需要有 和welsenc.dll。welsvp.dll到目前为止,它似乎对我的使用效果很好。我假设构建解码器将是类似的。
| 归档时间: |
|
| 查看次数: |
3116 次 |
| 最近记录: |