Comments (6)
Hello. Thank you for your question.
-
How to use x64 platform.
Build 'OpenH264Lib' project as x64 platform. -
How to use AnyCPU.
OpenH264Lib is C++/CLI project (not .NET), so platform is x86 or x68 only, you can't select AnyCPU.
In my understanding, only .NET language (C#, VB, etc) can select AnyCPU. -
βcodec_api.hβ: No such file or directory
I don't know why this error reported.
If you first use this project, please follow 'See Example' procedure in README.md.
If you still have problems, could you tell me your situation in more detail
from openh264lib.net.
I selected Release platform, and build OpenH264Lib, failed.
Severity Code Description Project File Line Suppression State
Error (active) E1696 cannot open source file "codec_api.h" OpenH264Lib C:\Users\a4428\source\repos\OpenH264Lib.NET\OpenH264Lib\Stdafx.h 8
Error (active) E1696 cannot open source file "codec_app_def.h" OpenH264Lib C:\Users\a4428\source\repos\OpenH264Lib.NET\OpenH264Lib\Stdafx.h 9
Error (active) E1696 cannot open source file "codec_def.h" OpenH264Lib C:\Users\a4428\source\repos\OpenH264Lib.NET\OpenH264Lib\Stdafx.h 10
Error (active) E1696 cannot open source file "codec_ver.h" OpenH264Lib C:\Users\a4428\source\repos\OpenH264Lib.NET\OpenH264Lib\Stdafx.h 11
Error C1083 Cannot open include file: 'codec_api.h': No such file or directory OpenH264Lib C:\Users\a4428\Source\Repos\OpenH264Lib.NET\OpenH264Lib\stdafx.h 8
Only Debug|x86 can success.
from openh264lib.net.
Or, Can you publish a repository Release pack? include release x86 and x64 OpenH264Lib dll.
from openh264lib.net.
Oh, I understand your problem.
I will fix the problem within a few days. If you do yourself,
open OpenH264Lib's property page (not OpenH264Sample), and
configure C/C++ -> General -> 'Additional Include Directories' with
$(ProjectDir)\OpenH264Header\
from openh264lib.net.
For my project:
I add a reference for OpenH264Lib.dll, copy openh264-2.0.0-win32.dll to bin/x86/debug.
throw an exception, how to use it?
Failed to load file or assembly "OpenH264Lib, Version = 1.0.7159.35179, Culture = neutral, PublicKeyToken = null" or one of its dependencies. Attempt to load an executable file that cannot be validated using link address information (IAT with more than two sections or one TLS section). (Exceptions from HRESULT: 0x80131019)
Yeah, fixed it. I used Cosutura.Fody, caused this exception. exclude OpenH264Lib in FodyWeavers.xml
from openh264lib.net.
Hello. I fixed the problem that can not be able to make Release build.
I have never used Costura.Fody, I can not answer the reason why Exception happened.
I'm sorry.
from openh264lib.net.
Related Issues (18)
- timestamp argument in Encode function HOT 6
- Decoder Samples HOT 2
- Encoded video play speed(frame interval) seems depended on fps. HOT 2
- H264 Stream freezes when generating IDR Frames HOT 2
- Unable to play H264 Stream from Ambarella Camera HOT 1
- Repetition in Metadata
- "Could not load file or assembly 'OpenH264Lib.dll' or one of it's dependencies" message on Win 10 vbox/vmware HOT 5
- How to get more then one layer onEncode? Is it possible? HOT 7
- RGB to YUV420 mistake HOT 1
- can not decode frame if I use cisco's openh264 dll version 2.1.0 or later. HOT 2
- Thanks ~!~! Mr.secile HOT 1
- Using this library to decode h264 parsed from a multipart/x-mixed-replace stream
- Missing dll HOT 3
- Exception thrown: 'System.IO.FileNotFoundException' HOT 5
- How to display frames(I,P,B) HOT 1
- Lib can work with .h264 file or .h265 (hevc) ? HOT 2
- Decode method returns null image HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openh264lib.net.