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

Assertion desc failed at libswscale\swscale_internal.h #16

Open
Kanni1021 opened this issue Mar 22, 2024 · 0 comments
Open

Assertion desc failed at libswscale\swscale_internal.h #16

Kanni1021 opened this issue Mar 22, 2024 · 0 comments

Comments

@Kanni1021
Copy link

Hi,

Assertion desc failed at C:\Users\Admin\path\FFmpegInterop\ffmpeg\libswscale\swscale_internal.h:677

I’m facing this runtime error while I try to record my screen in windows.

I changed the code as follows

pAVInputFormat = av_find_input_format("gdigrab");

const char* devicename = "desktop";
value = avformat_open_input(&pAVFormatContext, devicename, pAVInputFormat, NULL);

If I use “dshow” & devicename = “video=HP TrueVision HD Camera”. I’m able to record with camera. But I would like to record my screen.

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

No branches or pull requests

1 participant