Comments (36)
额,您确认要用这个么?
我在Ubuntu 14.04下使用VLC有各种各样的bug。我们发现VLC好像根本没使用libVLC,猜测libVLC是VLC的一个封装。所以最后这个模块被放弃了,但是代码还是留在了那里。
from mu.
libVLC是VLC的一个封装, 没有问题呢
mu还没有禁用视频输出所以播放视频文件还会跳出视频窗口哦
from mu.
我在Ubuntu下运行效率非常低,虽然可以运行但是有各种各样的bug。例如播放歌曲后需要等待的时间特别长。
VLC的依赖已经在包管理器的管理之内了。所以没有问题。
from mu.
我这儿到没有bug, 不过vlc确实不支持crossfade, 相比之下ffmpeg会好些
from mu.
FFMpeg只能用于解码不能用于播放。
我们确实有后期转为FFMpeg解码然后使用OpenAL或者SDL输出的计划。
from mu.
您如果愿意帮助我们完善一下VLC的话,可以向我们提交pull request。我们会测试之后考虑继续维护VLC后端的。
from mu.
crossfade这个特性bass也没有支持。
from mu.
bass在linux下输出到ALSA也不太友好
VLC后端就一个时长显示的bug, 其他要用一段时间等vlc或者qt库更新之后才知道
话说时长信息怎么实现的
from mu.
时长信息是直接从bass解析之后读取出来的。
from mu.
bass在我这里虚拟机下工作确实很不流畅。
不过VLC在Windows、Mac OS X下工作效果不如bass,而且bass在Windows下还有AISO插件。这也是我们最后选择bass而放弃VLC的原因。
from mu.
所以vlc后端就没有时长了?
from mu.
VLC后端用了会有时长,但是您需要先禁用bass。
from mu.
可是编译的时候就禁用bass了啊
from mu.
ldd mu |grep bass显示编译结果已经与bass无关了
from mu.
我也写了VLC的音频信息读取模块,可能是因为很久没维护了的原因信息输出的有问题了。
from mu.
禁用bass后信息由FFMpeg解析后提供的。
from mu.
求代码位置
from mu.
/src/plugin/module/knmusicplugin/knmusicplugin.cpp 里面。
400行:
#ifdef ENABLE_FFMPEG
parser->installAnalysiser(new KNMusicFFMpegAnalysiser);
#endif
from mu.
我在Ubuntu下重新使用VLC编译了一遍,是有时间的。
from mu.
from mu.
额..得启用ffmpeg吗
from mu.
是的,我没有把VLC作为音频解析的一部分。
from mu.
改成只用vlc的媒体信息读写行吗
from mu.
额,我没写VLC的解析类,您稍等一下。
from mu.
关闭VLC视频输出:
knmusicvlcglobal.cpp
35a36,39
>
> static const char* const vlc_opt [] = {
> "--vout=dummy"
> };
37c41
< m_vlcInstance=libvlc_new(0, nullptr);
---
> m_vlcInstance=libvlc_new(sizeof vlc_opt / sizeof *vlc_opt, vlc_opt);
from mu.
我想起来我们之前为何放弃VLC了。
在我们这里首先VLC在解析MP3信息的时候不能获取比特率,而在读取FLAC的时候不能返回采样率。
而且会不定期出现当音乐停止播放的时候无法发出停止信号的问题。
所以我们最后放弃VLC了。
from mu.
我们后来重新使用FFMpeg也是为了弥补VLC的这个问题,最后还是没有效果。又切换回了bass。
from mu.
这样...还不如用全套ffmpeg..
from mu.
FFMpeg只能用来解码不能输出。
from mu.
我们已经考虑在不同平台上使用不同的输出了。Linux下的bass我们很早就觉得不是很好的解决方案了。考虑切换到Phonon。
from mu.
ffmpeg有ffplay啊
比如 https://github.com/anarsoul/libffplay
from mu.
ffplay是ffmpeg和sdl合在一起的产物。我们更倾向使用一个播放框架,这样输出和解码能够分开。
from mu.
可是用libvlc就是无法分开了的吧
from mu.
libvlc自身是可以进行配置的,这个取决于您如何设置VLC了。
from mu.
那还是看你的选择吧
from mu.
好的,谢谢您的关注!欢迎随时反馈您的任何问题或需求。
from mu.
Related Issues (20)
- 更多歌词源 HOT 19
- Musixmatch 歌词源 HOT 5
- Translation file location(翻译文件位置) HOT 13
- 在Ubuntu 16.4下運行。。會導致其他應用變卡 HOT 13
- Windows 10 无法登陆 Kreogist 账户/Windows 10 cannot log in to Kreogist Account HOT 3
- 下载歌词将会继续播放/The music will resume playing when downloading music HOT 1
- 强制退出后无法再次启动 / Force quit cannot launch again HOT 1
- 在 Backbox 上无法设置头像 / Cannot set avatar on Backbox HOT 3
- 同时添加 .cue 和对应音频文件的时候,忽略 .cue 对应的那个源文件 HOT 2
- 希望添加媒体库和智能播放列表功能 HOT 7
- 前来问候 HOT 1
- 批量下载歌词 / Batch lyrics download
- Would reset system volume when switching songs on Linux HOT 3
- Ubuntu 16.04 下高CPU占用 / High CPU usage on Ubuntu 16.04 HOT 1
- Translation .qm files not built by default HOT 3
- 更现代的GUI HOT 3
- Crash on macOS HOT 10
- PPA需更新 HOT 2
- Opus HOT 2
- win10系统mu无法使用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mu.