As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [mpv]

For questions involving mpv, a media player based on MPlayer.

Filter by
Sorted by
Tagged with
2 votes
0 answers
73 views

null bytes in .mkv file

I recently downloaded a movie (.mkv), it works perfectly on VLC Android, but after I moved it to my computer (with adb), mpv could not run it (Failed to recognize file format), nor parole (GStreamer ...
WMunn's user avatar
  • 21
0 votes
0 answers
63 views

How do I play this UMD format movie?

I have a movie ripped from a UMD format disc in the form of an ISO. The ISO structure is as follows: $ls -R .: umd_data.bin umd_video ./umd_video: clipinf icon0.png icon1.pmf param.sfo pic1.png ...
Kumaresh Balaji Sundararajan's user avatar
1 vote
1 answer
1k views

mpv: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

System: Linux 6.1.21-1-MANJARO After updating/upgrading my system, mpv no longer works. It seems ffmpeg is using libavcodec 60 and mpv is using 59. Though I'm not 100% sure this is the issue. Any help ...
notabot's user avatar
  • 13
0 votes
1 answer
192 views

Add new buttons to MPV uosc UI

uosc is a customizable UI for MPV player. Looking into the uosc.conf file, there is this line about how to create new buttons: 'command:{icon}:{command}' - button that executes a {command} when ...
cipricus's user avatar
  • 893
0 votes
1 answer
36 views

independent rotation of each half of dual fisheye Gear360 video

The Samsung Gear360 2017 records dual-fisheye video. ie. two side-by-side circular images in a black square, one from each lens. mediainfo reports: General [...] Format : MPEG-4 Format ...
jhnc's user avatar
  • 111
0 votes
0 answers
28 views

frame-step by 10 or 20 frames at once?

Hello I use MPV to help me with animations studies, its simply the best. I want to ask is there away to Step-Frame forward\back by n amount of frames? stepping forward by a single frame is ideal when ...
gaberiel__'s user avatar
1 vote
1 answer
795 views

mpv: How to play audio with SRT subtitles?

Is there a way to get mpv to display external .srt subtitles with audio files? In vlc this can be achieved by enabling Audio > Visualizations > Spectrometer, and then in advanced Settings under ...
ccpizza's user avatar
  • 7,348
0 votes
0 answers
66 views

Linux & mpv - How to slow down ONLY 25fps videos to 24fps? I tried the "autospeed.lua" script but it's doing nothing despite other lua scripts working

Much like how reclock worked on Windows, I want to be able to slow down ONLY 25fps videos to 24fps with the corresponding reduction in audio pitch in order to cancel-out any PAL speed-up (PAL speed-...
NM64's user avatar
  • 136
0 votes
0 answers
372 views

How to play two media through different audio devices with MPV?

How can I use MPV to play a video file with audio through one audio device (built-in speakers), and a second audio file through a second audio device (bluetooth headphones). Play/pause should play/...
theonlygusti's user avatar
0 votes
0 answers
64 views

Define start and end time for specific file in MPV using conf file [NOT mpv.conf]

Is it possible to define in movie conf [NOT mpv.conf] file start and end of file like with command line parameters "--start" and "--end"? Explanation of what i mean by movie conf ...
3862080's user avatar
  • 13
0 votes
0 answers
92 views

When opening mpv via ssh only sound is heard but there is no window

I want to open the mpv player installed on a Windows computer by ssh but when I try to do it, only the audio is heard, but there is no window or image. To close it I have to kill the process from the ...
PlayerWet's user avatar
  • 138
0 votes
0 answers
36 views

How to change the screen location of the progress bar when scrubbing videos on MPV

I wish the scrubbing progress bar were not near the middle of the the video, where most of the interesting stuff happens. There are some videos which I mostly scrub instead of watching, and the ...
Philippe Fanaro's user avatar
0 votes
1 answer
129 views

How do I configure MPV's speed to add instead of multiply?

I find that multiplying not only has a strange compounding feeling (because it does, obviously), but it also grows too fast. I would much rather have something linear, which calls for an add or ...
Philippe Fanaro's user avatar
0 votes
0 answers
93 views

Video appears green-ish when adjusting gamma & saturation with ffmpeg (eq) but NOT with mpv

I'm using mpv as a video player and ffmpeg as a video encoder. I have an original video which I am re-encoding with ffmpeg's eq filter to increase gamma & saturation. Before I do this, I use mpv ...
Totor's user avatar
  • 1,369
2 votes
1 answer
736 views

How to Add New MPV Speed Shortcuts on Already Existing Shortcuts

Out of the box, MPV's shortcuts for speeding are [/] and {/}, however, in order to be more consistent with the rest of software I have here, I would like for [/] to also be assigned to s/d. How could ...
Philippe Fanaro's user avatar
0 votes
1 answer
98 views

MPV: Cycle through cover art (if multiple images are present) of the current playing flac file

I have flac files that contains several embedded cover art which includes front, back, booklet etc. Is it possible to cycle through cover art (if multiple images are present) of the current playing ...
Porcupine's user avatar
  • 383
0 votes
2 answers
453 views

How to know whether the ewa_lanczossharp rendering filter is working on mpv?

For rendering video with a GPU, the mpv documentation states, wa_lanczossharp A slightly sharpened version of ewa_lanczos, preconfigured to use an ideal radius and parameter. If your hardware can run ...
Pound Hash's user avatar
0 votes
0 answers
276 views

How to load whole YouTube video before playing in MPV

To load a video in the terminal with ASCII, I can do $ mpv "<video_url>" --vo=caca But some videos buffer and load frequently, and lead to many pauses. Is there a way to load the ...
Sid110307's user avatar
  • 127
2 votes
1 answer
1k views

mpv volume controls via keyboard or mouse under macos?

I'm using mpv version 0.33.1 under macos Big Sur (version 11.6.1). It works pretty well, except I cannot figure out how to use the keyboard or the mouse to change the volume while a video is playing. ...
HippoMan's user avatar
  • 337
1 vote
1 answer
1k views

In mpv, how to disable the playlist OSD when starting the next video in a playlist

I've disabled osd: osd-level=0 But when a new video in a playlist starts, in the upper left corner there appears the entire playlist. Using the option osd-scale, I can shrink it down, but how can I ...
Ocean's user avatar
  • 133
5 votes
2 answers
9k views

How can I change playback speed of mpv video player?

I love mpv player for it's modern minimalist look, easy moving along a video simply with mouse scroll and robust rendering of .mp4 videos. However I could not figure out how to change playback speed ...
Karlom's user avatar
  • 279
1 vote
0 answers
141 views

Playing a video in MPV triggers Firefox (Web and WebExtensions) to start using 100% CPU

To clarify, this is not about playing a video in Firefox. This is when playing in a completely unrelated media player. Specifically, playing a video full-screen in mpv causes Web and WebExtensions ...
Peskydan's user avatar
0 votes
1 answer
842 views

mpv doesn't play audio from mp4 file

Troubles with mp4 files captured from webcam. I capture video from my webcam with vlc. The captured file is played without issues in vlc, but mpv could not play audio stream.(ffmpeg also doesn't ...
NamelessOne's user avatar
0 votes
1 answer
665 views

Mpv shaders won't work?

Can someone explain where I did wrong? I did follow the anime4k instruction but shaders wont show up? did try shift + I and then 2 and it didn't work? this is how mine mpv.conf is setup: profile=gpu-...
For Fun's user avatar
  • 11
1 vote
0 answers
696 views

mpv video freezes but audio plays when using youtube

I'm using mpv to play videos from different sources (e.g. youtube) in conjunction with my newsfeed-reader newsboat on my Debian Stable system (actually PureOS Amber which is based on Debian). But ...
n0542344's user avatar
  • 111
2 votes
2 answers
718 views

How do I stop SMPlayer from using volume buttons?

My question is almost exactly the same as this one, except that I am asking in reference to using SMPlayer, not VLC. When I press the volume buttons on my keyboard usually the system volume is changed,...
Kalamalka Kid's user avatar
8 votes
2 answers
31k views

How to infinite loop every video I play as defaut on MPV player without having to press shift+L hotkey every single time?

I think the title is clear without filling the body. Every time I play new video the inf loop is gone and I need to press shift+L again each time. How to just make this my default setting. As far as I ...
galih_ken's user avatar
0 votes
1 answer
3k views

How to use Anime4K witih MPV

How to user Anime4K with MPV I added the mpv.conf file with profile=gpu-hq fullscreen=yes scale=ewa_lanczossharp cscale=ewa_lanczossharp video-sync=display-resample interpolation glsl-shaders-append=&...
cyberquarks's user avatar
5 votes
1 answer
2k views

How to disable the mouse wheel scrolling in mpv?

The wheel has eventually become "loose" with all mice I've owned and can be scrolled by accident. In mpv the wheel controls the video position. from the documentation: WHEEL_* Mouse wheels (...
user1115987's user avatar
0 votes
0 answers
781 views

What does the "[ffmpeg] tls: Failed to send close message" error mean (mpv)?

I often stream video or audio in mpv (requires youtube-dl, FFmpeg is installed) and the [ffmpeg] tls: Failed to send close message error is always displayed in shell (PowerShell) when I quit the ...
user598527's user avatar
  • 3,699
7 votes
2 answers
5k views

mpv: how to play a list of URLs piped from stdin

Is there a way to get mpv to play a list of URLs that are piped from another command's stdout? My use case is to play all media links from an HTML page, e.g. with something like this: extractlinks....
ccpizza's user avatar
  • 7,348
1 vote
1 answer
2k views

How to bind multiple commands to one key with mpv

Is it possible to show the commands show-text ${media-title}, show-progress and show-text ${playlist} on separate lines each with a single key bind? If i enter MENU show-text "${media-title} ${...
eddy's user avatar
  • 11
0 votes
1 answer
129 views

On Linux, how to play an image sequency with audio?

I want to view an image sequence playing with external audio simultaneously. I'm currently using mpv "mf://*.jpg" -mf-fps X to play sequences. Not sure how to define audio stream, yet. I'm aware of ...
quaeched's user avatar
  • 213
4 votes
1 answer
5k views

MPV Youtube with Subtitles

How to play YouTube video with mpv with subtitles?
Porcupine's user avatar
  • 383
-1 votes
2 answers
700 views

How to exit youtube-dl when streaming to mpv on Windows?

I often use the command mpv <YouTube URL> --no-video (FFmpeg may also be mandatory) to only stream audio when the video track is redundant, should commonly save over 99% of bandwidth. I run the ...
user598527's user avatar
  • 3,699
2 votes
1 answer
1k views

Default video app keeps resetting from MPV on MacOS

The Problem I use the mpv video player to play all videos on my mac, though I also have VLC installed. The problem is that after a while my default video application changes to VLC (and/or Quicktime, ...
Sheharyar's user avatar
  • 317
1 vote
0 answers
3k views

How to play a dvd over network with mpv?

How to play a DVD over network with mpv? Playing individual VOB files works with something like: mpv http://1.2.3.4/dvd/VIDEO_TS/VTS_01_1.VOB But playing the entire dvd with any of the following ...
ccpizza's user avatar
  • 7,348
1 vote
0 answers
339 views

Make mpv go fullscreen for video files, small window for audio files?

I have a bunch of flags I want activated for audio files, another bunch for video files, one of which is the fullscreen flag. Am I supposed to copy paste those flags into every possible auto profile ...
seeker_of_bacon's user avatar
1 vote
2 answers
2k views

Play 60fps video at 30fps

I have a 60fps 1080p video from a GoPro that is playing really choppily in mpv (and other media players). How can I make mpv drop every other frame to get a smoother video? Alternatively, is there ...
Zaz's user avatar
  • 2,365
1 vote
1 answer
3k views

How can I turn a sequence of images into a video using mpv?

I have a sequence of jpg images that I would like to turn into an avi or mpeg movie file. I tried to install mplayer/mencoder using Macports, but it told me this is obsolete and has been replaced by ...
N. Virgo's user avatar
  • 315
3 votes
1 answer
2k views

How to make mpv use the pulseaudio volume controls again?

Since some recent update (mpv 0.18.something), mpv has stopped using the pulseaudio volume and instead used a software volume control. This has downsides such as additional processing, but most ...
Jonas Schäfer's user avatar
2 votes
1 answer
6k views

Where is located on Mac the mpv player configuration file?

This excellent player works on Mac, but while in Linux I can set shortkeys and such in ~/.config/mpv/input.conf, I don`t know where that is on a Mac.
user avatar
9 votes
4 answers
28k views

Save video playing in mpv --ytdl to a file while playing

I would like to be able to play and save a video with mpv --ytdl. How do I got about doing that? What's particularly important is that the buffer gets saved too. Basically, I would like to play a ...
PawkyPenguin's user avatar
2 votes
1 answer
662 views

Improve pitch shift

I've been watching videos using mpv, a derivative of MPlayer, using the default options. When I increase the speed, pitch-shift kicks in so that while people sound like they're speaking faster, they ...
Zaz's user avatar
  • 2,365
11 votes
2 answers
9k views

How can I make mpv show the duration counter constantly?

I use the mpv video player in Linux. With the keys Shift+P, I can see the duration of the video I am watching. How can I set mpv to show the duration all the time (without the need of pressing Shift+...
Linux-Leo's user avatar
  • 111