Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwsh BuildWindows.ps1 error #3

Open
jzp-oos opened this issue May 24, 2022 · 8 comments
Open

pwsh BuildWindows.ps1 error #3

jzp-oos opened this issue May 24, 2022 · 8 comments
Assignees
Labels
question Further information is requested

Comments

@jzp-oos
Copy link

jzp-oos commented May 24, 2022

Build OpenH264DotNet.Native [x64] for cpu
Reset modification of G:\OpenH264DotNet-main\src\openh264
error: pathspec '.' did not match any file(s) known to git
系统找不到指定的路径。
cmake -G "Visual Studio 16 2019" -A x64 -T host=x64
-D OpenH264_DIR="G:\OpenH264DotNet-main\src\openh264"
..
CMake Error: Error: generator : Visual Studio 16 2019
Does not match the generator used previously: Visual Studio 17 2022
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
CMake Error:
Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.

@takuya-takeuchi
Copy link
Owner

@jzp-oos
Did you execute git submodule update --init --recursive to get rc\openh264?
And you can modify BuildWindows.ps1 to use VS 2022.
Thanks.

@takuya-takeuchi takuya-takeuchi self-assigned this May 25, 2022
@takuya-takeuchi takuya-takeuchi added the question Further information is requested label May 25, 2022
@jzp-oos
Copy link
Author

jzp-oos commented May 26, 2022

@jzp-oos 你执行了rc\openh264吗?您可以修改BuildWindows.ps1以使用VS 2022。 谢谢。git submodule update --init --recursive

解决了

@jzp-oos
Copy link
Author

jzp-oos commented May 26, 2022

@jzp-oos 你执行了rc\openh264吗?您可以修改BuildWindows.ps1以使用VS 2022。 谢谢。git submodule update --init --recursive

请问支持多线程解码吗 开多个线程解码cpu满了

@takuya-takeuchi
Copy link
Owner

@jzp-oos

请问支持多线程解码吗 开多个线程解码cpu满了
Does it support multi-threaded decoding? Open multiple threads to decode and the cpu is full

I don't know because it depends on implementation of openh264 libs.
But it could be 'no'.
Because openh264 repo says (https://github.com/cisco/openh264#encoder-features) that encoder support multi threads but decoder does not say anything.

@jzp-oos
Copy link
Author

jzp-oos commented May 26, 2022

@jzp-oos

请问支持多线程解码吗 开多个线程解码cpu满了
Does it support multi-threaded decoding? Open multiple threads to decode and the cpu is full

I don't know because it depends on implementation of openh264 libs. But it could be 'no'. Because openh264 repo says (https://github.com/cisco/openh264#encoder-features) that encoder support multi threads but decoder does not say anything.

DecodingParam里CpuLoad EcActiveIdc这2个参数有何作用

@takuya-takeuchi
Copy link
Owner

@jzp-oos

DecodingParam里CpuLoad EcActiveIdc这2个参数有何作用
What are the functions of the two parameters CpuLoad EcActiveIdc in DecodingParam

There is no useful document for openh264 so we have to read source code.

CpuLoad
DecodingParam.CpuLoad corresponds to https://github.com/cisco/openh264/blob/fac04ceb3e966f613ed17e98178e9d690280bba6/codec/api/svc/codec_app_def.h#L606
And unit test program uses this parameter in https://github.com/cisco/openh264/blob/6584567029f8899d5375333228a77517ba0c2b3b/test/decoder/DecUT_DecExt.cpp#L90

I guess we may be able to control usage of cpu by passing but I'm not sure that parameter meaning.

@jzp-oos
Copy link
Author

jzp-oos commented May 27, 2022

@jzp-oos

DecodingParam里CpuLoad EcActiveIdc这2个参数有何作用
What are the functions of the two parameters CpuLoad EcActiveIdc in DecodingParam

There is no useful document for openh264 so we have to read source code.

CpuLoad
DecodingParam.CpuLoad corresponds to https://github.com/cisco/openh264/blob/fac04ceb3e966f613ed17e98178e9d690280bba6/codec/api/svc/codec_app_def.h#L606
And unit test program uses this parameter in https://github.com/cisco/openh264/blob/6584567029f8899d5375333228a77517ba0c2b3b/test/decoder/DecUT_DecExt.cpp#L90

I guess we may be able to control usage of cpu by passing but I'm not sure that parameter meaning.

请问下我拿到的yuv3个分量 怎么合并成一个 我需要yuv的byte[] ToBitmap方法里面

@jzp-oos
Copy link
Author

jzp-oos commented May 27, 2022

@jzp-oos

DecodingParam里CpuLoad EcActiveIdc这2个参数有何作用
What are the functions of the two parameters CpuLoad EcActiveIdc in DecodingParam

There is no useful document for openh264 so we have to read source code.

CpuLoad
DecodingParam.CpuLoad corresponds to https://github.com/cisco/openh264/blob/fac04ceb3e966f613ed17e98178e9d690280bba6/codec/api/svc/codec_app_def.h#L606
And unit test program uses this parameter in https://github.com/cisco/openh264/blob/6584567029f8899d5375333228a77517ba0c2b3b/test/decoder/DecUT_DecExt.cpp#L90

I guess we may be able to control usage of cpu by passing but I'm not sure that parameter meaning.

请问下我拿到的yuv3个分量 怎么合并成一个 我需要yuv的byte[] ToBitmap方法里面

可以帮忙解决下么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants