Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
公告
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3085 讨论

How to realize the screen capture for extended screen by VGA using MSDK

lin_z_
初学者
931 次查看

Dear Sir

I want to capure the screen extened by the VGA cable connected my laptop.

I use the sample code provided by Intel, and use the sample of decode.When I use the parameter of MFX_CODEC_CAPTURE as my input videotype.

I have sucessfuly to get the screen capture of the laptop main screen, but I have test a lot also failed to capture the extend screen which is connected the laptop by VGA cable.

Although I have changed the parameter of screen-width and screen-height to cover that extend screen, finally that extend area is still black in decode YUV result.

Can you help me out?

thank you!

0 项奖励
1 解答
Ramashankar
新分销商 III
931 次查看

Hi Lin z.

I am also looking for this feature from long time, but as much I have explored, IMSDK doesn't support capture of secondary/extended screen. Don't know why.

I had one interesting observation last time that, if you set your extended screen as primary display by using Intel Graphics card manager (NOT by using Windows control panel setting), then plugin will start capturing this new primary screen rect (which was extended screen earlier). 

So plugin is able to access all screen content (rect) internally but somehow its exposing to user only the one screen content.

I am expecting from Intel to provide this support as early as they can.

Thanks,

在原帖中查看解决方案

0 项奖励
3 回复数
Ramashankar
新分销商 III
932 次查看

Hi Lin z.

I am also looking for this feature from long time, but as much I have explored, IMSDK doesn't support capture of secondary/extended screen. Don't know why.

I had one interesting observation last time that, if you set your extended screen as primary display by using Intel Graphics card manager (NOT by using Windows control panel setting), then plugin will start capturing this new primary screen rect (which was extended screen earlier). 

So plugin is able to access all screen content (rect) internally but somehow its exposing to user only the one screen content.

I am expecting from Intel to provide this support as early as they can.

Thanks,

0 项奖励
lin_z_
初学者
931 次查看

Hi,Ramashankar

I have done this task by other method.Frankly speaking, finally I use GDI and FFMPEG to decode the all screen captrued, then encode this YUV frame by the MSDK encoder. It works very well.

But I also expect Intel to provide this support as they can.

Thanks

 

Ramashankar wrote:

Hi Lin z.

I am also looking for this feature from long time, but as much I have explored, IMSDK doesn't support capture of secondary/extended screen. Don't know why.

I had one interesting observation last time that, if you set your extended screen as primary display by using Intel Graphics card manager (NOT by using Windows control panel setting), then plugin will start capturing this new primary screen rect (which was extended screen earlier). 

So plugin is able to access all screen content (rect) internally but somehow its exposing to user only the one screen content.

I am expecting from Intel to provide this support as early as they can.

Thanks,

0 项奖励
Ramashankar
新分销商 III
931 次查看

Hi Lin,

Yes, as an alternative to Intel hw accelerated screen capture, you can use Microsoft's GDI or Desktop Duplication APIs for capturing primary and extended screens both. Desktop Duplication APIs are faster but they are available from Windows 8 onward only.

Thanks,

0 项奖励
回复