Skip to content

Assertion desc failed at libswscale\swscale_internal.h #16

@Kanni1021

Description

@Kanni1021

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions