如何使用DirectShow以全屏模式显示视频!? [英] How to display the video in full screen mode using DirectShow!?

查看:209
本文介绍了如何使用DirectShow以全屏模式显示视频!?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建视频播放器,因为我需要以全屏模式播放视频。我知道有一个名为IVideoWindow的接口,它由put_FullScreenMode()方法组成,用于全屏显示视频。这是在窗口模式下进行的。但我使用无窗口模式,因为没有使用此接口。我在Vmr9中渲染视频我不知道这个渲染器是否支持全屏模式。我知道要将面板大小最大化到屏幕坐标,然后播放视频以使其看起来像FullScreenMode,但我不想最大化面板尺寸,而不是这样做,我需要直接播放视频在整个屏幕上,由IVideoWindow :: put_FullScreenMode方法完成。告诉我是否可以使用VMR9(无窗口模式)全屏播放视频或告诉我任何其他解决方案来实现它!



过滤:

SourceFilter - > VideoDecoder - > VMR9Renderer。



感谢你,

J.SurjithKumar

I am creating the video player,in that i need to play the video in full screen mode. I know there is an interface called IVideoWindow which is consisting of put_FullScreenMode() method which is used to display the video in full screen. This is coming under windowed mode. But i am using windowless mode for that this interface was not used. And am rendering the video in Vmr9 i don''t know whether this renderer supports fullscreenmode. I know to maximize the panel size to the screen coordinates and then play the video in that to get the look like FullScreenMode, but i don''t want to maximize the panel size, rather than doing it, i need to play the video directly onto the full screen like which is done by IVideoWindow::put_FullScreenMode method. Tell me whether i can play the video in fullscreen by using VMR9(Windowless mode) or tell me any other solution to achieve it!.

Filter:
SourceFilter -> VideoDecoder -> VMR9Renderer.

Thanking you,
J.SurjithKumar

推荐答案

更好定义播放器窗口的宽度和高度,然后尝试..?只是一个猜测请让我知道如果这不起作用让我尝试其他选项我的朋友..
better define width and height of the player window and try..? just a guess pls let me know if this doesnt work lets try with other options also my friend..


这篇关于如何使用DirectShow以全屏模式显示视频!?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆