我怎么能说Mplayer从特定时间播放视频并在C#中的特定时间停止 [英] How Can I Say Mplayer To play Video From Specific Time And Stop At Specific Time In C#

查看:210
本文介绍了我怎么能说Mplayer从特定时间播放视频并在C#中的特定时间停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何在c#中运行mplayer。

我希望mplayer在特定时间播放视频并在特定时间停止。

I know how to run mplayer in c# .
I want mplayer plays video from specific time and stop at specific time.

推荐答案

在这里解决: C#中的简单Mplayer前端 byUmair Amin

将-ss 10 -endpos 56添加到args变量

在示例中更改此行

args + = - vo direct3d,-ao dsound -wid;

to

args + = - vo direct3d,-ao dsound -ss = 10 --epospos = 56 -wid;
is solved here : Simple Mplayer Front End in C# by "Umair Amin"
add "-ss 10 -endpos 56" to args variable
In example change this line
args += " -vo direct3d, -ao dsound -wid ";
to
args += " -vo direct3d, -ao dsound -ss=10 --endpos=56 -wid ";


这篇关于我怎么能说Mplayer从特定时间播放视频并在C#中的特定时间停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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