Questions tagged [mpv]
For questions involving mpv, a media player based on MPlayer.
55
questions
12
votes
2
answers
51k
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 ...
11
votes
2
answers
11k
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+...
9
votes
4
answers
35k
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 ...
8
votes
2
answers
7k
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....
7
votes
1
answer
17k
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 ...
5
votes
1
answer
3k
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 (...
5
votes
2
answers
6k
views
How to play YouTube videos with MPV subtitles?
How to play YouTube video with MPV with subtitles?
3
votes
1
answer
3k
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 ...
3
votes
2
answers
895
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,...
3
votes
0
answers
572
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 ...
2
votes
1
answer
3k
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. ...
2
votes
1
answer
3k
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} ${...
2
votes
1
answer
2k
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, ...
2
votes
1
answer
7k
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.
2
votes
1
answer
815
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 ...
2
votes
1
answer
4k
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 ...
2
votes
1
answer
1k
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 ...
1
vote
1
answer
4k
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 ...
1
vote
1
answer
4k
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 ...
1
vote
2
answers
4k
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 ...
1
vote
1
answer
383
views
How to achieve a backward cycle hotkey in mpv?
MPV easily lets you cycle between values with one hotkey. For example using the h key to cycle between aspect ratios of 16:9, 4:3, 2.35:1, -1 and so on:
h cycle-values video-aspect-override "16:9&...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
2k
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 ...
1
vote
0
answers
89
views
MPV to play videos with a geometry
I have YOCTO build and I have integrated the mpv to the image. I need to test something so, I wrote a script that could play videos with a certain width and height and position on the screen but mpv ...
1
vote
0
answers
200
views
How to make sure all MPV windows always have a ipc connection? for command line control
For some time now, I have been looking for a way to control specific MPV windows from the command line.
After searching and asking around, for example, HERE and HERE, I managed to find a way.
I first ...
1
vote
0
answers
123
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 ...
1
vote
0
answers
163
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 ...
1
vote
0
answers
962
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 ...
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 ...
1
vote
0
answers
363
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 ...
0
votes
1
answer
232
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 ...
0
votes
1
answer
268
views
Change the window title with a hotkey?
I know I can set the window title for every new window via the MPV.conf file with:
--title="window title"
But there are many times I need to change the window title, for the active window, ...
0
votes
1
answer
4k
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=&...
0
votes
0
answers
97
views
How to Simultaneously Play Two Videos at Different resolutions Side by Side
How do I view two videos side by side? The absolute easiest way is GridPlayer. However I liked one of the solutions that went something like this:
mpv --lavfi-complex="[vid1][vid2]hstack[vo];[...
0
votes
0
answers
57
views
how to use 'loop-playlist' option with a profile?
I would like to create a profile that applies to .png files, so that when a animated png file is playing, I would like for it to be looped, I tried:
#____________________ GIF _____________________
[...
0
votes
1
answer
56
views
Split Videos and/or Image Sequences using Video Players
Say I am using a video player like mpv, PotPlayer, VLC, and MPC-HC. I created a segment of a video by setting Mark A and Mark B. Now I want to split that segment from the video or make an image ...
0
votes
0
answers
9
views
Specify output device for multiple files in playlist
I'm running Windows 10 (10.0.19045.4170) which has the ability to forward sound from specific applications to specific audio devices (Settings -> System -> Sound -> App volume and device ...
0
votes
0
answers
40
views
Prevent mpv from Clearing Terminal Screen Post Video Playback
I am using mpv with the --vo=tct flag to play videos directly in the terminal. I am interested in finding out if there’s a way to prevent mpv from clearing the terminal screen when the video is either ...
0
votes
0
answers
794
views
Pulseaudio not working Debian 12
Pulseaudio 16.1 doesn't work on Debian 12 using no GUI and only the TTY terminal.
Upon checking, the daemon is running. Tried apt-get purge pulseaudio and reinstalled it, same problem persists. No ...
0
votes
0
answers
231
views
MPV is not printing its console text on the CMD window it was launched from
This used to work before but now for some reason it does not. I tried deleting all my config files to see if some preference was turning of console output, I also copied just the mpv.exe to another ...
0
votes
0
answers
24
views
What is the correct way to slow down a video 3X? [duplicate]
I have recorded a University lecture via a screen capture, in order to do it in a timely manner, I sped up the video in my browser 3X times using the extension Video Speed Controller.
Now in MPV I ...
0
votes
0
answers
279
views
Windows: Slideshow of all pictures in a directory but with various display durations
All pictures in a folder should be displayed automatically one after the other = Slideshow. The tricky part is that most of the pictures should be displayed for 20 seconds each and a few others should ...
0
votes
1
answer
594
views
Is there any way to loop audio smoothly with mpv?
I am effectively looking to play audio and when it loops (because I used the --loop flag) I want it to not have a delay afterwards.
I would appreciate some help on this.
edit: I read the man page but ...
0
votes
0
answers
621
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 ...
0
votes
1
answer
97
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 ...
0
votes
0
answers
1k
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/...
0
votes
1
answer
338
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 ...
0
votes
0
answers
192
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 ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
638
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 ...