在没有WMP的情况下在vb.net中流式传输音乐文件 [英] Streaming music files in vb.net without WMP

查看:106
本文介绍了在没有WMP的情况下在vb.net中流式传输音乐文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Windows Media Player控件传输音乐文件,但是我遇到了缓冲问题,控件允许我清理,显示总时间/当前时间,以及播放,暂停和更改音量。我正在寻找另一个执行类似工作的控件,但更改缓冲设置的方法会很棒。那里有类似的东西吗?

解决方案

另一种选择是开源VLC:

http://en.wikipedia.org/wiki/VLC_media_player [ ^ ]。



对于VLC API或VLC控件的.NET包装,请参阅这些CodeProject文章:

nVLC [ ^ ],

LiquidVideo,随处播放VLC C#.NET VideoLan视频 [ ^ ]。



对不起,我只是不知道关于访问缓冲,但你可以弄清楚或询问这些文章的作者。 VLC播放器本身不是很容易使用,但功能非常强大。重要的是,它基于非常强大和轻量级的FFmpeg,所以你可能有一个很好的改变来得到你需要的东西:

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

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

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

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



祝你好运,

-SA


这是关于.NET的VLC组件绑定的更新有用信息:

http://sourceforge.net/projects/libvlcnet/ [ ^ ],

https://wiki.videolan.org/C_Sharp/ [ ^ ],

https://wiki.videolan.org/.Net_Interface_to_VLC/ [ ^ ]。



值得注意的是,您可以找到使用该组件的材料WPF和 System.Windows.Forms



-SA

I'm currently streaming music files using the Windows Media Player control but am having buffering problems, the controls allows me to scrub, display total / current time, and play, pause and change volume. I'm looking for another control that does a similar job but a way to change the buffering settings would be great. Is there anything like that out there?

解决方案

Another option is open-source VLC:
http://en.wikipedia.org/wiki/VLC_media_player[^].

For a .NET wrapper of VLC API or VLC control, please see these CodeProject articles:
nVLC[^],
LiquidVideo, Play Video Anywhere with VLC C# .NET VideoLan[^].

Sorry, I just don't know about access buffering, but you can figure out or ask the author of these articles. The VLC player itself is not very easy to use, but it is very powerful. Importantly, it is based on the very powerful and light-weight FFmpeg, so you probably have a good change to get what you need:
http://en.wikipedia.org/wiki/Ffmpeg[^],
http://en.wikipedia.org/wiki/Libavcodec[^],
http://libav.org/[^],
http://ffmpeg.org/[^].

Good luck,
—SA


This is the updated useful information on the VLC component binding for.NET:
http://sourceforge.net/projects/libvlcnet/[^],
https://wiki.videolan.org/C_Sharp/[^],
https://wiki.videolan.org/.Net_Interface_to_VLC/[^].

Notably, you can find material for using the component for both WPF and System.Windows.Forms.

—SA


这篇关于在没有WMP的情况下在vb.net中流式传输音乐文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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