播放DVD并在WPF中剪切视频 [英] Play DVD and cut a Video in WPF

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

问题描述

大家好,
1)您知道是否可以在MediaElement控件中播放DVD吗?否则,您是否可以建议我其他方法(例如将DVD转换为受支持的视频格式).
2)您知道如何剪切视频片段并将其保存吗?

对不起,我的英语:)

Hi guys,
1) Do you know if is it possible to play a Dvd in a MediaElement Control? Otherwise do you can suggest me for another way(like to convert the Dvd in a supported video format).
2) Do you know how to cut a video fragment and save it?

Sorry for my English :)

推荐答案

媒体元素"控件是无法缓解的灾难.我们已经尝试过多次使用它,但是还没有准备好黄金时间.相反,您应该编写一个包装Windows Media Player控件的控件.这样做之后,您就可以播放DVD,尽管当然需要在目标计算机上安装DVD编解码器.

剪切视频片段不是WPF的任务,没有关于它的WPF的具体说明.可能会发生,您是要确定已经存在的视频文件,还是要从DVD翻录视频?

您的英语很好.
The Media Element control is an unmitigated disaster. We''ve tried to use it several times and it is just not ready for prime time. Instead, you should write a control that wraps the windows media player control. Having done that, you should be able to play DVDs, although of course the DVD codecs will need to be installed on the target computer.

Cutting a video fragment is not a WPF task, there''s nothing WPF specific about it. It is possible to do, are you meaning a video file you already have, or are you looking to rip the video from the DVD ?

Your english is fine.


克里斯蒂安,
感谢您的回答.

我需要剪切一个通用视频文件,并将此片段保存在另一个文件中.例如,如果我有一个足球比赛的视频(MilanvsBarcellona.avi),我应该可以剪切一个包含目标的片段并将其保存在新文件中. (MessiGoal.avi)

关于DVD播放的问题,您是否知道是否可以将DVD转换为可播放的(通过MediaElement格式)?

iao!
Hi Christian,
Thanks for your answer.

I need to cut a generic video file and save this fragment in another file. For example, if I had a video of a soccer game (MilanvsBarcellona.avi) I should be able to cut a fragment that contains a goal and save it in a new file. (MessiGoal.avi)

Regarding the issue of the Dvd playback, do you know if is possible transform the dvd in a playable (by the MediaElement) format?

Ciao!


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

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