r/mpv 2d ago

Issue on Windows Audio distortion issue

Enable HLS to view with audio, or disable this notification

3 Upvotes

I have been having this issue with audio where it seems to distort randomly, i would like some advice, i am using mpv-hero with some tweaked settings
let me know if i should give more information, idrk what to show


r/mpv 2d ago

User Scripts & Shaders Adaptive volume normalization script

13 Upvotes

Did it for myself, but maybe someone else would find if useful, it applies dynaudnorm filter based on the content, for 2.0 it just applies as is, for 5.1 and further the filter is applied only to the center channel (cuz that's where the dialogues are, so you can hear everything properly without affecting side channels). I'm on macOS but supposedly it should work on Windows as well.

https://github.com/alansleep/adaptive-dynaudnorm


r/mpv 3d ago

User Scripts & Shaders Using VapourSynth in mpv with mpv-build

2 Upvotes

mpv-vapoursynth is a portable package customized for mpv that includes Python 3.13.15 and VapourSynth R79.

You can easily use it with mpv-build.

Simply search for mpv-vapoursynth in mpv-build and select it. Then download mpv.zip. All packaging steps will be completed directly in your browser.

However, due to a limitation of VapourSynth, you still need to double-click vsscript.bat once to register the VSSCRIPT_PATH environment variable.

For example:

bash export VSSCRIPT_PATH='c:/path_to_mpv/Lib/site-packages/vapoursynth/vsscript.dll'

After setting the environment variable, you can run a test file from the command line. The package includes a simple example that converts the video to grayscale:

bash ./mpv.com 'video.mp4' --vf=vapoursynth=./test.py -v

You can also add the following line to mpv.conf to enable the filter by default:

ini vf=vapoursynth=./test.py

If you have any suggestions or issues related to mpv or VapourSynth, feel free to report them or share your feedback on GitHub.


r/mpv 3d ago

User Scripts & Shaders GRAINLIGHT: a free, open-source real-time 35mm film emulator for mpv

4 Upvotes

I built a small suite of GLSL shaders + Lua scripts for mpv that adds real-time 35mm projection emulation on top of your files — organic grain, gate weave, lamp flicker, halation, dust/hairs, plus an analog audio mode (35mm optical track / vinyl) and an ambient-light fill for scope films. Everything renders live on the GPU; your file decodes bit-perfect, nothing gets re-encoded.

4 presets (keys 0–4), a full in-player menu, cinema-style subtitles, ambient modes for 21:9 content on a 16:9 screen.

Demo (62s): https://youtu.be/PYIUkyxngvM

Code (MIT): https://github.com/claudiofabian-sudo/grainlight

It's Windows-only right now (built around mpv's portable build) — happy to hear from anyone who wants to help port the config to Linux/macOS.

Disclosure: I built this with Claude (Anthropic's AI) as a coding partner for the GLSL/Lua and for writing this post — happy to dig into any of it if that's useful. Feedback and issues welcome.


r/mpv 4d ago

Issue on Android What is this black bar and how do I get rid of it?

Post image
22 Upvotes

r/mpv 4d ago

General Discussion Mpv gpu next on Mac Pro

3 Upvotes

Hey y’all, I installed mpv gpu next on my Mac Pro m1 recently in terminal couple of months ago and here are the versions I have - mpv (0.41.0), libplacebo (7.360.1), ffmpeg (9.0.1) and here’s my configuration build in terminal’s nano sheet -

vo=gpu-next
hwdec=auto-safe
target-colorspace-hint=yes
tone-mapping=bt.2390
hdr-compute-peak=yes
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
save-position-on-quit=yes

With this stack on my device I can play dolbyvision locally either profile 5 and profile 8 both of them work perfectly. But I am curious about one thing…have you guys ever compared the tone mapping between your device if y’all are using a similar build and similar versions of mpv and libplacebo to a certified Dolby vision tv or display either a mini led or oled tv ?

If you guys have ever done that is the tone mapping between these two devices similar or does it vary a lot ?


r/mpv 5d ago

General Discussion Colosseum Trailer: I built an mpv-based video player into a media app that functions like its own little OS

Enable HLS to view with audio, or disable this notification

3 Upvotes

Disclaimer: This app was vibe coded. If the use of AI in software development is a dealbreaker for you, regardless of how much human taste, direction and decision-making went into it, that's understandable. This app probably won't be for you.

My app has libraries for manga, comics, books, TV, film & anime, and a comic reader, ebook reader and a video player. So I had an idea to build a taskbar where you can open multiple comics/manga/videos, minimise them and open them back up again.

And since then, I ended up only having more ideas that kept steering my media app deeper and deeper into the OS aesthetic.

The video side of the app is built around mpv. Theatre is basically a stylised Stremio client with an mpv player, while Vault is the local media side of the app.

The player itself takes heavy influence from Harbor's and Kodi's video players. I wanted the actual playback experience to mimic how video players, or apps in general, operate in an OS.

I did that by making the taskbar allow the user to open multiple videos, books and comics at a time, minimise, maximise and switch between them seamlessly.

A movie isn't a player screen that takes over the app until I close it. It just becomes another open session. I can minimise it, open a book, open another video, jump into a comic and then go back to the first movie from the same taskbar.

The player remembers the session position when you minimise it and restores the player and seek position when you open it again. Streamed and downloaded video both go through the same player and the same Continue system.

II've also ended up piling a bunch of other stuff into the player over time: online subtitles, episode navigation, switching sources from inside the player, Up Next, Skip Intro/Recap/Credits, PiP, screenshots, GIF recording, a metadata-rich pause card that shows what you're watching (you can see this in the trailer), A-B repeat, a sleep timer, work-in-progress Watch Party support and playback statistics.

For local video, you can watch videos through the same mpv player in Vault, the local media side of my app.

Vault is part of a much larger streaming and media aggregation engine, but for me local media still remains a priority because I watch a lot of fan cuts of movies, TV and anime, stuff like Clone Wars movie fan edits, Naruto Kai or One Pace, and there isn't a catalogue in this world that keeps track of them.

Colosseum is open source under MIT and currently available for Windows.

Colosseum on Github, if you’re interested.


r/mpv 6d ago

General Discussion I'm new to all this

3 Upvotes

Hello, I'm new to all the MPV stuff. I downloaded and installed MPV Synth from GitHub, but I am trying to install and use ModernZ, and I have no idea what I am doing or how to even get it to work. Can anyone help me? Thanks!


r/mpv 7d ago

General Discussion A very feature rich mpv wrapper I came across

Thumbnail github.com
4 Upvotes

This has tons of feature for upscaling and interpolation.Newest version also comes with Window capture.He also has a YouTube channel where he explains the features each update.


r/mpv 8d ago

General Discussion Mpv∞ Version 1.0.2 is here

Thumbnail github.com
32 Upvotes

I added all the features that were asked and fixed the issues reported by the users .

The features are

  1. You can now mark the entire folder as watched by swiping on the folder

2.Now the Native engine remember the timestamp before closing the app

  1. Optimized the Tree view , now it works better on older devices

5 smooth ui like water.

And more.

Try it out .


r/mpv 9d ago

User Scripts & Shaders jamak: interactive OpenSubtitles downloader in pure Lua

10 Upvotes
mpv-jamak after pressing Ctrl-u

I wanted subtitle downloading in mpv without the Python/subliminal dependency chain of the existing options, so I wrote a single-file Lua script that talks to the OpenSubtitles.com REST API directly.

https://github.com/arrufat/mpv-jamak

  • Ctrl+u searches by moviehash (computed in pure Lua) plus the guessed title and shows a fuzzy-filterable picker: exact hash matches are ranked first. Press again to reopen the cached results if you picked wrong.
  • Ctrl+U is manual mode: edit the title and pick any language from the full list.
  • Optional auto mode that respects the free 10 downloads/day quota: it only auto-downloads on an exact hash match, never on a guess.

Needs mpv 0.39+ and curl. It's the first release (0.1.0), so feedback is welcome, especially from Windows users; that path has had the least testing.


r/mpv 9d ago

Issue on Android Why does playing a higher-quality video than my device can handle cause AV desync, instead of simply dropping more frames to compensate?

3 Upvotes

I recently played a 4k video, and of-course it stuttered and frame-dropped like crazy since my device couldn't handle playing it but it also had a great desync which made the audio finish around 20+ seconds earlier than the stuttering/frame-dropping video which played in silence in that duration. I rechecked the same video with low-quality video decoding setting enabled and the sync was perfect- both audio and video finished at the same time so it wasn't an inbuilt audio-video desync to the video file itself.

I'd rather have 1 frame every 5/10/20 seconds than having a better framerate but audio is so desynced that audio finishes perceptually earlier than the video like 5-20+ seconds difference.

Options in the mpv-android app

General

  • Hardware decoding - disabled

Video

  • Upscaling filter, downscaling fitler - not set
  • debanding - disabled
  • interpolation - disabled ; video-sync - audio
  • temporal interpolation filter - not set
  • low-quality video decoding - disabled
  • gpu-next - enabled

mpv.conf

```text

profile=fast

cache=yes

cache-secs=50

demuxer-max-bytes=150MiB

demuxer-max-back-bytes=50MiB

subtitles

sub-color='#DEFFA500' sub-border-style=outline-and-shadow sub-outline-size=2 sub-outline-color='#FF000000' sub-shadow-offset=2 sub-shadow-color='#80000000' sub-blur=0.3 sub-font-size=44 sub-bold=yes sub-font=serif sub-justify=left

target-prim=bt.709

target-prim=bt.601-625

target-trc=srgb

target-trc=bt.1886

framedrop=vo

scale=mitchell

dscale=mitchell

video-sync=desync

video-sync=display-resample-vdrop

video-sync=display-vdrop

video-sync=audio

VOLUME

volume=100 volume-max=100

audio-channels=mono audio-normalize-downmix=yes ad-lavc-downmix=no audio-exclusive=yes

Use with phone's mono speaker

af=lavfi=[dynaudnorm=f=250:g=15:m=8:s=6]

Use with faulty/quiet earphones

af=lavfi=[dynaudnorm=f=250:g=15:m=8:s=6,alimiter=level_in=2.0:limit=0.95:level=disabled]

af=lavfi=[alimiter=limit=0.7:attack=2:release=30,dynaudnorm=f=250:g=11:m=15:p=0.7:s=15]

af=lavfi=[alimiter=limit=0.7:attack=1:release=15,dynaudnorm=f=150:g=5:m=20:s=25:p=0.7]

af=lavfi=[acompressor=threshold=0.1:ratio=4:attack=20:release=250,dynaudnorm=framelen=500:gausssize=15:peak=0.95:maxgain=15]

af=lavfi=[dynaudnorm=framelen=50:gausssize=11:peak=0.95:maxgain=80.0]

af=lavfi=[dynaudnorm=framelen=250]

```


r/mpv 10d ago

General Discussion Mpv∞ v1.0.1 is now live

18 Upvotes

I added all the features and fixed the issue reports that I got ,

https://github.com/ZHINFINITY/Mpv-infinity

Update the app through Obtainium or in app update for convenience , hope you like the update .


r/mpv 10d ago

User Scripts & Shaders Best upscaler for live action movies and TV shows? And any way to add hdr to sdr videos?

3 Upvotes

The main reason for this is I am constrained by disk space and internet data usage and want to get the most out of my 1440p OLED screen. I use anime 4k for anime but it looks quite weird for live action stuff. Would be great if someone could recommend some solutions


r/mpv 10d ago

Issue on Windows I cant use it as a default player

0 Upvotes

I had mpv as my default player for years, yesterday I moved the file to another drive and since then I can't use it as a default player, the app works just fine but I can't simply click on the video and wait for it to open, it opens a window to chose an app to open the video from and even if I chose mpv it doesn't work and even the app icon doesn't appear on that window, just the name. I tried to delete it and reinstall but nothing changed


r/mpv 11d ago

Issue on macOS Multiple Instances Without Duplicating In The Dock On Mac – Is This Possible?

Post image
1 Upvotes

I want the player to run multiple instances in separate windows, not separate app icons.

IINA does this but it's a buggy mess so I refuse to use it. It's so bad that it drops frames, which never happens with the standalone build.


r/mpv 11d ago

General Discussion I built Mpv∞, an ad-free Android media player combining MPV/libmpv and Media3

30 Upvotes

Developer disclosure: I’m the creator and maintainer of Mpv∞.I’ve released Mpv∞ (Mpv-infinity), an open-source Android media player fork focused on high-quality local video and audio playback without ads or trackers.The app combines two playback engines:•MPV/libmpv for broad format and subtitle compatibility.•AndroidX Media3/ExoPlayer for Android-native playback and device codec integration.Other features include embedded and external subtitles, dual subtitle rendering in the Media3 engine, chapters, folder playlist sheets, audio playback, customizable controls, HDR and device-dependent Dolby Vision/HDR10+ playback, and one-tap segment skipping.The project is licensed under AGPL-3.0-or-later. It is currently distributed through GitHub Releases rather than Google Play.Project page: https://github.com/ZHINFINITY/Mpv-infinity I’m especially interested in feedback about device compatibility, Media3 codec behavior, subtitle rendering, battery use, and playlist handling. Please report bugs through GitHub Issues with Android version, device model, app version, and reproducible steps.


r/mpv 11d ago

User Scripts & Shaders Batch Screenshots?

3 Upvotes

I was wondering if there’s a way to set a specific amount of screenshots & have Mpv stop automatically after it’s reached that amount? I’m using Mac & I use opt + s to start taking screenshots. But for example I would like to cap it around 80.

For reference, I’m on macOS Ventura, & using Mpv v. 0.29.0
Any help would be appreciated!


r/mpv 12d ago

General Discussion Looking for optimal MPV config for my specs

2 Upvotes

Using Asus TUF A16 Ryzen 7 260 RTX 5050 165 Hz 1920x1200p SDR Display

My use cases:

Anime Episodes [Downloaded]

Movies and Series, mostly at 1080p, but sometimes stream at 4K SDR [Stream using DDL]


r/mpv 12d ago

Issue on Windows can't take screenshot

0 Upvotes

someone please help, i've been trying to solve this for hours. i followed a tutorial on tumblr on how to install mpv, but i keep getting "error writing screenshot" whenever i try to capture frames. the path on mpv.conf is right


r/mpv 13d ago

General Discussion Can mpv resume videos from last played?

3 Upvotes

Is there a feature where I can resume playback?

Example: I am watching a 50 minute video. I watched till 34:25. Then I closed the app. Next day, I started that same video. But I want to play it from 34:25. Is it possible?

Or is there anyway to see how much I have watched that video? I remember this to be possible. But I don't know how to do it again.


r/mpv 13d ago

User Scripts & Shaders Is it possible to keep the subtitle style without changing the position?

Thumbnail gallery
6 Upvotes

I'm trying to create a profile on MPV that changes the subtitle style to make them look like Crunchyroll's, and I'm happy with the result. However, as it stands now, it doesn't follow the rule that a subtitle should appear at the top instead of the bottom. Oh, by the way, it's enabled with F5 through a script

This is the current profile:

[sub come crunchyroll]

profile-restore=copy

no-sub-ass

sub-font='Trebuchet MS'

sub-scale-with-window=no

sub-use-margins=no

sub-font-size=50

sub-border-size=4.7

sub-shadow-offset=1.8

sub-shadow-color=0.0/0.0/0.0

sub-margin-y=36

This is a profile I modified using ChatGPT that I tried, but it doesn’t respect the font. Unfortunately, changing `sub-ass-override` from `yes` to `scale` doesn’t seem to change anything; changing it to `force` sets the font correctly but doesn’t respect the style changes, so I don’t know what to do. If I can’t fix this, I guess I’ll just stick with the previous profile

[sub come crunchyroll]

profile-restore=copy

sub-ass-override=yes

sub-ass-style-overrides=Default.FontName='Trebuchet MS',Default.FontSize=50,Default.Outline=4.7,Default.Shadow=1.8,Default.MarginV=36

sub-scale-with-window=no

sub-use-margins=no

As for the screenshots, the first one is with `sub-ass-override=yes`, the second with `force`, and the third is of the original profile. If you have any solutions, I'd appreciate them, but I'm starting to think there's nothing I can do about it


r/mpv 13d ago

Issue on Android Looking for an Android mpv frontend.

5 Upvotes

I’m looking for a media player on Android that’d:

  1. be audio-only-files-friendly. All mpv players I’ve tried only show a black screen when playing my audio files, which I often confuse for my phone being locked.

  2. support playlists. I often play files in a row which come from different folders, or are in the same folder, but not in the order I want to listen to them.

  3. allow to play files at speed ≠1.

I’ve tried mpv-android, mpvKT, mpvEx and harmonoid, the first 3 don’t support 1 or 2, and harmonoid doesn’t support 3 and isn’t open source. Right now my least bad option is VLC, but it tends to skip parts of my files, so I’m looking for an alternative. I’m posting on this sub because ideally it should be mpv-based, but if you know of something else that’s preferably on f-droid, I’ll try it too.


r/mpv 13d ago

General Discussion MPV for Android Tv?

2 Upvotes

i didn't find mpv on Android Tv playstore, so how to get it?


r/mpv 13d ago

Issue on Windows Can't get SMPlayer to stop buffering while playing local files

1 Upvotes

So I installed smplayer for the first time a few days ago. I've only used it a couple of times and every time I do, it buffers for a few seconds, every few seconds. I have tried changing the player priority, increasing the threads used for decoding, as well as in general having hardware decoding turned on and off. I have also tried changing the "cache for local files" number. Nothing is working. It's driving me nuts.

I'm using Windows 10, I'm not sure what other information you might need to help solve the issue but if you let me know, I'll do my best to provide it.