← Home ← Back to /g/

Thread 105765875

232 posts 64 images /g/
Anonymous No.105765875 >>105765938 >>105765952 >>105766070 >>105766458 >>105778938 >>105784482 >>105794540 >>105802876 >>105803146
/mfy/ - mpv ffmpeg yt-dlp
https://mpv.io/installation/
https://ffmpeg.org/download.html
https://github.com/yt-dlp/yt-dlp
Anonymous No.105765938
>>105765875 (OP)
I-I'M GOONNA REENCOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOODE
Anonymous No.105765952
>>105765875 (OP)
>slop pic
Anonymous No.105766041
>mfy
Anonymous No.105766070 >>105766418
>>105765875 (OP)
I finally got my hands on good hardware anyone know a good config for a linux user with a 4090?
Can I use some form of upscaling to improve lower resolution videos?
I got a second hand 4090 and 4k monitor
Anonymous No.105766418 >>105766641
>>105766070
The heaviest CuNNy or ArtCNN shader that you like. I prefer the CuNNy DS variant for shitty sources and the regular CuNNy for everything else. Both at 4x16 because poorfag GPU connected to a 4K monitor
Anonymous No.105766458
>>105765875 (OP)
VLC ffmpeg youtube-dl || yt-dlp
Anonymous No.105766556 >>105767204 >>105776554 >>105801293
just updated my youtube client
it should no longer select auto dubbed ai voices anymore
also updated my gui toolkit so ctrl+left/right now skip words in textboxes
Anonymous No.105766641 >>105766773
>>105766418
They work well for non animated stuff too?
Anonymous No.105766773
>>105766641
Both are good on live action, yes
Anonymous No.105767204 >>105767812
>>105766556
touch some grass faggot
Anonymous No.105767276 >>105769239
https://github.com/mpv-player/mpv/issues/16488
what is hdr
Anonymous No.105767812
>>105767204
my youtube client has a grass-colored theme
Anonymous No.105768330 >>105770084 >>105770156
profile=high-quality
Rate my config.
Anonymous No.105768873 >>105768914
Is there a way to run mpv with x11forwarding?
Anonymous No.105768914 >>105768938
>>105768873
vo=x11
but you should just use sshfs and open with local mpv
Anonymous No.105768938 >>105769086 >>105769828
>>105768914
I want to use the remote machine better GPU for shaders
Anonymous No.105769086 >>105769828
>>105768938
doesn't x11 forwarding with opengl indirect rendering use your local gpu, not the remote gpu? It wouldn't make sense any other way, otherwise you're passing rendered frames over the network, there's no way that's going to give smooth 60fps.
Anonymous No.105769239 >>105785366
>>105767276
God why is HDR such a clusterfuck
Anonymous No.105769534
How do I take screenshots on mpv android
Anonymous No.105769667 >>105771572
Anyone know a script or software that will take a video and cut out all parts of it where there are no words spoken? Even if its between words when someone pauses?
Anonymous No.105769828
>>105768938
In X11, the server is local, the client is remote ;)
>>105769086
Correct. some solution like x11vnc can be used, but it can't do HFR smoothly in my experience, AND it's a lossy medium anyway, so it would be like the Bluetooth HD scams (new scam idea?!).
Maybe using libplacebo with ffmpeg remotely and streaming an RGB high-bitrate video over the network would work better, but I highly doubt and of the said shaders is THAT beneficial to end up with an actual advantage anyway.
Anonymous No.105770015 >>105770024 >>105770116 >>105770928 >>105773215 >>105774583 >>105782951 >>105796846 >>105800697
All dedicated image viewers suck, THEY FUCKING SUCK... there's not a single one out there that displays images as great as my beloved mpv. Currently it only has issues with very edge cases like lossy JXL when the input JPG has a very specific kind of ICC profile and weird shit like that, 99.9% of the times it blows the fuck out of dedicated image viewing software.
Anonymous No.105770024 >>105770304 >>105770423
>>105770015
qview and nsxiv don't have this problem.
Anonymous No.105770084 >>105772701
>>105768330
vo=gpu-next

is missing. And required for profile high-quality to work correctly.
Anonymous No.105770116
>>105770015
>image viewing is not primary target for mpv
https://github.com/mpv-player/mpv/issues/16486#issuecomment-3017277499
Anonymous No.105770156 >>105770167 >>105770194 >>105770197 >>105770222 >>105770232 >>105770301 >>105791006
>>105768330
vo=gpu
gpu-api=opengl
dscale=catmull_rom
linear-downscaling=no
Anonymous No.105770167 >>105770197 >>105770220
>>105770156
>gpu-api=opengl
why?
Anonymous No.105770194 >>105770374
>>105770156
>vo=gpu
why?
Anonymous No.105770197 >>105770220 >>105770258
>>105770156
BVSED stability, color accuracy, and sharpness enthusiast

>>105770167
vulkan doesn't work and is missing many key features compared to egl rendering, such as the ability to manipulate the swapchain format directly. if you're using vulkan, you're essentially asking to be a beta tester for at least 10 years.
Anonymous No.105770220
>>105770167
>VK_ERROR_OUT_OF_DEVICE_MEMORY
>buggy hwdec
>Spent 2089.979 ms enumerating physical devices (slow!)
>what >>105770197 said
Anonymous No.105770222 >>105770242 >>105770244 >>105770247 >>105770298
>>105770156
>dscale=catmull_rom
Why?
Anonymous No.105770232 >>105770242 >>105770244 >>105770298
>>105770156
>linear-downscaling=no
WHY?
Anonymous No.105770242
>>105770222
>>105770232
Because you touch yourself at night.
Anonymous No.105770244 >>105772488
>>105770222
sharper than mitchell
faster than lanczos
less moire than hermite
>>105770232
avoid thinning lines and hurt sharpness and visibility
Anonymous No.105770247
>>105770222
This one is reasonable.
Anonymous No.105770258 >>105770348
>>105770197
Correct, and if you are on Windows use gpu-api=d3d11
Anonymous No.105770298
>>105770222
>>105770232
linear-downscaling is working off of incorrect assumptions.
95%+ of mastered content is not gamma-correct, so downscaling the content in linear colorspace introduces fake bright highlights to the image that were not present in the original master. linear colorspace only makes sense in the context of something like photography, e.g. downscaling your own dslr raws and recompressing them for storage. it makes 0 sense when you're watching shitty blurays on your media player.
Anonymous No.105770301 >>105770348
>>105770156
>no hwdec
Anonymous No.105770304 >>105770340
>>105770024
qview can't even display the JPG correctly on my display
https://litter.catbox.moe/xggj6lpu8bijec6k.png
https://litter.catbox.moe/ini3o206d7u72jus.png

Haven't tried nsxiv
Anonymous No.105770340
>>105770304
fuck. nvm then.
Anonymous No.105770348 >>105770395
>>105770301
vaapi and nvdec work
on windows use >>105770258 and d3d11va
Anonymous No.105770374 >>105770395
>>105770194
Yeah because gpu-next is garbage
Anonymous No.105770395 >>105770404
>>105770348
On Linux I've been using:
--gpu-context=waylandvk --hwdec=vulkan,vulkan-copy,vaapi,auto-copy


You can use --vo=dmabuf-wayland if you're going for lowest possible latency but I prefer using gpu-next.
>>105770374
It's the only vo that works properly with HDR in my testing.
Anonymous No.105770404 >>105770421
>>105770395
>--gpu-context=waylandvk --hwdec=vulkan,vulkan-copy,vaapi,auto-copy
what's like being beta tester?
Anonymous No.105770421
>>105770404
It's okay. I use the live mpv-9999 ebuild so notice breakages pretty quickly and report them. It takes like five seconds to rollback to previous commit so it's not like it's an inconvenience.
Anonymous No.105770423
>>105770024
nsxiv also gets filtered by that JPG ICC profile
https://litter.catbox.moe/m4semyp1rnofvc49.png

mpv reigns supreme
Anonymous No.105770431
wow, so you're telling me that abstracting mpv's core rendering code into a separate repository that only has one BDFL dev who doesn't maintain it was a bad decision?
Anonymous No.105770928 >>105782951
>>105770015
a reminder that ffmpeg's jpeg decoder sucks at fault tolerance, and there are plenty of jpegs that are technically faulty, but people don't realize it because the decoders in their viewers are tolerant.
in other words, you could be skipping images in mpv without even realizing it.
from the mpv side, there are considerations that are not image-specific per say, but would quickly become practically relevant with images. you have a shader that hooks to LUMA? it won't work with RGB images. you use lavfi filters like colorspace? you have to make sure the input pix_fmt and the input space are compatible. you also have to randomly care about other stuff like making sure the input image is padded to guarantee both h and w have even (not odd) values.
and then there is the issue with big (pixel wise) images and gpu outputs.
i still use mpv for image viewing, mind. but one has to be wary of these issues.
Anonymous No.105771572
>>105769667
check the user scripts page for mpv. there are scripts that auto skip silence/quiet parts, or to the next subtitle line. if you don't have subtitles you could generate some with whisper.
Anonymous No.105772234 >>105772261
How do you circunvent the yt-dlp thinking you are a bot?
>inb4 --cokies-from-browser
Anonymous No.105772261 >>105772376
>>105772234
get a new ip
Anonymous No.105772286 >>105772321
When you should you use negative values in x264/5's deblock over the default?
Anonymous No.105772321 >>105772351
>>105772286
when you care about sharpness. i.e. always if you're not a blurfag, unless you're encoding some smooth 2D shit.
check what presets do with these values first. you might not need to set this explicitly.
Anonymous No.105772327 >>105772359
How to open multiple windows of mpv on mac?
Anonymous No.105772351 >>105783782
>>105772321
>presets
i meant tunes. and don't forget to no-sao with x265.
Anonymous No.105772359
>>105772327
i found out if you run "open -n /Applications/mpv.app" it opens another window and doesn't close your active one
Anonymous No.105772376 >>105772398
>>105772261
Do you mass download youtube videos? What's your go to speed to reduce throttling?
Anonymous No.105772398 >>105772437
>>105772376
--limit-rate 4M --sleep-requests 5 --sleep-subtitles 5 --sleep-interval 60 --max-sleep-interval 90
Anonymous No.105772437
>>105772398
Thanks mate!
Anonymous No.105772488 >>105773360 >>105773390
>>105770244
so is lanczos still sharper and catmull is just a weaker performance thing?
Anonymous No.105772701 >>105772839 >>105773389
>>105770084
Isn't it worse for a non-HDR user?
Anonymous No.105772839
>>105772701
gpu-next has better tonemapping
Anonymous No.105773215 >>105773249
>>105770015
It also has awful playlist management thanks to not having a real GUI.
If you open a file in the middle of a directory, you click next, it goes to the first file in your sort instead.
It's annoying as fuck.
Anonymous No.105773249 >>105773255
>>105773215
Has nothing to do with the lack of a GUI lol
Anonymous No.105773255 >>105773276
>>105773249
Yes it does, because if you had a GUI you could actually manage your playlist and avoid this problem entirely.
Anonymous No.105773276 >>105773293
>>105773255
not necessary to use the mouse, there just needs to be options to change the default behavior and commands to map and switch mid playback
Anonymous No.105773293 >>105773329 >>105773407
>>105773276
Or you could have a GUI.
MacOS has an mpv frontend and it's great. Linux faggots think doing everything with the keyboard and terminal is more efficient, even where it makes no fucking sense like sorting and viewing IMAGES.
Anonymous No.105773329
>>105773293
Well, that's like your opinion man.
Anonymous No.105773360 >>105773390
>>105772488
yes
lanczos is the endgame for downscaling as it's sharp and resistant to ringing
Anonymous No.105773389
>>105772701
It's faster.
Anonymous No.105773390 >>105773409
>>105772488
>>105773360
> resistant to ringing
it's the opposite, also lanczos is oversharpened compared to source. most people downscale with catmull_rom in sigmoid colorspace
Anonymous No.105773407 >>105773486
>>105773293
i already have a GUI for that it's called a file manager
Anonymous No.105773409 >>105773447
>>105773390
you're right, my b, I was actually thinking of moire
Anonymous No.105773447 >>105774780
>>105773409
lanczos and catrom aren't really great when it comes to the moire department. --correct-downscaling does a good deal of cleaning it up for both kernels, but if you want moire suppression specifically on really harsh patterns, mitchell is king
Anonymous No.105773486
>>105773407
Doesn't let you manage MPV's playlist
Anonymous No.105774583 >>105775640
>>105770015
jxl is a meme
Anonymous No.105774724 >>105775079
i've noticed that some images, but only some, are very grainy with --correct-downscaling=no
Anonymous No.105774780
>>105773447
>mitchell is king
Why haasn changed to hermite?
Anonymous No.105775079
>>105774724
it's aliasing you retard
Anonymous No.105775640
>>105774583
I've found the lossless JPEG compression feature quite useful in my data hoarding endeavors. That issue's only a specific case where one forces lossy JPG->JXL transcoding on a JPG containing a unique Nikon Adobe RGB ICC profile that mpv's color conversion can't account for yet. What's weirder is it only happens on pictures taken with just one Fujifilm model, the successor model's ICC does not cause this problem.
Anonymous No.105775967 >>105775986 >>105776952 >>105777646 >>105790033
maybe it's the transnime shaders but with vo=gpu the card usage reaches 70-80%, all the way from gpu-next at ~30%
Anonymous No.105775986 >>105776035
>>105775967
Which shaders do you run and what GPU?
Anonymous No.105776035 >>105789847
>>105775986
An extremely powerful Arc B580

glsl-shader=~~/shaders/SSimSuperRes.glsl
glsl-shader=~~/shaders/adaptive-sharpen.glsl
glsl-shader=~~/shaders/KrigBilateral.glsl
glsl-shader=~~/shaders/SSimDownscaler.glsl

ArtCNN C4F32 is even lighter, no higher than 15% but it's not as sharp
Anonymous No.105776554 >>105779001
>>105766556
why on some items, left side displayed in english and right side displayed in original language?
Anonymous No.105776597 >>105776617 >>105776692 >>105776995
Do you use mpv on your mobile? It seems like there are better alternatives and all the customization is not needed on the go.
Anonymous No.105776617
>>105776597
What better alternatives? Even Mpv for Android works better than the shitty VLC Android app.
Anonymous No.105776692
>>105776597
I rarely play anything on my phone, only the occasional show through ani-cli when I'm stuck somewhere away from home. mpv just works for this.
Anonymous No.105776804
Still using RAVU, just works, simple as.
Anonymous No.105776952
>>105775967
Normal. gpu-next is like 2-3x more efficient than gpu
Anonymous No.105776995
>>105776597
use mpvKt
Anonymous No.105777646
>>105775967
not normal gpu is 1.2x more efficient than gpu-next
Anonymous No.105778519 >>105778976 >>105779658 >>105779884
Help me bros, which of these two formats is technically the highest quality - 356 or 721? (pic related). I downloaded both files, the AV1 is 57.8 MiB and the VP9 version is 97.3 MiB. The low AV1 filesize is kinda sus
Anonymous No.105778938
>>105765875 (OP)
pedotroon thread
Anonymous No.105778976 >>105779658
>>105778519
compare yourself bro come to your own conclusion bro
Anonymous No.105779001
>>105776554
they use different apis to get title info
i will look into it if i can get original titles for the list display
Anonymous No.105779658 >>105779717 >>105779777 >>105779884 >>105781926
>>105778519
>>105778976
VP9: https://files.catbox.moe/dloooy.jxl
AV1: https://files.catbox.moe/casik2.jxl
I think the AV1 frame has less banding but tbqh they both look like shit encodes to me

Attached pic makes it a little more clear, I think vp9 is granier
Anonymous No.105779717 >>105779796
>>105779658
>jxl
you're not ahead of the curve, you never will be
Anonymous No.105779777
>>105779658
Judging motion in still images is not very good, anon. How motion is enjoyed should be the determining factor for which is better, not how they look paused exposing how they achieve the illusion.
Anonymous No.105779796 >>105779826
>>105779717
it's the only way to capture HDR screenshots at the moment
Anonymous No.105779826
>>105779796
HDR is a meme. turn it off.
Anonymous No.105779876
i don't get it, is this some video player for pedos?
Anonymous No.105779884 >>105780592
>>105778519
>>105779658
i don't see those formats for the shitty imagine dragons music video (which i hope you only like for the goon)
Anonymous No.105780373 >>105780469 >>105780601
>error 403 is back
bros..
Anonymous No.105780469
>>105780373
which extractor
mobland No.105780592
>>105779884
i passed in cookies and used the youtube music urls for it. (i started the free trial)
Anonymous No.105780601
>>105780373
I heard Cloudflare is rolling out AI bot detection for everyone now. I predict 403 errors for seemingly no reason are going to be on the rise even for legitimate users.
Anonymous No.105781800 >>105781898
mpv should never use hashmap
Anonymous No.105781898 >>105782234
>>105781800
don't worry no one is implementing a hashmap in C anyway
Anonymous No.105781926 >>105782948
>>105779658
With that much bitrate between them I'd go with VP9. There's a couple videos out there that AV1 is the better choice but that isn't one of those.
Anonymous No.105782234
>>105781898
https://github.com/mpv-player/mpv/pull/14990
Anonymous No.105782948
>>105781926
thx anon. would you say
a good rule of thumb would be to prefer the av1 unless it’s below like 40% file size reduction? I don’t really care about the storage space but it’s hard to judge which is better without access to the source files, but from what Ive seen the youtube AV1 encodes are generally like 50%ish smaller than the vp9 encodes which feels jewy to me
Anonymous No.105782951
>>105770015
I moved to bandiview (with a chinese or russian crack).
No scaler shader worked for b/w images so I lost nothing.
Also >>105770928 mpv skips random images and you'll never know about it. Happened to me in the real world.
Anonymous No.105783240 >>105783413 >>105783922
This doesn't work for some reason
-vf libplacebo=saturation=3
anyone here had success doing color adjustment through libplacebo?
Anonymous No.105783264 >>105783273
Why use mpv over VLC?
Anonymous No.105783273
>>105783264
more features
Anonymous No.105783413 >>105783435 >>105784697
>>105783240
actually libplacebo is correct, it's your eyes that are wrong
Anonymous No.105783435
>>105783413
All other libplacebo options (scaling, tonemapping, etc.) work except color adjustment stuff for some reason
Anonymous No.105783782
>>105772351
>sao
damn, this shit still blurs like crazy?
Anonymous No.105783922 >>105784445
>>105783240
nvm, solved it
the color adjustment step has to be separated using the filter concatenation option like this:
-filter_complex [0:v]libplacebo=saturation=1.3[1];[1]libplacebo=w=iw/3:h=-1:downscaler=ewa_robidoux
Anonymous No.105784445
>>105783922
ffmpeg has the most abhorrent syntax
Anonymous No.105784482 >>105784590 >>105784614
>>105765875 (OP)
hi frens. long time no see. autistic guy who was making front ends for ffmpeg / yt-dlp.

here is my linux front end. been awhile.

https://files.catbox.moe/emhjsa.zip

i gave up converting it to an appimage. to much to maintain. so its the bare source code. just build with cmake. instructions are in the zip file. really easy to build.
Anonymous No.105784590 >>105784614
>>105784482
> i gave up converting it to an appimage. to much to maintain
the consequence of gui having too many dependencies
should’ve made your own portable gui toolkit
Anonymous No.105784614 >>105784786 >>105784903
>>105784482
and here is my yt-dlp front end.

https://files.catbox.moe/smbnjr.zip

same thing. have to build. appimage to much.
>>105784590
i really don't want to.
Anonymous No.105784684 >>105784706 >>105785143
just switched to linux for the first time. I see that celluloid is an mpv frontend, is it good?
Anonymous No.105784697
>>105783413
>Red is Pink and other lies we tell ourselves
Anonymous No.105784706
>>105784684
Been a long time since I used a front end for MPV. Celluloid was pretty good when I used it years ago. I just stick to the default interface now.
Anonymous No.105784786
>>105784614
use something more lightweight like imgui+sdl
Anonymous No.105784903 >>105785441
>>105784614
uh oh, ikatranny won't be happy about this.
Anonymous No.105785143
>>105784684
Just use uosc
https://github.com/tomasklaen/uosc

i do hate its playback speed element, so i disabled that in its code.
Anonymous No.105785366 >>105785436 >>105786481 >>105787399
>>105769239
SDR
>designed around existing technology of the time
>no hard standards for luminosity and color reproduction
>one common standard that every encoder and decoder assumes
HDR
>uses Rec2020, a color gamut that even high-end display can't yet attain
>a billion different standards, but even the "easiest" HDR10 standard with it's 1000 nit peak brightness can't be attained by every display
>but that's okay, just tonemap to your display's capabilities
>a million different ways to tonemap
I love HDR but it is indeed a mess.
Anonymous No.105785436 >>105785475
>>105785366
hdr is a meme and i am tired pretending its not.
Anonymous No.105785441
>>105784903
why?
Anonymous No.105785475
>>105785436
I don't think it's a meme, I just think it's way too technical for normies to adopt. I had to go through considerable effort to actually make HDR versions of my artwork. Arguably, the easiest method is just creating Gainmapped JPEG files (ISO 21496-1) but MPV does not display them in HDR like it does HDR AVIFs or HDR MP4s.
Anonymous No.105785791
Is there any way to simulate brightness control using lua and shaders?
I'm not talking about the brightness/saturation/gamma type.

I tried chatgpt and it was completely useless.
Anonymous No.105786480 >>105789808
cutetalk
Anonymous No.105786481
>>105785366
>HDR10 standard with it's 1000 nit peak brightness can't be attained by every display
That's HDR 1000. HDR 10 is not a real standard at all, it was VESA's attempt to placate display manufacturers so they could put a tick on the box for HDR support. It just means it supports 10-bit colour and that's it.
Anonymous No.105787024
All I'll add to the HDR discussion is that Dolby can go fuck themselves for Dolby Vision. Them having a stranglehold on audio with patents and proprietary standards wasn't bad enough so they had to seep their claws into video too because, hey guys Dolby is still totally relevant!
Anonymous No.105787245
Crazy to think some of us will never experience TRVE HDR
Anonymous No.105787399 >>105787497
>>105785366
>>uses Rec2020, a color gamut that even high-end display can't yet attain
>>a billion different standards, but even the "easiest" HDR10 standard with it's 1000 nit peak brightness can't be attained by every display
just put rgb laser projector (can be found under $500 nowadays) a foot from the screen
easy rec2020 + 10000 nit peak brightness
Anonymous No.105787497
>>105787399
Better yet, obtain the sun to hang in your room
Anonymous No.105788881
> x11: tears
solved by xlibre
Anonymous No.105789480 >>105789627
What are those untested tracks? Is YouTube tagging the premium tracks as "Untested" and blocking them now?
Anonymous No.105789627 >>105789823
>>105789480
ios m3u8 formats are marked as untested since they sometimes give 403 for unknown reason
https://github.com/yt-dlp/yt-dlp/commit/8f94b76cbf7bbd9dfd8762c63cdea04f90f1297f
Anonymous No.105789808 >>105790001
>>105786480
do you wear programming socks
Anonymous No.105789823 >>105789899
>>105789627
So the 6XX tracks are kill? I remember being able to download them even without cookies
Anonymous No.105789847 >>105789905
>>105776035
>An extremely powerful Arc B580
:D
Anonymous No.105789899
>>105789823
probably but can't be sure for now
Anonymous No.105789905
>>105789847
>:D
Probably perfect GPU for HTPC.
Anonymous No.105790001 >>105790040 >>105790041
>>105789808
do you
Anonymous No.105790033
>>105775967
vo=gpu just sucks
Anonymous No.105790040
>>105790001
I don't. It's over 30C...
Anonymous No.105790041
>>105790001
not really
Anonymous No.105790051 >>105790432
>not really
Anonymous No.105790432
>>105790051
ya really
Anonymous No.105790606 >>105790844 >>105790918 >>105793407
https://files.catbox.moe/z0iaj1.zip

updated version of my ytdlp front end. now able to accept more than one url. Separated by spaces.

also here is my ffmpeg front end:
https://files.catbox.moe/emhjsa.zip
Anonymous No.105790844 >>105790894
>>105790606
use case?
Dark theme when?
Anonymous No.105790894
>>105790844
It will use whatever theme you have QT6/KDE set to.

use case? simple. a GUI interface to use ytdlp with. easy way to set and change options. not all videos are suited for a one and go configuration file. some files you might want to trim filenames, but not all. some videos from certain porn sites might not download without use legacy server connect for example. some videos might only download by using"allow unsafe extension" if you are trying to download from a stream off a jav site.

its all about making ytdlp more intuitive for the end user.

i am currently working on a profile option and allow to generate a ytdlp config based off options selected in the gui to allow easy creation for terminal sessions.
Anonymous No.105790918 >>105790931
>>105790606
write GUI for mpv
Anonymous No.105790931
>>105790918
don't tempt me
Anonymous No.105790959 >>105791006 >>105791068 >>105791310 >>105791377
What's the recommended MPV config to use these days? Linux wayland, AMD card if it matters.
Anonymous No.105791006 >>105791033
>>105790959
>>105770156
Anonymous No.105791033
>>105791006
Anonymous No.105791068 >>105791306
>>105790959
>What's the recommended MPV config to use these days?
One that you custom built that works just for you. :)
Anonymous No.105791075 >>105791100
Is there anything i can do to force mpv to use less ram? Like some cache settings or whatever? Anything that will make it usable on potato PC or laptop, beside "fast" profile.
Anonymous No.105791100 >>105791349
>>105791075
Yes
Anonymous No.105791306 >>105796231
>>105791068
Du bist puta idiota

I'mma just use this one and tweak where needed

https://github.com/hl2guide/better-mpv-config
Anonymous No.105791310
>>105790959
vo=gpu-next
profile=high-quality[/code}
self explanatory
interpolation=yes
video-sync=display-resample
scale=catmull_rom
if your monitor has shit refresh rate, disable with ctrl+i if it gives you any problems
image-display-duration=15
if you like looking slideshows
background='color'
background-color=0.0/0.0/0.0/1.0
dunno if it's needed anymore for transparency on wayland, too lazy to test
autocreate-playlist=same

self explanatory
[protocol.http]
profile=protocol-network

[protocol.https]
profile=protocol-network

[protocol.file]
network-timeout=0
force-window=yes
cache=yes
demuxer-max-bytes=128MiB
demuxer-max-back-bytes=3072MiB
force-seekable=yes

[protocol-network]
network-timeout=5
force-window=immediate
hls-bitrate=max
cache=yes
demuxer-max-bytes=3072MiB
demuxer-max-back-bytes=3072MiB
if you like seeking around long streams and hate buffering
screenshot-template="%{?demuxer-via-network==yes:${media-title} – %{?demuxer-via-network==yes:${filename/no-ext}%{!demuxer-via-network==yes:${filename/no-ext}/%{?demuxer-via-network==yes:${media-title} – %{?demuxer-via-network==yes:${filename/no-ext}%{!demuxer-via-network==yes:${filename/no-ext} – %P – %n"
if you want youtube titles as your screenshot titles (this is embarrassing but the only way I know how)
Anonymous No.105791349
>>105791100
Thanks.
Anonymous No.105791377 >>105791624 >>105793697 >>105793971
>>105790959
vo=gpu-next
profile=high-quality
self explanatory
interpolation=yes
video-sync=display-resample
scale=catmull_rom

if your monitor has shit refresh rate, disable with ctrl+i if it gives you any problems
image-display-duration=15
if you like looking slideshows
background='color'
background-color=0.0/0.0/0.0/1.0
dunno if it's needed anymore for transparency on wayland, too lazy to test
autocreate-playlist=same
self explanatory
[protocol.http]
profile=protocol-network

[protocol.https]
profile=protocol-network

[protocol.file]
network-timeout=0
force-window=yes
cache=yes
demuxer-max-bytes=128MiB
demuxer-max-back-bytes=3072MiB
force-seekable=yes

[protocol-network]
network-timeout=5
force-window=immediate
hls-bitrate=max
cache=yes
demuxer-max-bytes=3072MiB
demuxer-max-back-bytes=3072MiB
if you like seeking around long streams and hate buffering
screenshot-template="%{?demuxer-via-network==yes:${media-title} – %{?demuxer-via-network==yes:${filename/no-ext}%{!demuxer-via-network==yes:${filename/no-ext}/%{?demuxer-via-network==yes:${media-title} – %{?demuxer-via-network==yes:${filename/no-ext}%{!demuxer-via-network==yes:${filename/no-ext} – %P – %n"
if you want youtube titles as your screenshot titles (this is embarrassing but the only way I know how)
Anonymous No.105791624
>>105791377
*
interpolation=yes
video-sync=display-resample
tscale=catmull_rom
Anonymous No.105792530
Why half posts here been deleted?
Anonymous No.105793407 >>105796234
>>105790606
hello again frens. another update.

https://files.catbox.moe/16uhlk.zip

now has the ability to save settings to a yt-dlp configuration file for terminal sessions. makes it easier to setup and alter config files for yt-dlp.

also, since the gui defaults to "disable config" to prevent the config file from overriding the gui set options, if you uncheck "disable config" in the gui, you can use the config as a form of "profile" system for the gui.

i hope this brings joy to frens.
Anonymous No.105793697
>>105791377
Thank you, I'll play around with some of these.
Anonymous No.105793971 >>105794085
>>105791377
>interpolation=yes

fuck off
Anonymous No.105793974 >>105795880 >>105801150
added autoplay support to the mpv plugin
works well for music playlists
Anonymous No.105794085
>>105793971
Can you provide a valid reason why it's bad if your monitor has
>no VRR
>no multiple of 24 refresh rate
It rarely causes any problem and the difference is massive on panning shots. With catmull_rom I can't notice any blur during playback at normal watching distance on a 42 inch 4K monitor. I wanna hear your thoughts if you have any other than "fuck off".
Anonymous No.105794393
remove "high-quality", it is misleading as it is actually "low-quality"
Anonymous No.105794540 >>105794672 >>105794757
>>105765875 (OP)
Does anyone know if the files need to be in a gallery-dl folder in order to re-check for any missed files from a downloaded gallery? Or does it just check the sqllite db to see if it was downlaoded or not?
Anonymous No.105794672 >>105795145
>>105794540
i really need to make a front end for gallery-dl. thats been on my list for the past few months gallery-dl badly needs one.

it checks the files in the gallery-dl folder. don't move them out until you are absolutely done
Anonymous No.105794757 >>105795145
>>105794540
It checks the default directory or the one you pass with -D. Just cd into the destination and use gallery-dl -D . URL
Anonymous No.105795145 >>105795199 >>105802830
>>105794672
>>105794757
If you made a gui for gallery-dl, you would have a very popular project.

I am experimenting trying to use the -D command,

gallery-dl -D "D:\" https://, but I keep getting

>usage: gallery-dl [OPTION]... URL...
>gallery-dl: error: The following arguments are required: URL
>Use 'gallery-dl --help' to get a list of all options.

And doesn't download the url. I just basically want to be able to stop when my main drive is full and then move the files to an external, and restart the url again to check for the past missed errord urls or check for missed files and dl to the new hd path. Does -D or -d just change the directory path, and then you need to use gallery-dl https:// command or is it supposed to work on a per url per url basis? I know there's a base directory command, but I don't want to change that, I just want to use a specific directory for one url, that way I can check for the 404 links from a gallery on a much larger hdd. Going to be downloading into an hdd from now on, but I just learned about this -d command, I just can't get it to work per url. Not sure why. Url works fine and the drive path is active.
Anonymous No.105795199
>>105795145
Also another question, is there a way to make it check if a file is missing on a completly different folder? Let's say I dumped 2-3 of the same galleries into one, and one of the gallery links I downloaded has been updated and I want to run it to check what's already there or not, is there another command to get a more specific directory folder with a particular url? Like let's say "D:\Imgur\Art (rSfHk)", even though the url's folder isn't that one, but its original files from the first download are in that folder, can I target it specifically to check for dupes/missing files in there and bypass the whole creating another "\Imgur\Art (rSfHk)\Imgur\Art3 (TyNkO)" subfolder mess or what ever? Basically I'm stumped on those two questions, -d gives me an error tells me arguments are required: URL and I want to know if it's possible to check a url's dupes/missing files on a folder name that does not match the gallery name from the url.
Anonymous No.105795756 >>105795768 >>105795844 >>105797297
https://github.com/mpv-player/mpv/pull/16499

nupv shitstorm in 3, 2, 1...
Anonymous No.105795768 >>105795873
>>105795756
nibble nanahi delicate nipples
Anonymous No.105795844
>>105795756
He valid. I already said it in here ages ago. That option only makes sense for images.
Anonymous No.105795873
>>105795768
nanahi and ikadev are same person. So you're masturbating to a troon.
Anonymous No.105795880 >>105795923
Ikadev works on playlist support for ***tube >>105793974 and coincidentally we have a playlist related PR from nanahi.
Anonymous No.105795909 >>105796025 >>105796079
TTD
Anonymous No.105795923 >>105795973
>>105795880
Reaching. Ikadev is Vietnamese and Nanahi is from somewhere in South America.
Anonymous No.105795973 >>105801150
>>105795923
There were many signs it's true and while there can't be definitive proof as time goes on there are only more signs confirming that it is the same person.
Anonymous No.105796025
>>105795909
Anonymous No.105796079
>>105795909
i want a girl to snuff (in fantasy)
Anonymous No.105796093
play video games with nanahi
Anonymous No.105796231
>>105791306
>I'mma just use this one and tweak where needed
That's exactly what I said. :)
Anonymous No.105796234 >>105801241
>>105793407
hi frens. very big update for my yt-dlp front end.

https://bunkr.cr/f/90NPIwTY4kH5V

Added yt-dlp regex support. Dedicated tab with a input box for manual input and dropdown menus for xommon regex.

Reworked subtitles. Made a dedicated tab for it with a dropdown box to select language you want the subtitles to be in.

Added a playlist tab to manage playlists. List videos in a list and select which videos from the list you want if you don't want all of them.

Also added an option to download only the audio.
Anonymous No.105796622 >>105796674 >>105796848
use case for updating daily?
Anonymous No.105796674
>>105796622
When one has free time, one should work on the hobby they love. Daily updates keep the excitement going, bringing much joy and happiness.
Anonymous No.105796846 >>105799867
>>105770015
i will gladly use mpv as image viewer if it has tabs
Anonymous No.105796848
>>105796622
When you update daily you are able to say it worked fine on Monday, broke on Wednesday and the shit really started to hit the fan by the weekend.
Anonymous No.105797154 >>105797421
Is there anything to use to listen to music from youtube?
That's not mpv or freetube?
Anonymous No.105797297
>>105795756
base, better default
Anonymous No.105797421 >>105797443
>>105797154
https://music.youtube.com/
Anonymous No.105797443 >>105797546
>>105797421
Yeah, is there an application I can use instead of the web browser?
Anonymous No.105797546 >>105797572
>>105797443
no. grow up you contrarian freetard.
Anonymous No.105797572 >>105797578
>>105797546
>muh web browser is everything
Anonymous No.105797578 >>105797589
>>105797572
grow up.
Anonymous No.105797589
>>105797578
get real
Anonymous No.105799367
my wife is so cute
Anonymous No.105799649 >>105799667 >>105799748
# PASS 1 (Analysis)
ffmpeg -i input.mp4 \
-c:v libvpx-vp9 \
-b:v 510k -minrate 0 -maxrate 0 \ # Target bitrate
-vf "scale=480:-2:flags=lanczos,setdar=16/9" \
-threads 4 -speed 1 \
-tile-columns 0 -frame-parallel 0 \
-auto-alt-ref 1 -lag-in-frames 15 \
-g 120 -aq-mode 2 \
-pass 1 \
-an -f webm -y /dev/null

# PASS 2 (Encoding)
ffmpeg -i input.mp4 \
-c:v libvpx-vp9 \
-b:v 510k -minrate 0 -maxrate 0 \ # Match pass1
-vf "scale=480:-2:flags=lanczos,setdar=16/9" \
-threads 4 -speed 0 \ # Slower for better quality
-tile-columns 0 -frame-parallel 0 \
-auto-alt-ref 1 -lag-in-frames 25 \
-g 120 -aq-mode 2 \
-pass 2 \
-c:a libopus -b:a 40k -ac 1 -vbr off \
-fs 3.98M \ # Final size guard
output.webm

I asked deepseek to spit out the max quality VP9 settings for a 1 minute video. And this is the output. Any anons have suggestions?
Anonymous No.105799667
>>105799649
>I asked AI#7286451...
stopped reading there
Anonymous No.105799748
>>105799649
stop posting. go away.
Anonymous No.105799867
>>105796846
This would be brilliant for flicker tests between a reference image and a lossy one if it also matches zoom and position between tabs with a keybind. Also for video with time sync between tabs. In the case of video flicker tests it would save me the time of opening multiple mpv instances on different workspaces to get that effect
Anonymous No.105800697 >>105800871
>>105770015
RAM usage to view one shitty image:
MPV - 200mb
Irfanview - 25mb

Yeah i think i will stay with normal image viewers.
Anonymous No.105800871 >>105801077
>>105800697
What difference does this make to you? Think for a second, stop looking at the numbers, and tell me what difference does it make?
Anonymous No.105801077 >>105801175
>>105800871
It's more resource hungry and doesn't have half of the features present in average image viewer. It's simply not designed to view images. God i hope you are not a dev.
Anonymous No.105801150 >>105801293
>>105795973
***dev deleted >>105793974 now. suspicious.
Anonymous No.105801175
>>105801077
It does fundamentally different things than a classic software based image viewer. It also loads more slowly. However, saying that 200MB is a dealbreaker in this day and age is petty and not really valid. That’s not to say resource optimization isn’t important, but 200MB is negligible.
Anonymous No.105801241
>>105796234
happy freedom day frens.

https://bunkr.site/f/LESNoob9yEQ5p

I reworked playlist to make it more intuitive. Now you can either download the entire list or select which ones from the list you want to download with a simple checkbox list!

Subtitles also now allow to select more than one language and an option to include all languages.
Anonymous No.105801293
>>105801150
The ffmpeg/yt-dlp frontend guy, the file of >>105766556 and posts of several other persons were deleted too for no reason. Looks like some new mod/janny on /g/.
Anonymous No.105801307 >>105801364 >>105801544
It's being moderated because it's a actual general lmao.
Anonymous No.105801364 >>105801544
>>105801307
>t. janny
It’s well known that mods/jannies camp certain generals and it seems that this thread recently got one too.
Anonymous No.105801544
>>105801307
>>105801364
if the thread was actually being moderated then the person who keeps asking open-ended questions with 3dpd softcore porn would be banned already
Anonymous No.105802830
>>105795145
Be awhile before release but i started.
Anonymous No.105802876
>>105765875 (OP)
Not strictly a yt-dlp question. But I want to learn when a YouTube channel was terminated. SocialBlade used to provide this data. But not anymore it seems. Is there some method to learn when a channel was removed?
Anonymous No.105803146 >>105803199
>>105765875 (OP)
Is there a turboretard version for windows that have al the goodies? I don't even know where to put those code lines.
Anonymous No.105803199
>>105803146
https://github.com/hooke007/MPV_lazy
Anonymous No.105803570
>bind Ctrl+y to copy
Anonymous No.105803576 >>105803831
I get error 403 on youtube livestreams now
Anonymous No.105803831
>>105803576
works for me
Anonymous No.105805474
Anonymous No.105806665
mpvos