它如何切割音乐的声音 [英] how it Cutting the sound for music

查看:88
本文介绍了它如何切割音乐的声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

如何切割音乐的声音(代码C#或Java或......)


how it Cutting the sound for music (code C# or Java or ...)

推荐答案

这取决于你必须使用什么媒体容器和压缩算法(你需要使用的编解码器,MPEG-4 / AAC,MPEG-3,WMA)。如果你需要一些可以做到这一点的通用的东西,我会建议使用开源库或实用程序FFmpeg或libavcodec: http:/ /en.wikipedia.org/wiki/Ffmpeg [ ^ ],

http://ffmpeg.org/ [ ^ ],

http://en.wikipedia.org/wiki/Libavcodec [ ^ ],

http://libav.org/ [ ^ ]。



如需了解更多信息,请参阅我过去的答案:如何使用Directshow修剪视频! ? [ ^ ]。 />


您可以使用.NET Process 之一或其中一个包装器来使用该库,如上面引用的帖子,或者自己使用.NET P / Invoke,或者使用JNI for Java。



-SA
It depends on what media container and compression algorithm (codec you need to use, MPEG-4/AAC, MPEG-3, WMA) you have to use. If you need something really universal which can do it all, I would advise to use open-source library or utility FFmpeg or libavcodec: http://en.wikipedia.org/wiki/Ffmpeg[^],
http://ffmpeg.org/[^],
http://en.wikipedia.org/wiki/Libavcodec[^],
http://libav.org/[^].

For further information, please see my past answer: How to trim the video using Directshow!?[^].

You can use one of the .NET Process or one of the wrapper to use the library, as explained in the post referenced above, or use .NET P/Invoke yourself, or JNI for Java.

—SA

这篇关于它如何切割音乐的声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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