EmguFFmpeg icon indicating copy to clipboard operation
EmguFFmpeg copied to clipboard

VideoChromekeyFilter not working

Open HEBOS opened this issue 5 years ago • 2 comments

Hi,

I've noticed that VideoChromekeyFilter is failing to produce any video. It seems that ReadFrame in MediaFilterContext keeps on returning AVERROR.

PngChromekeyFilter, and all other classes which don't use "complex_filter" behave correctly.

Any help is appreciated. Thanks

HEBOS avatar Jul 29 '20 13:07 HEBOS

Hi,

I've noticed that VideoChromekeyFilter is failing to produce any video. It seems that ReadFrame in MediaFilterContext keeps on returning AVERROR.

PngChromekeyFilter, and all other classes which don't use "complex_filter" behave correctly.

Any help is appreciated. Thanks

It works fine on my computer.

The first video channel for each input video is used by default. But the format of the video is complex, and I've found that sometimes ffmpeg's processing of channel types is not completely accurate and needs to be judged in conjunction with other parameters. If you can, please send me your test video, thank you.

IOL0ol1 avatar Jul 29 '20 14:07 IOL0ol1

Here you are. Thanks.

HEBOS avatar Jul 29 '20 16:07 HEBOS