使用visual b剪切视频有很简单的方法吗?请帮助我,我是一个编程的新手.. [英] There is very easy way to cut a video using visual b? Please help me, im a newbie in programming ..
问题描述
使用visual b?非常简单的方法来剪切视频?请帮助我,我是一个编程的新手..
我尝试过:
无,我不尝试任何因为我不知道我能做什么,
我只是一个新手,我想我需要一个关于切割视频的简单代码...
没有。视频剪切在任何语言中都是一项复杂的工作 - 您最好使用外部程序,例如ffmpeg,它将通过Process.Start为您完成并提供命令行参数:
< pre lang =VB> Process.Start( PathToExeFile\ffmpeg.exe, - sameq -t 60 -i InputFile.avi OutputFile.avi)将例如,将它修剪到第一分钟。
你可以在这里获得ffmpeg:下载FFmpeg [ ^ ]并在此处描述命令行开关:ffmpeg文档 [ ^ ]但不要指望这是微不足道的阅读!
您可能还需要在您的计算机上安装编解码器包让它全部工作。
There is very easy way to cut a video using visual b?? please help me, im a newbie in programming ..
What I have tried:
none , i dont try any because i dont know what can i do,
im only a newbie and i think i need a simple code about cutting a video...
No. Video "cutting" is a complicated job in any language - you are best off to use an external program such as ffmpeg which will do it for you via Process.Start and providing the command line arguments:
Process.Start("PathToExeFile\ffmpeg.exe", "-sameq -t 60 -i InputFile.avi OutputFile.avi")will trim it to the first minute for example.
You can get ffmpeg here: Download FFmpeg[^] and the command line switches are described here: ffmpeg Documentation[^] but don't expect this to be trivial reading!
You may also need to install a codec pack on your computer to get it all to work.
这篇关于使用visual b剪切视频有很简单的方法吗?请帮助我,我是一个编程的新手..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!