/mpv/

how do I get mvtools to work with mpv?

Attached: mpv-logo-128-0baae5aa.png (128x128, 10K)

Other urls found in this thread:

github.com/dubhater/vapoursynth-mvtools/releases/tag/v19)
github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
mpv.io/manual/stable/#script-commands
github.com/rossy/mpv-install/blob/master/README.md
sourceforge.net/projects/mpv-player-windows/files
7-zip.org/
mpv.io/manual/master/#command-interface-sub-reload
twitter.com/NSFWRedditImage

Sorry to slightly hijack but - video gurus, I need a ffmpeg master to help me make a script that makes 20 thumbnails from any point of a video, excluding its first 5% and its last 30%. This one takes one every minute of its duration:
for %%f in (*.avi, *.m2ts, *.mkv, *.mp4, *.vob) do (

ffmpeg -ss 1 -i "%%f" -vf fps=1/60 "thumb%%2d.bmp"

)

Someone told me I should "use ffprobe to get the duration, then multiply it by 0.65, and put it after -ss. Would that be correct? Here's my bad attempt at that, which doesn't work at all:
for %%f in (*.avi, *.m2ts, *.mkv, *.mp4, *.vob) do (
set duration="ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "%%f""
ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "%%f"
FOR /F "tokens=*" %%i IN (' %duration% ') DO SET X=%%i
ffmpeg -ss "$duration" -i "$input" -i "%%f" -vf fps=1/60 "thumb%%2d.bmp"
)


t. desperate non-programmer that just needs some fucking thumbs !!!

Just use potplayer with spvflow and fanpack presets!

Download mpv with vapoursynth, put vapoursynth portable into mpv.exe dir (or PATH), put mvtools (github.com/dubhater/vapoursynth-mvtools/releases/tag/v19) into plugins dir of vapoursynth, download: github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy of haasn's github, put into same path as .exe (for example)

then add keybind like:
v cycle-values vf "vapoursynth=~~/mvtools.py" ""

This will give you a on demand toggle of mvtools.

Tweak the .py for preferences or make a script to load mvtools.py on specific files, e.g videos running @ 720p23fps.. or if you have SVP and hate the GUI, run it once, find the temporary .py it creates copy that to mpv dir and use that instead of mvtools.py

Wait a little bit, haasn is going to release THE motion interpolation algorithm.

Use VLC

are you the one who posted these movie shot compilations on /tv/ just yesterday?

is there a way to display the active videos information like frame rate, bit rate & resolution as overlay on the video?

nvm found it
mpv.io/manual/stable/#script-commands
press i for temporary toggle and shift+i for permanent toggle

Really? Did he post any news about it? Haven't heard anything from him about the motion interpolation in months...

How the fuck do I install mpv?
I got a new computer and am trying to reinstall but their instructions aren't correct / working.

github.com/rossy/mpv-install/blob/master/README.md

I installed the files on the site and there is no mpv.exe. I follow the instructions and it just says "mpv.exe not found".

It would help if you downloaded mpv.exe and not just the insaller. It even tells you in step 1 to install a build. I would use schinchiros though since development moves fast and the other one is pretty old.

sourceforge.net/projects/mpv-player-windows/files

Put the installer in the same directory as mpv.exe then run it.

these are the files I get from those downloads.

Attached: 1524360393716.png (435x173, 7K)

Is this b8?
Have you never heard of or used a 7z file? Do you know how to use a search engine?

>Have you never heard of or used a 7z file
nope, I'm used to it having a winrar icon and I didn't bother to google it
sorry

winrar is for braindead retards which you seem to be

remove winrar (because is sucks dick) and install 7-zip.org/
use 7zFM.exe to open the .7z archive

Attached: akko int.png (188x264, 77K)

Trying to get this thing working, can someone critique my settings?

#Video
profile=opengl-hq
scale=ewa_lanczossharp
cscale=lanczossharp
tscale=oversample
interpolation
video-sync=display-resample
#opengl-shaders="~~/shaders/SSimDownscaler.glsl;~~/shaders/SSimSuperRes.glsl"

>lanczossharp

Don't just meme me, give me a hand.

Attached: sad cat.jpg (682x484, 24K)

Make sure you are using latest version and change it to profile=gpu-hq. It's just new syntax. Might be worth trying different gpu-api= settings too.

Thanks. Is the rest still relevant?

>cscale=lanczossharp
either change it to
>cscale=ewa_lanczossharp
or remove this line. just "lanczossharp" is not a valid setting.
you might even wanna remove scale & cscale settings because its just placebo really.

How do I build this profile in .lua?

[TEST]
profile-desc=cond:string.match(p.filename,"TEST")~=nil
start=+10
end=-10

Is there a way to reload external subtitle files without restarting the player?
I'm editing subs and it'd be convenient if there was a way to reload the subs and have it reflect the changes immediately, as opposed to restarting the player every time

drag and drop it into the player

Not ideal, looks like that just adds the same subfile over and over again.
It does actually work though, so better than nothing. Thanks
I wonder if there'd be a way to bind it to a shortcut somehow

SHIFT+r write-watch-later-config; loadfile ${path}

perfect, thanks a lot!

there's actually a command for this, no need for that watch-later stuff
mpv.io/manual/master/#command-interface-sub-reload

no. i do have 100,000+ movie thumbnails that i took manually over the years tho.

opengl-hq is deprecated, use gpu-hq

fuck. I did everything, but mpv crashes.

Thanks user, I'll use this instead then

what's the "just werks" mpv config?

Attached: 1516526835698.jpg (512x720, 271K)

Is it actually discouraged to use opengl-hq?
If gpu-hq is supposed to replace it, what are the differences, if any?

vo=gpu
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczos
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes
hwdec=no

>scale=ewa_lanczossharp
>cscale=ewa_lanczos
That's not "just werks", that's placebo meme

>autism

Use bilinear then :^)

NGU Killer when?

ye idk if shin still compiles mpv with vapoursynth fine.. but latest git build + vs binaries should work fine otherwise cross compile it yourself.

Also, "just crashes", have you checked the logs, are you sure its not just vulkan crashing or so

Why is madshi a dick?
Is it because madVR proprietary and he encrypted his solution to prevent leaks?

Just a different name for the profile. Though if it is indeed removed in the future it will obviously break your existing configuration.

Let me ask you a question: Are YOU willing to do your daily job without any payment? If you are, how can you pay for rent and food? If you are not, then why would you expect madshi to?

>T. madshi

Attached: mpv_[HorribleSubs] Kono Subarashii Sekai ni Shukufuku wo! 2 - 07[720p]_00_17_37_02.jpg (1280x720, 145K)

Fuck off madshi

tried to drag and drop jewtube links via the urlbar onto mpv and it just closes after a second or two, it used to work fine quite some time ago too

nvm fixed it

>mpv still can't output HDR video
The absolute state of freetards

It has for a while...

mpv with HDR support on Android TV when?

He means HDR passthrough to the TV, not tone mapping.

Isnt jeeb working on it for windows? Slowly

Attached: Screenshot_20180530-081956_Firefox.jpg (2151x784, 431K)

>only on windows
JUST

Yes, it's been worked on, but not available yet, I think.

pm'd the fix ;>