Skip to content

Frechdachs/mpc-qt

 
 

Repository files navigation

Media Player Classic Qute Theater

A clone of Media Player Classic reimplimented in Qt. (screenshot)

Media Player Classic Home Cinema (mpc-hc) is considered by many to be the quintessential media player for the Windows desktop. Media Player Classic Qute Theater (mpc-qt) aims to reproduce most of the interface and functionality of mpc-hc while using libmpv to play video instead of DirectShow.

Releases

There is no RC.

However, if you are willing to compile from source, you may test it out and determine if what works is satisfying for you. If not, please open an issue that may motivate the developer in a helpful direction. There could even be packages in your distro that help with this. (e.g. aur.) See the compiling section below.

Features

Nearly everything that mpc-hc does. For the most part, unwritten portions relate to setting options, streaming from devices, and storing favorites.

Improvements over mpc-hc

Multiple playlists: When you're watching shows on your backlog, load every show into seperate playlists and still keep track of the last played file for each playlist. Finally you can eliminate the need to keep track of your progress in a spreadsheet, all while never leaving the comfort of your favorite media player.

Quick queueing: Out-of-order playback in the same style of xmms/qmmp. Got some compilation albums in a playlist, but want to hear only some rock tracks for a while? Now you can, without obliterating your playlist.

Playlist searching: Multi-threaded playlist searching, in the same style as other media players. Find the tracks you want, when you want them.

Screenshot templates: Take screenshots with a custom, sleek and stylized filename. Only include the information that you want.

Looped playback: Selectively show part of video/music tracks. Amazing, isn't it?

Custom metadata: Display custom metadata in the playlist window. Want to show the artist as well as the title, down to even the encoder used? Nothing is stopping you.

Upcoming features

Native filter-chain support: Comprehensive integration of mpv/ffmpeg's filter interface/library, right inside your media player.

Encoding support like VirtualDub: Churn out memes faster. No need to open a video editor when your media player can do your job for you.

Race Inspired Cosmetic Enhancements: In-app custom styling support.

Suggestions welcome.

Compiling

Prerequisites

You need the Qt5 sdk installed and a recent edition of libmpv. On ubuntu you can usually install the Qt5 sdk with the ubuntu-sdk or qtcreator packages. You will need to compile libmpv from git head or at least version 0.18.0 with the --enable-libmpv-shared option. Make sure ldconfig is run after compiling libmpv, or you may end up with linker errors.

I don't know git, how do I do this?

You'll have to perform a little bit of footwork beforehand. What you're going to do is make a directory for this repo to sit in, and then compile it.

First ensure you have the prequisites as mentioned above, then open a terminal and cd into your general source-code directory. If one does not exist, mkdir one.

mkdir src

cd ~/src

Then, make a directory to checkout this git into, and cd into that.

mkdir mpc-qt

cd mpc-qt

At this stage you can clone this git repository using the following command:

git clone https://github.com/cmdrkotori/mpc-qt.git

Finally, cd into the checked-out repository and run qtcreator.

cd mpc-qt

qtcreator mpc-qt.pro

Use qtcreator's suggested build setup and click "Configure Project", then press the big green arrow button in the bottom-left corner. After this, the executable should be in ~/src/mpc-qt/build-mpc-qt....

Now you can create a desktop entry with the provided script, for the purposes of sticking a shortcut to mpc-qt on your desktop. (requires Python 3.)

./generate-localinstall-desktop.py

This will search the filesystem for the needed binaries and create the file Media Player Classic Qute Theater.desktop, a usuable .desktop file, even if you forgot to (or can't) run ldconfig.

You're done! Later on, performing a git pull from inside the source code directory will get the latest changes.

git pull origin master

Then in Qt Creator, select Build->Rebuild All, and run mpc-qt as you were. Do this regularly to keep your local build up to date.

Compiling on Windows

While this program is meant for Linux, it is possible to compile it on Windows with the MSYS2 edition of Qt Creator due to the largely cross-platform Qt toolkit. MSVC is not supported.

Mpc-Qt can be compiled with a libmpv linked to MSYS2's ffmpeg libraries, or by using the prebuilt library from mpv.srsfckn.biz. To use the prebuilt library after cloning this repository, download libmpv from the mpv windows release page, and extract it somewhere. Place the libaries for your architechture from mpv-dev.7z (e.g. mpv-dev.7z/64) into mpv-dev/lib. Then place the include files from mpv-dev.7z (usually at mpv-dev.zip/include) into mpv-dev/include/mpv. Compile with the 64bit Qt framework as usual.

About

Media Player Classic Qute Theater

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.7%
  • HTML 2.5%
  • Other 0.8%