Skip to content
wanofulPublic

About

OpenPot — open-source cross-platform PotPlayer alternative built with Qt 6 and libmpv

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

OpenPot

A free, open-source, cross-platform media player inspired by PotPlayer.

OpenPot is a desktop media player built with Qt 6 and libmpv/FFmpeg. It aims to bring PotPlayer's fast, keyboard-driven playback experience to Linux, Windows and macOS with an honest open-source implementation: one window, a strong playlist, excellent subtitle support, fine-grained audio/video controls and a clean, themeable interface.

OpenPot is an independent project. It contains no PotPlayer code and is not affiliated with Kakao Corp. or the PotPlayer authors. PotPlayer is a trademark of its respective owner.

OpenPot playing a video with subtitles

Highlights

  • Plays almost everything — MKV, MP4, AVI, WebM, TS/M2TS, MOV, FLV, WMV, MP3, FLAC, AAC, Opus, OGG, WAV and virtually every format FFmpeg supports, plus network streams (HTTP, HLS, RTSP, RTMP, UDP, …).
  • Hardware decoding — VAAPI, NVDEC, CUDA, D3D11VA, DXVA2 and VideoToolbox where the OpenGL render backend supports interop, with automatic safe fallback to software decoding (also forced on software OpenGL). Hardware frames are handed to the renderer as planar YUV to avoid NV12 texture corruption on some driver/libmpv combinations.
  • PotPlayer-style controls — click-to-pause, wheel volume/seek, A-B repeat, frame stepping, 0.1×–16× speed, chapters, bookmarks, resume playback, repeat/shuffle modes.
  • Subtitles done properly — SRT, ASS, SSA, VTT, SUB, SUP, SMI and more; automatic sidecar loading, dual subtitles, delay adjustment, full style control and online search via OpenSubtitles.com.
  • Real playlist management — m3u/m3u8/pls/xspf/asx/wpl import/export, drag-and-drop reordering, multi-select removal, shuffle and repeat.
  • Useful extras — PNG/JPEG/WebP screenshots with subtitles, 10-band equalizer, loudness normalisation, audio delay and device selection, brightness/contrast/gamma/saturation/hue, aspect override, zoom, rotate and flip.
  • Five built-in themes, a custom icon set that follows the theme, and a complete settings editor with an editable keyboard map.
  • Cross-platform design — Qt 6 for the interface, libmpv for playback and rendering; the same source builds on Linux, Windows and macOS.
  • Scriptable and automatable — command-line options, a headless --info JSON probe, a single-instance IPC channel that opens files in the running window, and an in-app window capture mode used by the GUI smoke test.

Screenshots

Fullscreen Settings
Fullscreen playback Settings
Equalizer Media information
Equalizer Media information

Screenshots use the Sintel trailer © Blender Foundation, licensed under CC-BY 3.0.

How it compares to PotPlayer

OpenPot covers the core playback workflow. It does not pretend to reproduce every Windows-specific PotPlayer feature; the table is deliberately honest.

Area PotPlayer OpenPot
Playback engine FFmpeg + Windows filters libmpv + FFmpeg ✅
Format coverage Excellent Excellent (same FFmpeg heritage) ✅
Hardware decoding DXVA, CUDA, QuickSync VAAPI, NVDEC, CUDA, D3D11VA, DXVA2, VideoToolbox, software fallback 🟡
Subtitles SRT/ASS/SSA/VTT/SMI/SUP, online search, translation SRT/ASS/SSA/VTT/SUB/SUP/SMI, online search ✅ / translation ❌
Dual subtitles ✅ ✅
Subtitle styling Extensive Font, size, colours, border, shadow, position, ASS override ✅
Playlists m3u/pls/asx/… m3u/m3u8/pls/xspf/asx/wpl ✅
A-B repeat, speed, frame step ✅ ✅ (0.1×–16×)
Bookmarks, favourites, recent, resume ✅ ✅
Screenshots PNG/JPEG/BMP + GIF capture PNG/JPEG/WebP/BMP with subtitles; GIF ❌
Audio equalizer / normalise / delay / device ✅ 10-band EQ, normalise, delay, device ✅
Video adjustments ✅ Brightness, contrast, gamma, saturation, hue, aspect, zoom, rotate, flip, deinterlace ✅
Crop / aspect custom ✅ Aspect presets and stretch; crop UI ❌
Skins .skn skin engine 5 built-in themes, theme-aware icons; .skn ❌
360°/VR/3D ✅ ❌ roadmap
TV / radio / webcam ✅ ❌ roadmap
DVD/Blu-ray menus ✅ Disc URLs play via mpv; menus ❌
Stream recording ✅ ❌ roadmap
Global hotkeys System-wide App-focused hotkeys and media keys ✅ / system-wide ❌
Mini mode ✅ ❌ roadmap
Single instance / CLI ✅ ✅
Multi-instance sync ✅ ❌
Auto-update ✅ ❌
Interface language Many English UI, translation-ready strings 🟡
Platforms Windows Linux, Windows, macOS ✅

The full, lower-level matrix lives in docs/FEATURES.md.

Install

There are no official binary packages yet. Build from source using the instructions below; packaging scripts and CI jobs for Linux, Windows and macOS are included.

Linux (Ubuntu / Debian)

sudo apt install build-essential cmake ninja-build pkg-config \
                 qt6-base-dev libmpv-dev libgl1-mesa-dev
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/openpot

Arch: sudo pacman -S base-devel cmake ninja qt6-base mpv Fedora: sudo dnf install gcc-c++ cmake ninja-build qt6-qtbase-devel mpv-libs-devel

macOS

brew install qt mpv cmake ninja pkg-config
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_PREFIX_PATH="$(brew --prefix qt);$(brew --prefix mpv)"
cmake --build build
open build/OpenPot.app

Windows (MSYS2 CLANG64 shell, recommended)

pacman -S mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-cmake \
          mingw-w64-clang-x86_64-ninja mingw-w64-clang-x86_64-pkgconf \
          mingw-w64-clang-x86_64-qt6-base mingw-w64-clang-x86_64-qt6-svg \
          mingw-w64-clang-x86_64-qt6-tools mingw-w64-clang-x86_64-mpv
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/openpot.exe

Visual Studio users need Qt 6 and a libmpv development package; set MPV_DIR to the directory containing include/mpv and the import library. See docs/BUILD.md for details, packaging and troubleshooting.

For Windows on ARM64, use the MSYS2 CLANGARM64 packages (mingw-w64-clang-aarch64-*). A Linux cross-build script and runtime notes are in packaging/windows/README-arm64.md.

Usage

openpot movie.mkv
openpot --fullscreen --sub movie.srt movie.mkv
openpot --start 90 --speed 1.25 https://example.com/stream.m3u8
openpot --info movie.mkv | jq .          # headless JSON media probe
openpot --new-instance other.mp4          # bypass the single-instance handoff

By default, opening a file while OpenPot is already running sends it to the existing window through a local socket. Files, folders and URLs can be dragged onto the window; dropping onto the playlist appends instead of replacing.

Option Meaning
--fullscreen, -f Start in fullscreen
--speed <factor> Initial playback speed
--volume <percent> Initial volume (0–130)
--start <seconds> Start position
--sub <file> Load an external subtitle
--new-instance Force a new window
--info <file> Print media information as JSON and exit
--capture <file> Save a window screenshot and exit (used by tests/CI)
--capture-delay <ms> Delay before the capture (default 1500 ms)

The complete keyboard map is in docs/SHORTCUTS.md, and every binding can be changed under Settings → Keyboard.

Project layout

src/core/   playback engine (libmpv), playlist, settings, library, subtitles, probing
src/ui/     main window, video surface, controls, playlist dock, dialogs and themes
src/app/    single-instance IPC
tests/      Qt Test unit tests + headless GUI smoke test
docs/       feature matrix, build guide, shortcuts, architecture, roadmap
resources/  desktop entry, application icon, Qt resources
packaging/  AppImage, Windows portable/NSIS and macOS DMG scripts

More detail: docs/ARCHITECTURE.md.

Status and limitations

OpenPot is at 0.9.0 — feature-rich and usable for daily playback, but still a beta.

  • Linux is the reference development platform; the GUI tests and screenshots in this repository were produced on Linux. Windows and macOS build paths and CI jobs are included, but those platforms have had less real-world testing.
  • A Windows 11 ARM64 cross-build script and deployment notes are included. A portable bundle can be produced and statically validated, but it has not been executed on physical ARM64 Windows hardware; use the software-OpenGL launcher if the normal one cannot create a GL context.
  • DRM-protected content (Netflix, etc.) is not supported.
  • PotPlayer's .skn skins, TV/radio, 360°/VR, 3D, webcam capture, mini mode, stream recording, subtitle translation, GIF capture, multi-instance sync and auto-update are not implemented.
  • Online subtitle search requires a free OpenSubtitles.com API key; username/password are optional and only used to raise the download quota.
  • The UI is currently English. All user-visible strings use Qt's translation system, so adding a language does not require touching the player code.

See docs/ROADMAP.md for the planned work.

Building and testing

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure

The test suite contains six Qt Test binaries plus a headless GUI smoke test. The smoke test launches the player under Xvfb, renders a generated clip, captures the window and validates the --info output; it is skipped when Xvfb or FFmpeg is unavailable.

Contributing

Bug reports, platform porting help, translations and feature patches are welcome. Please read CONTRIBUTING.md first and run the test suite before opening a pull request.

Credits and licence

OpenPot is licensed under the GNU General Public License, version 3 or later (GPL-3.0-or-later). See LICENSE.

It builds on the work of:

  • mpv / libmpv — playback, decoding, filtering and subtitle rendering
  • FFmpeg — the codec and demuxer foundation used by mpv
  • Qt 6 — application framework and OpenGL widget infrastructure
  • libass — subtitle rendering
  • Sintel trailer © Blender Foundation, CC-BY 3.0 (used in the screenshots)
  • OpenSubtitles.com — optional online subtitle search API

PotPlayer is a trademark of Kakao Corp. OpenPot is not affiliated with or endorsed by Kakao Corp. or the PotPlayer authors.


中文说明 / Chinese README

About

OpenPot — open-source cross-platform PotPlayer alternative built with Qt 6 and libmpv

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages