缩放/放大DVD视频 [英] Zooming/Magnifying DVD video

查看:156
本文介绍了缩放/放大DVD视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

这是我的第一篇文章,也是一件很复杂的文章!

我与患有严重残疾的孩子一起工作,并正在尝试开发一些软件,使他们能够在基于MS XP PC的硬件上自己播放和浏览DVD(合法地翻录到硬盘上).这将涉及缩放/放大DVD菜单区域,以便他们可以直接准确地选择DVD菜单选项.

到目前为止,我的3种方法(失败)是:

1.使用MSWebDVD组件,但这需要连接包含DVD的DVD驱动器,并且该软件需要在其上运行的平台没有/没有光盘驱动器.

2.使用Windows Media Player组件,然后尝试捕获屏幕区域,然后对其进行缩放/放大,但这似乎不适用于视频–我只是得到一个空心图像(我相信这是要做的事情DirectX和叠加层,但目前我还不了解所有这些.)

3.使用Windows Media Player组件并将组件的大小调整为屏幕区域之外的尺寸(从而缩放视频),但是WMP似乎将视频的大小调整为回到屏幕区域之内或保持相同的大小,但将其随机播放朝右上角.

我正在使用WMP在各个平台之间保持一定程度的兼容性(并且是免费的).我还使用K-Lite标准编解码器包在WMP中提供DVD播放功能.

也许我有其他方法可以解决我所缺少的问题?

我花了大量时间进行原型设计和拖网工作,但无法克服这个问题.我真的很感激与此有关的任何帮助.

请提供代码/代码链接(如果可能).我不太担心这种语言-我有Delphi 7和.Net Express 2005& 2008.如果可能的话,我希望使用Delphi/VB.

谢谢

PS规范.目标平台的硬件设置非常低,因此我不想尽可能关闭硬件加速功能.我还试图免费开发它,因此除非它们非常便宜,否则真的买不起额外的组件.

Hi everybody!

This is my first post and quite a complicated one it is too!

I work with children who have severe disabilities and am trying to develop some software that can enable them to play and navigate DVDs themselves (legally ripped to the hard drive) on MS XP PC based hardware. This will involve zooming/magnifying areas of the DVD menus so that they can accurately select DVD menu options directly.

My 3 (failed) approaches so far have been:

1. Using the MSWebDVD component, but this requires a DVD drive containing a DVD to be connected, and the platform that this software needs to run on does not have/cannot have an optical drive.

2. Using the Windows Media Player component and then trying to capture an area of the screen and then zoom/magnify it, but this doesn’t seem to work with video – I just get a hollow image (I believe this is something to do with DirectX and overlays, but I don’t understand all of that at the moment).

3. Using the Windows Media Player component and resizing the component to dimensions outside of the screen area (and thereby zooming the video), but WMP seems to resize the video to back within the screen area or keeps it the same size but shuffles it down towards the right-hand corner.

I’m using WMP to maintain a certain degree of compatibility (and it’s free) across platforms. I’m also using the K-Lite Standard codec pack to provide DVD playback capabilities within WMP.

Maybe there is a different way of looking at this problem that I’m missing?

I have spent a great deal of time prototyping and trawling the net, but can’t overcome this problem. I would really appreciate any help with this.

Please supply code/links to code if possible. I’m not too bothered about the language – I have Delphi 7 and .Net Express 2005 & 2008. I would prefer Delphi/VB if possible.

Thanks

PS The spec. of the target platform is quite low, so I don’t want to have to turn off hardware acceleration if possible. I’m also trying to develop this for free, so can’t really afford to buy extra components unless they are very cheap.

推荐答案

我怀疑这是最主要的可能有效的是WPF(可能是C#或VB.NET).但是,我不确定是否会让您在程序中播放DVD.它有一个可以播放视频的媒体组件,没有理由我看不到为什么您不能使用它来放大视频的某些部分. DVD播放将是您的真正问题.

另一个选择是运行普通的DVD程序并使用外部程序缩放视图,而Windows实际上是该程序的一部分,它是其可访问性工具的一部分.这样的优势是,您更有可能在低配置的计算机上工作,而WPF则不能.
The thing I suspect is most likely to work, is WPF ( which would be C# or VB.NET ). However, I''m not sure it''s going to let you play DVDs inside your program. It has a media component that will play video, and there''s no reason I can see why you couldn''t use it to zoom in to parts of the video. DVD playback is going to be your real issue.

The other option is to run a normal DVD program and use an external program for zooming the view, windows actually comes with such a program as part of it''s accessibility tools. This has the advantage of being more likely to work on your low specced machines, WPF may not.


感谢Christian的快速响应.

WPF看起来不错-我喜欢您的编写自定义动画类"示例-像这样的视频对于放大视频的一部分非常有用.

我还在http://wpfmediakit.codeplex.com/上找到了WPF DVD播放器示例,但还没有机会尝试使某些功能正常运行.我对使用WPF的唯一担心是,我在网上找不到太多有关WPF的信息,并且担心在解决更复杂的技术问题时,没有太多帮助.它还取决于对硬件的要求.我的软件需要使用注视技术(用户只需通过查看设备屏幕来控制软件)就可以在所谓的VOCA(语音输出通信辅助-想起Stephen Hawking的语音设备)上运行.这些往往是非常低的规格. (1.2GHz Celeron)定制的类似平板电脑的设备.而且,它看起来像是另一条陡峭的学习曲线,我有自己的日常工作,女朋友和男友.也要过上适合的生活,但是如果需要学习WPF,我会坚持不懈.


我尝试了很多屏幕截图软件,包括XPs放大镜和屏幕摄像头软件,但除非关闭了硬件加速,否则它们似乎也会受到黑色效果的影响.

有趣的是,我所有的原型都可以在Vista上运行,因此在视频方面一定有所更改.

附言:我无法确定如何回答您的答案,但请保留此问题-希望我做得正确!
Thanks Christian for the very fast response.

WPF looks good - I like your ‘Writing a custom animation class’ example – something like this would be nice for zooming in on parts of the video.

I also found a WPF DVD Player example at http://wpfmediakit.codeplex.com/, but haven’t had chance to try to get something working yet. My only concern with using WPF is that I couldn''t find that much on the net about it and would be concerned that there wouldn''t be that much help available with more complex technical questions/problems. It also depends on how demanding it is upon the hardware. My software needs to run on what’s call a VOCA (Voice Output Communication Aid – think of Stephen Hawking’s speaking device) using eye-gaze technology (user controls software just by looking at the devices screen). These tend to be very low spec. (1.2GHz Celeron) custom built tablet-like devices. Also, it looks like another steep learning curve and I have my day jobs, a girlfriend & a life to fit in too, BUT if learning WPF is what it takes, I will persevere.


I have tried lots of screen shot software including XPs magnifier, and screen cam software, but they also seem to be affected by the black effect, unless hardware acceleration is turned off.

Interestingly, all of my prototypes work on Vista, so something must have changed regarding video.

PS I couldn’t find out how to respond to your answer, but leave this question open – hope I’ve done it correctly!


这篇关于缩放/放大DVD视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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