从视频文件中提取 wav 文件 [英] Extract wav file from video file

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

问题描述

我正在开发一个应用程序,我需要在其中从视频中提取音频.音频需要以 .wav 格式提取,但我对视频格式没有问题.任何格式都可以,只要我能在 wav 文件中提取音频.

I am developing an application in which I need to extract the audio from a video. The audio needs to be extracted in .wav format but I do not have a problem with the video format. Any format will do, as long as I can extract the audio in a wav file.

目前我正在使用 Windows 窗体中的 Windows Media Player COM 控件来播放视频,但任何其他嵌入式播放器也可以.

Currently I am using Windows Media Player COM control in a windows form to play the videos, but any other embedded player will do as well.

关于如何做到这一点的任何建议?谢谢

Any suggestions on how to do this? Thanks

推荐答案

这是一个关于如何使用 GraphEdit 提取音频的链接,GraphEdit 是 DirectShow API 所以它可以做的一切你都可以用 API 做.
您可以使用 DirectShow.NET 自由,它为托管世界包装了 DirectShow API.

Here is a link on how to extract audio using GraphEdit, GraphEdit is an front end UI for the DirectShow API so everything it can do you can do with API.
You can use the DirectShow.NET liberty which wraps the DirectShow API for the managed world.

这篇关于从视频文件中提取 wav 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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