mpv ffmpeg yt-dlp magick qimgv
Discussion of the best cross-platform video consumption and production stacks.
>>105561324 (OP)Anyone know how to fix this? Their suggestion works maybe for an hour.
$ mpv 'https://www.youtube.com/watch?v=j9L_MO'
cplayer: Auto-loading profile 'protocol.https'
auto_profiles: Applying auto profile: Youtube
ytdl_hook: ERROR: [youtube] j9L_: Sign in to confirm youโre not a bot. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies
ytdl_hook: youtube-dl failed: unexpected error occurred
cplayer: Failed to recognize file format.
cplayer: Exiting... (Errors when loading file)
Let it be reminded what anime brought to this thread:
>homosexuals, trannies, pedophiles and other kinds of mentally ill freaks
>excessive porn dumping + deviant fetishes what only a porn addict can develop, creating multiple generals dedicated to gooning
>"circlejerk culture": blogging, grooming, injecting private server members into the thread
>endless necrobumping and spam for control of this board thus obliterating any chance for organic OC to sprout, effectively ending high quality posting as well
>unnecessary racebaits and racewars fueled exclusively by porn addiction
And so much more...
Been using this for anime watching for almost 5 years. Need a change?
[anime-gpu]
profile=gpu-hq
hwdec=auto-copy
scale=ewa_lanczossharp
video-sync=display-resample
my gf makes fun of me for using mpv and ffmpeg :(
>>105562196>my gfIs she local or in the cloud?
mpv is a keylogger? https://github.com/mpv-player/mpv/discussions/16446
>>105563653sending all your erotica to guido!
>>105563837he never responses :(
>>105562044That's a very cute GIF, sweetie! :3
>>105562196Your left/right hand isn't your girlfriend, you butt hurt silly boy! ;p
Your "girlfriend" isn't even real.
>>105562256Read above!
>>105562044doing your part
>>105562044What's the solution? This has been porn general for a long time, remember barphog?
Ikadev and his tranny fanboying blogging friends must go
>>105569209Ikadev fucks niggers and yearns for BBC daily.
How to watch webm when 4chan uses cloudflare to block mpv?
>>105571444https://github.com/noctuid/gallery-dl-view
How to get better audio from my shitty mic with ffmpeg?
There's this high noise that's just static or high gain? I don't know what to call it.
I just want slightly clear audio.
>>105571476Is that Natalie Mars?
>>105571459Why can't I simply mpv <url_to_webm>
>>105571567>bakaThat doesn't work.
>>105571476afftdn or arnndn depending on type of noise
best 2pass settings for making webms for 4chinz?
>>105571667>afftdn or arnndn depending on type of noiseI tried both
https://youtu.be/B_qKiSWZJ8o?t=163
It's like in the video but even worse.
I tired this and I can still heat it.
highpass=f=300,lowpass=f=7000,asendcmd=0 afftdn sn start,asendcmd=3 afftdn sn stop,afftdn=nr=50:nf=-30,equalizer=f=100:t=q:w=1:g=-10,equalizer=f=10000:t=q:w=1:g=-10,volume=3dB,alimiter=level=true:limit=-3dB
>>105571921https://github.com/chameleon-ai/webm-for-4chan
>>105572038looks good anon will try.
>>105572357https://desuarchive.org/g/thread/103297650/#q103339598
ac-4 merged in librempeg. Why are you still using ffmpeg?
profile=high-quality
Rate my config.
Since when llyyr trooned out? Poo posting girlcockx.com links on Discord
>>105572038maybe add -lag-in-frames 25 and -auto-alt-ref 1 arguments to improve quality?
>>105573157Wow
Did not see that one coming!
>>105572911qrd on librempeg?
I wanna record something live to a file with ffmpeg/obs with nvenc
and then use mpv to play that same file back at almost live low-latency
are there some obs/ffmpeg settings to make it easy for mpv to just seek to the end of the file and play from there?
the file with default settings does not have a duration during recording
and there is a bunch of buffering so it ends up like 30s delay
there no networking on the recording end just a writable shared folder
>>105574917can't you run it at the same time?
>>105574952the file gets written to in buffered chunks so it is at least a bit behind by default
and seeking is kind of flaky
(I can seek in minute-chunks with the up-arrow but if I go too fast/far it gets stuck and does not easily recover to playback - or if it does it takes a while)
maybe if there is a setting to make the output file seekable while it is being written to
it could be a container format thing - I use mkv right now
>>105575009try mov atom to the beginning?
>>105575060does not that just cause it to be written at the beginning after the encoding is over?
I am playing the file back while it is being written
sortof like a bootleg stream
>>105565378>use catrom>>105565378>use catromThanks frens. Will do.
should I stop doing -deadline best?
>>105575780yes
do good instead
Any idea how to freeze the window size when playing a playlist of videos of various resolutions?
is there a way to open multiple mpv windows at once on mac?
>>105576095>is there a way to open multiple mpv windows at once on mac?yeah, just use
mpv --new-window /pathviid.mp4
Or make a bash script:
#!/bin/bash
for file in "$@"; do
/usr/local/bin/mpv --new-window "$file" &
done
and then save it somewhere and associate it with mp4/mkv etc.
You can also use Automator to make an actual .app that you can place into /Applications and assign an icon to that will do the same:
Application -> Run Shell Script -> Set "Pass input" to "as arguments".
for f in "$@"
do
open -n -a "mpv" "$f"
done
You might need "--new-window" there. Experiment.
>>105576095>>105576293isn't this the default behavior?
>>105576095>>105576293Oh, I see someone else was doing the same thing with Apple Script: https://albertnetymk.github.io/2015/10/16/multiple_instance_maxos/
Not sure if Apple Script is still well supported on new macOS...
>>105576310>isn't this the default behavior?Not sure. I always used a shell script when I was on Mac.
>>105576293Thanks chatgpt, but there is no "new-window" arg.
>>105576095Multiple windows goes against Akemi's wishes.
https://github.com/mpv-player/mpv/discussions/16454
yt-dlp's terrible default for streaming claims another victim!
>>105577189Thats a well known issue. It hasn't worked properly for well over a year. It's due to YT fucking around and preventing non-official players from playing content.
>>105577208yt-dlp's default are speed throttled when playing with mpv and other formats had problems with seeking broken with vp9 m3u8 for a long time
the default format for my youtube client has always worked and isn't throttled
>>105577354>the default format for my youtube client has always worked and isn't throttledCan you post the setting you use?
Also, how do you get past the "Sign in" issue? I can't watch any YT video without being logged in. And doing it through yt-dlp sounds like a pain.
>>105577381>Can you post the setting you use?the default is ios_hls extractor and 1080p60 video format
>Also, how do you get past the "Sign in" issue?get a better ip
>>105577537>the default is ios_hls extractor and 1080p60 video formatThanks. I prefer the 4K stream because of my monitor.
>get a better ipI'm pretty sure it got restricted because I was playing YT exclusively through mpv for years.
>>105577661>Thanks. I prefer the 4K stream because of my monitor.if your mpv uses ffmpeg master you can change the video format to 2160p60_vp9 which gives 4k vp9 stream without throttling
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/380a518c439d4e5e3cf17b97e4a06259e8048f99 fixes the vp9 seeking problem but it's not in any ffmpeg release version yet
>>105577690Nice! TY again.
Redpill me on SoX vs ffmpeg for editing audio files
>>105577929>editingspecify
Is there no way to bypass YouTube restricted videos by downloading through yt-dlp? I don't want to sign in to YouTube to watch a video.
>>105577997most advanced thing i want to do is a limiter to catch peaks on my recordings
>>105561324 (OP)is there no way to fully load the subtiles? in some mkvs I have, the ctrl-right keybind to go to next subtitle only works if its within 2 seconds of the next subtitle. if there's a long pause, it wont work. I'm assuming mpv isnt loading all the subs right away. .......while waiting for the captcha, i see what it says in the man page. there's really no way to get around this?? i might just have to extract the subs, but thats the whole point of the mkv. ugh
>>105578483>>105579231lots of "is there no way?" in this thread
mpv is broken with gpu-next, it's over.
>>105579050Generally speaking both works but librempeg better
>>105581181gpu just works
I'm trying a Wayland-based Linux distro and I'm wondering what the ideal mpv settings are for Wayland. I know that for X11, you have:
vo=gpu
gpu-context=x11
What's good for Wayland? Something like this maybe"
vo=gpu
hwdec=auto
hdr-compute-peak=no
>>105578434ffmpeg.exe -i ed.mp4 -c:v libx264 -preset veryslow -crf 20 testh2.mp4
speed=1.02x
ffmpeg.exe -i ed.mp4 -c:v libx264 -preset slower -crf 20 testh2.mp4
speed=2.08x
ffmpeg.exe -i ed.mp4 -c:v libvpx-vp9 -cpu-used 1 -crf 30 -b:v 0 testvp9.webm
speed=0.272x
ffmpeg.exe -i ed.mp4 -c:v libvpx-vp9 -cpu-used 1 -row-mt 1 -crf 30 -b:v 0 testvp9.webm
speed=0.529x
Is there a way to change the path of (network) cache?
i havent updated my mpv since 2021 i think.
is there anything i should immediately change upon updating? i'm also on a 21:9 if that matters and have 2.0
speakers/headphones system. nvidia 3080, amd 5800x3d. don't really watch anime, just movies
conf:
ontop=yes
profile=gpu-hq
vo=gpu
alang=jpn,eng,pol,chi,kor,por,ger,ita,fre,swe,ind
audio-channels=stereo
audio-normalize-downmix=yes
audio-pitch-correction=no
softvol=yes
softvol-max=200
slang=eng
demuxer-mkv-subtitle-preroll=yes
autofit-larger=95%x90%
autofit-smaller=50%x50%
keep-open=yes
keep-open=always
screenshot-format=png
#save-position-on-quit
cache=yes
demuxer-seekable-cache=yes
demuxer-max-bytes=2GiB
demuxer-max-back-bytes=1GiB
osc=yes
osd-bar=yes
volume=75
>>105592599osd-fractions
and they changed the scaling of subs recently-ish so if you like the old/current ones these are pretty close to the previous configs
osd-font-size=55
sub-font-size=55
sub-outline-size=3
osd-outline-size=3
sub-margin-x=25
sub-margin-y=22
osd-margin-x=25
osd-margin-y=22
https://github.com/mpv-player/mpv/commit/8c3a7da6196c5de401463b71396aa6e0e1f6b924
>>105592907Thank you, I really appreciate that sub config
>>105593033generate script
>>105593033mpv --geometry=1280x720 *mp4
>>105589468there's a whole tribe of those niggas but I lost the other webm where they try to open a coke between 4-5
>>105593033what you're looking for are conditional profiles, now you owe me the name of that pit whore
>>105593164>>105593169What script?
>>105593189It doesn't work that way.
>>105593256Useless reptile.
>>105593422>conditional profilesHow does this even help?
> name of that pit whoreI'll give you even more
>>105593581we're not your LLM, faggot
>>105593610>trusting LLM with lua
>>105593617you're not even trying to solve your problem, just waiting for the spoonful like a baby with your mouth open
I'm telling you where to look in the manual, you want the explicit solution to that you're gonna have to look for it elsewhere, cunt
>>105593033keepaspect-window=no
>>105593818No man I tried this before.
I'd file a bug but github now require verified account to post bug report.
You can reproduce it this way
>start a local play list of files of various resolutions with set geometry>like mpv --geometry=1280x720 /path/to/dir/*>change the window size>when the next file play, the window change it's dimension and doesn't stay the same.>>105593660No man.
You don't understand and believe AI would solve a problem when it's just a way that regurgitate force feed nonsense in a way that make people with low IQ believe in singularity.
And if it's as easy as you said, please ask your AI god to procure this magical lua script.
>>105593581>Useless reptile.Does that not freeze the window size?
>>105593888works on my machine
>>105594252anon, change the window size.
like go to the corner/edge and drag the window.
Assuming you're using floating window.
profile=gpu-hq
scale=spline36
cscale=spline36
dscale=mitchell
dither-depth=8
dither=fruit
correct-downscaling=yes
linear-downscaling=yes
sigmoid-upscaling=yes
deband=yes
deband-iterations=4
deband-threshold=48
deband-range=16
hwdec=nvdec
vo=gpu-next
gpu-api=d3d11
interpolation=yes
tscale=oversample
video-sync=display-resample
osd-bar=no
osd-font-size=20
osd-font='Source Sans Pro SemiBold'
osd-color='#CCFFFFFF'
osd-border-color='#DD322640'
fullscreen=yes
cursor-autohide=100
save-position-on-quit=yes
screenshot-format=png
screenshot-high-bit-depth=yes
How's my config? It's for movies and anime.
>>105593581>It doesn't work that way.?? yes it does
it plays all videos in the list at that resolution
>2025
>still stuck with shitty .ass format for subtitles
What the fuck. When better formats have existed for decades now. I swear this shit is only allowed to continue existing because the fansub community is now dead and the only people left are ESLs and balding fags that don't know how to do anything but use decades old software to produce "softsubs" that murder CPUs.
Then they cry and if you hardsub the fucking signs like a responsible person
>>105594786What's better?
Is it me or youtube is throttling yt-dlp? When I try streaming youtube in mpv some videos buffer so slowly. It only started happening recently. VPN doesn't help so I don't think it's my isp doing it. They play fine in browser too.
>>105595900It's fine here, i just watched a 12min 4K video, there wasn't any buffering and read ahead cache was plenty
>>105595900>>105596002yt-dlp is defaulting to a format that is known to be throttled to 2x of average bitrate when played with mpv which makes it a terrible default for streaming and constant buffering for videos with large bitrate variations
not a problem with my own youtube client which defaults to non throttled format
Is mpv still a good webm maker?
Years back I got a mpv webm script. But I've noticed these days it's really slow to work. What's a good tool these days on Windows to make webms, or is there perhaps a new script?
>>105596018I'm not going to install your undocumented closed source shit on my system, man... no matter how cute or cool it looks you're a complete random person on 4chan and I would be insanely stupid to trust my machine with your mistery program.
>>105596070This so much this.
>inb4 wireshark to monitor connectionsFlawed.
>>105596070nanahi is not an open source slut
>>105596070there are many posters who recognize me and use my programs so i'm far from "complete random"
hands
md5: 996e8f37972be3502995c1655b71f4e7
๐
>nanahi is not an open source slut
>>105595007TTML supports vector graphics and is much better in every other way
I'm using auto-copy, is that fine? I need it for dynamic-crop for my ultra wide and thumb fast. I have a 3080 if that matters
>>105596294Literally who? I have common sense installed on my computer that knows executing fuckin' unknown programs from mysterious strangers is retarded. How come I haven't seen this on Reddit, Mastodon, HN, etc? Why isn't this distributed on flatpaks, snap, xbps, etc? Sorry, I don't see myself as a Messiah. Why should I exactly trust if source isn't available. FUCK your samefagging tranny delusions. YWNBAW.
>>105596601Your "common sense" simply doesn't work when 99.9% of "open source" code are under no eyes and not inspected upon, which are no different from closed source code. You only come to real sense when supply chain attacks happen deep into the dependency chain no one cares to look into, which are so frequent nowadays with mirco dependencies made by "mysterious strangers" and situations like xz.
The whole free/open source argument is retarded anyway. Game modders modify and distribute closed source programs all day without problem as long as the game developers don't care to take down. It is all about licensing and legality rather than ability, but people like you who lack technical know-how think it the wrong way.
>>105596776you can't name a single good reason why your software's source code isn't available
>>105596601>How come I haven't seen this on Reddit, Mastodon, HN, etc? Why isn't this distributed on flatpaks, snap, xbps, etc?i'm not interested in posting it in these places
but my youtube client is posted by someone on nsane forums on software updates board where many other popular software are posted so it's not unknown
>>105596601I really hope this is bait.
>>105596959You are a bit of a faggot. Most avatarfags are.
What are our thoughts on --scale-antiring? Is it endgame with ewa_lanczossharp?
>>105581181my audio demuxer = wm4'd
my renderer = spaghetti'd
my decoders = worse than gstreamer
thoughts on berkeley software distribution builds
>>105561324 (OP)mpv fucking sucks
shit pulls double the watts that VLC uses
>>105596825But I'm a GUI babby anon
>>105597125profile=fast
hwdec=yes
>>105597099there are too many bsd versions so i have to build for all of them separately unlike linux where i can have one build for all distros
also i don't use bsd daily right now so no plan for bsd builds for now
you can use the linux compatibility layer on freebsd
>>105597016>my audio demuxer = wm4'dStory?
>>105597205i think it would be very beneficial for openbsd
>>105597260wm4's last sabotage to the project before he left
fixing mpv's audio requires rewriting the whole player, which is a herculean task that no one except wm4 himself could accomplish
>>105597265thought about it and i would need to make an audio output backend for my music player
do you use openbsd
>>105597205>i have to build for all of them separately unlike linux where i can have one build for all distrosDoesn't pkgsrc solve this?
>>105597332>do you use openbsdnot yet
>>105597205Sorry. Not running anything on OpenBSD that isn't from ports and has had pledge+unveil added.
>>105596285Nanahi is a blacked owned hoe, shit is hot.I also like it from the angle of like slut punishment. Getting revenge and punishment for being a coalburner, spanking her ass to brand them with spades and leaving her in the gutter to catch more nigger dicks. Rinse and repeat, white boys lost.
MPV is gigadogshit and I don't know why or how you guys memed me into using it for so long
>>105594755What?
what's in your config?
Any script because this is not how it works for me.
See webm.
When I change the location and the size of the window, it doesn't persist when playing the next file.
>>105594252>>105594755>>105598847your shitty webms dont play on safari, make mp4 losers
>>105599128Got to your containment thread, iToddler
>>105597004I prefer pixelclipper since it works with downscaling.
pro coomer window settings:
border=no
auto-window-resize=no
keepaspect-window=no
panscan=1.0
>>105594755semi-pro coomer (panscan=0)
>>105598847noob coomer (border=yes, keepaspect-window=yes)
>>105599597>noob coomer (border=yes, keepaspect-window=yes)Didn't work man.
And I'm using xfce as well.
The window size don't persist across different files.
if i want to create a video from multiple clips, is that possible without reencoding and losing quality? my source clips aren't high quality, and they might come in different formats as well
>>105599716only if it's in the same format/encode/size
>>105599619The only things I know for that are
auto-window-resize=no
or this script called fixed-geometry on github
I'm using an older mpv because the most recent one I tried doesn't behave the same with window resizing.
>>105599749Maybe it's because the older version.
In the latest version this behavior can't be replicated like you did.
Also this is what i found in the github
https://github.com/mpv-player/mpv/issues/3872
No script at all.
>auto-window-resize=noDidn't work
I had ai write a script for me that makes a bookmark of the current video and position I'm at and then I can press another key to load that video and position later on. I didn't need anything fancy. That's all I need whenever I update and need to restart my computer. I just get back to where I was in the anime with ease.
>>105600374Shift+Q, or --save-position-on-quit
Retard AI.
is it possible to use mpv on services like crunchyroll and netflix
>>105600400>Retard AI.This
I can't understand how some people that browse /g/, suggest AI as an answer for a problem.
It's LLM at best, it can't even imitate humans.
Only low iq get filtered by ai posting.
>>105600400>Shift+Qokay, that saves the current position when I quit, but when I relaunch mpv it doesn't automatically open the video the again. I don't want to have to keep track of which episode I was on. Which, prior to this, I'd write down the number in Notes. AI is a powerful tool. Instead of searching for a script that suits my needs. I had AI write it exactly how I wanted it to work.
>>105600434I could've written the script myself, but it would've taken sometime and I would've had to search for API functions. AI is just quicker for simple things like this.
file
md5: 6d5dc794009e2d147158e91bd949dd16
๐
Greetings,
I've had
R vf toggle hflip
in my mpv.conf for years but it stopped working some time earlier this year. I used it to flip videos horizontally because many ASMR girls shoot videos with the front facing camera and upload them mirrored which is annoying.
It registers the keystroke and it even says video filter hflip [] but then nothing actually happens. Any idea why this is?
Thanks,
Anonymous
>>105600459>in my mpv.conf* input.conf
>>105600449>I could've written the script myself, but it would've taken sometime and I would've had to search for API functions. AI is just quicker for simple things like this.Noู it's not.
If you use AI to write script you realize how stupid some of the lines, that can be done with just reading proper book.
AI slop is best to fool boomer into writing his gay erotic novel.
hflip
md5: 6f7fa6ba24d1534a2d77fa45e07adef7
๐
>>105600459the filter now only work with software decoder.
So you switch to software decoding, or use the copy version of the decoder.
>>105600483Thanks for proving my point that only idiots believe in AI as an answer to everything.
>>105600498I don't think it's the answer to everything. I always take what AI says with a grain of salt, but it's just as valid of a second opinion as a random google search.
>>105600483That syntax doesn't work, I had to change it to
R cycle-values vf hflip
And now it works. Thanks. But why do software developers need to break functionality every now and then? Feels like MPV is on Firefox level.
>>105600553and why would you reply with that image. frogslop avatar nigger?
>>105600553You're full of shit.
That syntax is deprecated .
And no longer work.
>>105600553lol that doesn't work even if you think about it a little. What values are you cycling between? hflip and... your ass?
>>105600449>when I relaunch mpv it doesn't automatically open the video the again. I don't want to have to keep track of which episode I was on.How do you normally start watching then?
>>105600836It's slow and it's something that I've begrudgingly put up with until now. I'd open the file browser and navigate to where it is on my media ssd and launch it.
Is there any way to show playlists like VLC does in a docked view?
>>105600900Where what is, the media? And you "launch" the media? But then it would only play one file, right? What position are you saving then? And you never switch to a different show?
>>105600925come on now, it should go without saying that we all use autoload.lua. How else are you going to watch an anime series?
>>105600943I use Taiga, and if I want to load a directory I just point mpv to that directory. But okay, I guess that works if you only ever watch 1 show.
>>105600449mpv has a feature that lets you show all the videos you quit watching with shift+Q and select which one you wan to resume watching
https://github.com/mpv-player/mpv/blob/master/DOCS/man/select.rst?plain=1#L105
>>105601016Not that anon, but just trying that now and it's a bit too destructive with the saved position. Normally I just use the --save-position-on-quit option manually if I watch a longer video over multiple days. It doesn't seem to save that option so quitting it normally after loading via that script doesn't save position. Also changing to a file via that script doesn't save the position of the current file.
This all seems intentional, and features of the --save-position-on-quit option (doesn't save when going to the next in a playlist, watch-later-options only saves options that changed since when mpv started), but for me it'll probably annoy me more than be useful. Most could be fixed by me just using shift+Q instead, but I'm retarded and know I'll forget sometimes, and trying to find the position again just once would be more annoying than being able to find it with that script.
Can we ban anime on /g/ completely?
>>105597296>>fixing mpv's audio requires rewriting the whole player, which is a herculean task that no one except wm4 himself could accomplishthat's overestimation, but indeed even wm4 didn't manage to fix the audio code. Full rewrite would be needed, but there are dozen of different AOs so not easy to do it.
only thing audio needs is dropping buffers and refilling with new speed when speed changes so video frames dont drop
>>105599128itoddlers can't play profile 1 full chroma VP9? I'm adding this to my encoding script
>>105603817Better call dudemanguyfellowchumladgeezer
>>105599128when i was a itoddler i used vlc to open and watch webms but you probably want to use outplayer instead
>>105602272just the avatarfags
i don't mind anime at all
>>105598847This script, combined with --auto-window-resize=no and --geometry, forces my mpv to behave as it should, by removing the value of the geometry property after a window is created. Windows that are created after startup, e.g., by cycling video tracks, reuse the initial value of geometry.
local initialgeometry = mp.get_property("geometry")
local function fixgeometry()
-- mp.command("show-text 'geometry cleared'")
mp.set_property("geometry","")
return
end
local function function2(_,osd)
if not osd.w or osd.w <= 0 or not osd.h or osd.h <=0 then
return
end
mp.unobserve_property(function2)
fixgeometry()
end
local function function3()
if initialgeometry ~= "" then
mp.set_property("geometry",initialgeometry)
end
mp.observe_property("osd-dimensions","native",function2)
end
mp.observe_property("window-id","native",function3)
>>105604281Thanks.
This worked.
It respect the window position and window size now.
However, it forces the original window aspect ratio to the new files as well.
If I'm making myself clear.
You need to add this
keepaspect-window=no
Thanks btw.
>>105603817>>105603999>pause video>mute audio>play video>audio plays for a split second before actually mutingembarrassing
>>105600943>come on now, it should go without saying that we all use autoload.luaoutdated and slower than the built-in solution
>>105604959not on ao=pipewire
>>105605022are you retarded
im going to create libaudphile, split it from the project, then use ao=aud-next. it will have glue code for all of the current audio drivers and provide superior sound quality
>>105605035Good argument, I'm convinced.
>>105605069make soxr resampling default
>audio underruns
>earrape audio crackle until audio sync catches up
this is why no one uses mpv
mpv is one of /g/'s greatest psyops. VLC doesn't have any problems seeking with youtube. VLC doesn't require lua scripts to hack around broken functionality. VLC has a proper UI instead of menus created out of subtitles. VLC can cast videos to your TV so you aren't watching on your XGA Chinkpad.
>>105604959Can't repro here, so probably not core audio issue
>>105605082Kek
>>105561324 (OP)>qimgvDid that dude die? hasn't updated in years
>>105605983Nvm I can repro it. So if you just remove track it doesn't happen but if you use 'mute' command/option it's reproducible lol, sad really
>>105604959Replace mute with a lua script that turns volume to 0.
Where can I download an mpv v0.40.0 Windows binary? Not a nightly build, I already have that.
>>105605022Why would ao make any difference for muting? The muting is done on the player-side, not server-side.
>>105606266kek mpvfags really need to script for a functional mute button
>>105606791>>105604959pausing mutes from the server side without flushing buffer
https://github.com/mpv-player/mpv/pull/13784
usecase for muting audio?
>>105606833Another commit by the chink that fucks things up. I warned Akemi not to hook up with this guy but she didn't listen.
>>105597960https://github.com/X11Libre/xserver/issues/130#issuecomment-2974267237
>>105606833this shouldn't effect core audio though
>>105606059
>>105604281Thanks that script resolved my issues with v40.0 messing with the window size.
>>105606833Doesn't look like audio-device=jack is affected
>>105606833Works fine on Windows.
do you use a "thumbnail on timeline" script?
>>105596340ok so how do i author such TTML subs and play them back later
>>105615751Whoa whoa whoa you weren't supposed to ask those questions
>>105615928link? all i see is watches
>>105615751just say you're lazy and don't want to learn anything beyond simple aegisub scripting. if you had ambition you would've made your own tools already
>>105616232well yes, im busy making subtitles with the very good existing tools
>write your own ttml editorshall i take that to mean there are no good existing ones then
Does anyone know why pausing a video would make the output black sometimes and not others?
If I pause, it goes black, but if I seek while paused it shows the frame.
Why
>>105615928End your fucking life tranny
How old is Paul? He is pretty based for a boomer.
fucking finally...
screenshot-template = "%x%F/%f-%P"
>>105592599Since nobody really answered. It's been a while since I read the manual or tweaked anything but:
vo=gpu-next
profile=high-quality
gpu vo isn't maintained and gpu-hq is deprecated. gpu-next brings a lot of benefits. tone-mapping, performance, accurate filters, etc.
screenshot-tag-colorspace=no
screenshot-high-bit-depth=no
This will reduce the file size and increase compatibility with image viewers. As far as I remember, this is how to behaved before since one was disabled by default and the other was broken.
audio-normalize-downmix=yes
This is enabled by default and can be removed.
softvol=yes
softvol-max=200
softvol option has been removed and is now the default behavior. softvol-max was replaced with volume-max, so you should update that.
demuxer-seekable-cache=yes
This should not be set unless you know you need it for some reason. The default is auto and it is enabled when `cache` is enabled.
osc=yes
This is the default and I don't really see any purpose in being explicit about it in your config lol.
I'm using mpv to preview long unedited raw audio. Is there a way to display a waveform of the whole audio file so that it lines up with the timeline/progress bar? Seeing the peaks would be very helpful to find important parts of the file. I was thinking of using ffmpeg to generate a temporary waveform file, but that would add time to loading and won't necessarily line up.
>>105592599>>105618934>screenshot-tag-colorspace=noscreenshot-high-bit-depth=no
>This will reduce the file size and increase compatibility with image viewersIt will also make some of your screenshots look wrong (bt601 to bt709) and introduce banding (less bit depth). If you want accurate screenshots delete those lines. If you want small and accurate change format to jxl effort=7 distance=1 (visually lossless).
Anybody have a screenshot script that removes spaces/weird characters from the filename?
>>105593033Should I save it? Looks like a man
>>105619061you don't know what you're talking about
neither of those options effect jpg screenshots, and for pngs the behavior you're describing isn't even accurate. it will convert the image to srgb (preserving tonemapped color) and dither the image to 8-bit (no banding, but lossy conversion for HDR content).
>>105619144>neither of those options effect jpg screenshotsyou're right
>for pngs the behavior you're describing isn't even accuratewrong, `s` png screenshots are not accurate in the absence of color tags if the source is bt601
Does anyone have any extensions or open source github scripts for mass/bulk downloading from bunkr?
>>105561324 (OP)Is there a fix to Google Video returning HTTP/403 randomly and causing mpv to exit?
>>105561800Seeing the same thing, Cookies do work but Mpv will disconnect once Google wants you to fuck off. Is there a way to get Mpv to re-do the yt-dlp command again instead of exiting and only exit if the video/stream has ended?
[ffmpeg] https: HTTP error 403 Forbidden
[ffmpeg/demuxer] hls: keepalive request failed for '[REDACTED_URL]' with error: 'Server returned 403 Forbidden (access denied)' when parsing playlist
[cplayer] Set property: speed="1" -> 1
[cplayer] Set property: speed="0.9" -> 1
[ffmpeg] https: HTTP error 403 Forbidden
[ffmpeg/demuxer] hls: Failed to reload playlist 0
[ffmpeg] https: HTTP error 403 Forbidden
[ffmpeg/demuxer] hls: Failed to reload playlist 0
>>105620038No because they'll send you the same response if you try again so soon
>>105620073Is there a way to programmatically handle this even? Would I have to fork the lua hook to make it try again? I don't care if it's suboptimal and not suitable for production use, just something I can use for myself.
>>105619141That means I'm gay.
> Iโm offering 800 EUR per 10% gain from current baseline, up to 50%/4000 EUR.
>PATCH v4 00/13
meanwhile libplacebo is abandonware. Grim.
>>105620466Get that bag, king
i was able to concatenate clips that all had the same encoding, using ffmpeg's concat
but now i want to add some extra stuff that might have differing settings, tried my best to encode it with the same settings as my main clip. in the output, the new clip won't even show up. what should i do?
>>105577189>>105577354isn't this basically all that's needed to fix that?
ytdl-raw-options=format-sort="proto:m3u8,codec:avc"
>>105620518You can't replicate settings 100%
>>105620567can i concat my main clip with extra clips without reencoding the main clip? extra clips i dont care about
>>105577354yt-dlp contains some range request hack to speed up downloads. It's YouTube that does the throttling and Mpv has no way to workaround it. I've seen some clever use of proxy servers that can "accelerate" things.
>>105597341i use my own build system not sure how well it works
>>105597960if you use the mpv plugin version it should inherit the mpv process permission
>>105620545>>105620600yt-dlp doesnโt default to the known unthrottled m3u8 formats meaning that itโs not interested to make a good default for mpv streaming
>>105621925shilled it again award
>>105596959What's insane forums? How do exactly you know it's posted there? Nothing shows up on global search.
>>105623487nsane is where you can find zoom player giveaways software news discussion and reputable medicine
>>105623487https://archive.is/vJlW9
sort by alphabetical order since you canโt search without logging in
>>105623607Medicine?
>>105623654Okay! Then how do you fucking know this in the first place, this doesn't show up on google or duckduckgo results for "ikatube".
kde
md5: 752f1a7c02a65a731fc69801c7d2cd34
๐
Is there any way to use mpv-webm on Android? Or any similar scripts/apps out there for android?
>>105561800You probably have an IP ban, it seems to have a rate limit which slowly backs off and it doesn't care if you enable cookies after getting banned, it's way too strict for frequent watching. I switched to just always running youtube through a tor proxy and ignoring cookies. I believe that tor just always runs a socks proxy on localhost:9050, but you may have to set it in the config, I don't recall what I did.
With the tor server running add --ytdl-raw-options=proxy=socks5://127.0.0.1:9050 to any mpv invocation.
If you ever get another ban just restart the tor server until you aren't.
>>105561324 (OP)>>105561800Alright nerds I want to use mpv to save clip times to a file using keyboard shortcuts. I've been reading manpages, fucking around with mpv.conf, input.conf, and asking AI all evening and I can't figure it out. What do I do?
>>105626031I think you have to compile it yourself with them included. I was looking into how to use custom fonts with Mpv for Android (for subtitles) in the past and it was more trouble than it was worth.
I don't really have an issue with compiling Mpv from source on my desktop but fuck downloading the Android SDK and tons of Java crap, etc.
>>105627926I found out that mpvKt lets you set a folder as the mpv config folder like on desktop where you can place your conf files and scripts.
The issue is controlling the UI, my tablet doesn't have a keyboard. The app lets you define "custom buttons" that can map to script functions apparently but idk how to make that work with mpv-webm.
>>105605785The people who work on it are vastly inferior in terms of programming ability compared to any of the other major media players, which is why it is the only player which regularly has issues with even basic functionality such as video buffer crashing the player, audio sync issues etc. Just reading about their reasoning for ISO handling is enough to understand these are not high level developers.
For me personally I really like the scripting aspect of it and that configuration is done with .conf files, so that isn't a negative for me. But if you are looking for a product made by professional developers, this is not it.
>>105605785VLC can't even release software anymore.
>Six years of development>Hundreds and thousands of commits>UI completely re-designed to be a smartphone app knock-off so it's less powerful and has less features>STILL CAN'T RELEASE ITHow do they do it?
>haven't watched anything in 3 months
anyone else get old frames a few seconds after seeking? so seek backwards, video plays normally for a second or two, then flashes an old frame (from before seeking?).
it seems to be somewhat rare but I assume it's a libplacebo regression, although since it has been 3 months it could be a GPU oddity.
Does this work for anyone else?
https://github.com/yt-dlp/yt-dlp#impersonation
I have my yt-dlp installed from pip.
And I'm getting this 403 error or many sites now, even when using warp proxy
What has happened to the thumbfast developer?? Why isn't he doing the needful??
https://www.youtube.com/watch?v=cuk0w0UhxAo
>>105561324 (OP)>qimgvIsn't this abandoned?
Also, I have been using this for like 8 years, do I need to change anything?
profile=high-quality
save-position-on-quit
vo=gpu-next
>>105630878>Isn't this abandoned?Maybe. Probably not.
Still the best tho.
Also, qimgv-qt6-kde-git is the best version. It's fully Qt6 now.
>haasn abandoned mpv
>but is working on ffmpeg
Is it over?
What do you think?
# core profile + resume
profile=high-quality
save-position-on-quit
# modern GPU output + hardware decoding
vo=gpu-next
hwdec=auto-safe
# sharpening / highโquality upscaling
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=mitchell
linear-downscaling=yes
scale-antiring=0.8
cscale-antiring=0.8
# color precision & HDR support
target-prim=bt.709
target-trc=bt.1886
target-format=rgbhv
hdr-compute-peak=yes
tone-mapping=bt.2446a
tone-mapping-mode=auto
# optional: subtle dithering to combat banding
dither=fruit
# subtitles (if you need them)
sub-font-size=48
sub-border-size=1.5
sub-shadow-offset=1
Are there any fade in/out scripts for both video and audio?
Something that takes --start --stop in to account between files in a playlist.
What's good config for Intel GPU HD 530
>>105631023># color precision & HDR supportyeet all of that out, unless you what you're doing. one of those options doesn't even exist any more.
>dither=fruitno. that's the default. you do probably want to set the correct dither-depth though.
the rest is personal preference and nothing to really comment about.
>>105631081That's ancient and weak so there isn't. Benchmark whatever you can run for upscaling and downscaling, then choose the best you can actually run, and add autoprofiles if you need to for higher fps content.
inb4 profile=fast is the only option
>>105631218>That's ancient and weakCONSOOOOOM
Bitch I can run 4K on T62
>>105631258>lying on the internety would u do dis
> What the fuck is this fucking gibberish?
> Speak English.
> (TheVibeCoder) what that means?
> (TheVibeCoder) speak in simple english please
I knew it was Paul all along.
I changed my disk to another path. Is there a way to convert all watched/progress/saved file settings from /old/path to /new/path? On Linux
so i've got a script i've put together that's supposed to load random episodes from random folders without recursion of that folder, one after the other, and the most success i've gotten is just it randomizing the beginning episode, any advice
My script keeps getting blocked by YouTube because it (correctly) thinks I'm a bot, does passing yt-dlp a cookie with my account in it actually fix this? Do I need to have YouTube Premium for it to work without problems?
>>105631303Keep using your cloud OS
>>105631981Yes.
There should be log file, somewhere.
You can edit it in text editor and use find /old/path replace /new/path
>>105632678~/.config/mpv/watch_later files have hashes not filepaths
>>105632575Looked through the thread, looks like everyone's having the same problem as me with no clear solution. I'll try my own experimentation with passing cookies and will report back if I figure something out.
Having said that, I'm here for data hoarding and not avoiding signing into Google, so I'm not above getting YouTube Premium just to get this to work.
>>105632575>>105632878Adding the cookie worked for me, but I only download a couple of videos really. Maybe 3 in one day.
>>105632804It's md5 hash
So you can try it yourself to crack it
you should have used
--write-filename-in-watch-later-config
btw, this was add because someone was watching cp with mpv and kept nagging the dev.
Any reason not to use mpv.net over the original?
>>105633348bloat or not to bloat
How to get yt-dlp to shorten filenames when it's too long?
>>105633597>filename length constraints>in 2025
>>105633597I see a couple of options that might work.
>>105633737tried all of them
60s.
--restrict-filename
-trim-filename
why is video-sync=display-resample doing this all of the sudden, dont think i've changed anything since installing and my setup is extremely basic right now, literally just
profile=high-quality
vo=gpu-next
along with it while i figure things out
>>105633819>profile=high-qualitywhat does this do?
compared to gpu-hq
>>105634040From what I can tell high-quality is basically just the newer version of that
>>105634259what does it do compared to default?
I'm not seeing anything in the docs.
Is there cli version to play music from youtube?
>>105634356https://github.com/mpv-player/mpv/blob/master/etc/builtin.conf#L54
>>105634607just disable the video
>>105635221I think he means something like termusic
>>105633597-o "%(title).200B.%(ext)s"
>>105619518>>105619554Does gallery-dl have a command to retry the failed img/mp4 links from a url list or to re-check a link / folder for the failed files and retry them?
>>105618934Thanks for that, I just got the notification. I will update my config accordingly
>>105636546AFAIK it does that automatically as long as you don't modify the files in the destination directory, just run it again. You can tweak --retries and --sleep if it keeps failing. I've had times where the .part file grows in big chunks every 3-4 tries and eventually the file gets completed but you gotta be careful with timing if it's a big one otherwise they'll hit you with a long cooldown.
>error 403
it's over. fuck youtube.
>>105630475thumbfast works fine. if you just want an updated vanilla osc with thumbfast support: https://dpaste.org/sK8Mm
>>105638458holy shit it's working, thanks Mandeep! Ever since 0.40 came out thumbfast would either not work at all or show a black thumbnail after a few seconds, no matter the UI script I tried
>>105635892>-o "%(title).200B.%(ext)s"Tried that. it doesn't work.
It insert the title then 200B then the extension.
Not actually shortening the file name.
And this doesn't work with generic extractor as well.
>>105638711you might find some questionable changes to the osc if you haven't updated in a while. blame guido
https://github.com/mpv-player/mpv/blob/master/etc/restore-osc-bindings.conf
you can go through this and restore any binds you want back.
>>105636914so if I run the same command gallery-dl -i list.txt or gallery-dl http,etc,etc, it will just redownload the files that are not downloaded and not overwrite? Any other commands that are nifty? I just found out about gallery-dl yesterday from another anon in here and it's my first foray into command line.
Any suggested shaders I can use with my better gpu?
>>105639793ArtCNN + CfL with ArtCNN DS bound to a hotkey is all you really need.
>>105639398it only downloads what is missing
/mpv/, can you conceptualize a solution to this problem? I have a `sub-font` specified by name. This font is only in mpv's fonts directory. For languages this font does not support, a font gets sourced from system, BUT because I have specified a font, all other characters except language letters come from the specified font, like quotes, brackets and commas etc. This looks bad. I wish in these cases it'd just use everything from the font it's using the language letters from.
>>105639985How is this better than FSRCNNX