a music playback player build on Qt 5 & Qt Quick 2.x & libvlc
- Local media playback control (play/pause/resume/stop/previous/next/shuffle)
- Read local media metadata (Title/Artist/Album/Genre...)
- Network media playback (TODO)
- Support playlist control
- Playlist playback mode:
- Item once
- Item repeat
- Sequential
- Loop
- Random
- Heartbeat (TODO)
- TODO: playlist save and load
- Playlist playback mode:
- Audio volume control
- Audio visualization (TODO)
- Audio output format (TODO)
- Lyric (TODO)
- Media library (TODO)
- Support formats depend on libvlc
- Qt 5.12.0 or later
- Qt Quick 2.0 or later
- Libvlc 3.0 or later
-
Download libvlc library (http://ftp.gnome.org/mirror/videolan.org/vlc/last/) Invalid
-
Download libvlc library (http://ftp.gnome.org/mirror/videolan.org/vlc/last/)
-
Windows:
-
unzip if you download zip package, install if you download the execute package.
-
copy
lib
andinclude
folder to3rdparty/vlc/
.- declare
typedef __int64 ssize_t;
invlc.h
file if you compile on x64. change#include <vlc/xxx.h>
to#include <xxx.h>
(removevlc/
) if could not find header files.
- declare
-
copy dynamic link library (dll) files and
plugins
to{project}/bin
path (the build path)Folder tree like:
mcplayer | +--bin | | | +--plugins | +--libvlc.dll | +--libvlccore.dll | +--mcplayer.exe | +--src +--mcplayer.pro
-
open the
mcplayer.pro
with Qt Creator -
build and run
-
-
Mac:
TODO
-
Linux:
TODO
-
How to add media file?
Drag and Drop Media files to the main window. click the
play
button.
Copyright © Yuri Young [email protected]