> Sorry for going quiet for a while there, I'm mentally ill.
t. mpv ffmpeg yt-dlp user
>>105651562it means ikachan ikatube ikamp
https://github.com/mpv-player/mpv/issues/14944
isn't vulkan the default now? so high-quality is broken out-of-box? cool.
>>105651581all imageboard posters are mentally ill
t. imageboard poster
>>105651695s/default/preferred
just checked and d3d11 is still preferred over vulkan on windows, but yes, vulkan is after that
>>105651695vulkan hwdec isnโt default or preferred
>>105651799https://github.com/mpv-player/mpv/pull/16199
>ffmpeg
Hasn't it been almost 9 months since the last release? I don't see any mention of a release on the mailing list after a quick ctrl+f either.
>>105652029you don't read every commit and compile builds?
did they ever fix interpolation?
profile=high-quality
Rate my config.
>>105651515 (OP)I just make BLACKED edits with ffmpeg. Amazing tool.
hwdec=no is faster for 120fps
SSimSuperRes seems kinda too sharp...like way sharper than my jeetoid brain is willing to process
YouTube search and play one-liner. Ytfzf does too fucking much and doesn't even work now.
Suggestions to streamline it welcome.
ytsearchmpv() { search="$@" && echo "Ctrl+C to stop; last entry URL is piped to mpv" ; trap 'return 0' INT ; yt-dlp -i ytsearch10:"$search" --get-id --get-title | tee /tmp/yt_titles ; trap - INT && tail -1 /tmp/yt_titles | tr -d '\n' | xargs yt-dlp -f 18 -o - | mpv - ; }
>>105654365the actual issue is that vulkan video decoding (the default in the probe order) is slow. i literally can't play 4k60fps videos without dropping frames because the code is so shoddy
Please excuse the shitty AI slop
Why doesn't this work correctly when trying to target specific bitrate to achieve certain file size?
I'm not sure what's going wrong.
vp8_scale() {
scale=${3:-1}
iw=$(ffprobe -v error -select_streams v:0 -show_entries stream=width -of csv=p=0 "$1")
ih=$(ffprobe -v error -select_streams v:0 -show_entries stream=height -of csv=p=0 "$1")
ow=$(echo "$iw * $scale" | bc | awk '{print int($1+0.5)}')
oh=$(echo "$ih * $scale" | bc | awk '{print int($1+0.5)}')
ow=$(( (ow / 2) * 2 ))
oh=$(( (oh / 2) * 2 ))
duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$1")
base_bitrate_kbps=$(echo "scale=0; 0.95 * (2^25) / 1000 / $duration" | bc -l | awk '{print int($1+0.5)}')
orig_pixels=$((iw * ih))
out_pixels=$((ow * oh))
pixel_ratio_inv=$(echo "$orig_pixels / $out_pixels" | bc -l)
adjusted_bitrate_kbps=$(echo "$base_bitrate_kbps * $pixel_ratio_inv" | bc -l | awk '{print int($1+0.5)}')
max_bitrate_kbps=$(echo "scale=0; 0.95 * (2^25) / 1000 / $duration" | bc -l | awk '{print int($1+0.5)}')
[ "$adjusted_bitrate_kbps" -gt "$max_bitrate_kbps" ] && adjusted_bitrate_kbps=$max_bitrate_kbps
echo " Input resolution: ${iw}x${ih}"
echo " Output resolution: ${ow}x${oh}"
echo " Target bitrate: ${adjusted_bitrate_kbps}k"
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -vaapi_device /dev/dri/renderD128 \
-i "$1" \
-vf "format=nv12,hwupload,scale_vaapi=w=${ow}:h=${oh}" \
-c:v vp8_vaapi \
-b:v "${adjusted_bitrate_kbps}k" \
-g 300 \
-quality 1 \
-an \
"$2.webm"
}
>>105651799it is. they bumped it's priority over vaapi months ago.
>>105655397webm in action?
>>105655397>Suggestions to streamline it welcome.use mpv plugin so it can be done within mpv
>>105656235
>>105656226is there any part of the script that you understand?
>>105656297>brappageddon flashbacks
>>105656297welcome back, long time no see
is there a downloader for rplay? I'll take anything, even a browser extension.
>>105657960Much as I hate em, that is fucking grim if real
>>105657960Same vibe, excuse the "short"
https://www.youtube.com/shorts/tjRor_WT8kY
>>105656276No, thank you.
>>105656235Eh? I just go with -f 18] 'cause it's fast and bearable quality as a small floating window.
>>105656276I don't want your tranny app.
>>105659211>i read "fast and bearable" as "fast and breedable"i'm on here way too much.
Is there any cli applications that play music from youtube?
>>105661286i SWEAR i knew of one or so. gonna go look but for now we got
mpv --no-video
>>105661363Thanks, it's what I'm using now.
But I'd want something that's more like cli music player.
I've got old rpi2b for free, I've set it all up and connected to some speakers, and was thinking to control it over ssh, with some nice UI to play music/podcasts/playlist , instead of just <mpv --no-video>
anyone added a delete shortcut to mpv through lua?
is it feasible? some of you must be gooners here who want to skip through a webm folder and not keep the low-quality ones
fucking hell, why do people even hate troons so much? leave the mentally ill bastards alone, yes we know they are fucked in the head, that's how they became troons.
you don't advocate for all mentally ill people to just kill themselves otherwise you and 3/4 of your fucking families wouldn't exist
>>105662625>Let people enjoy things.
>>105662625because they don't leave us alone. they're arrogant spergs who insert themselves wherever they can.
anti-bullying is such a meme. i've only seen nuisances who tried to punch over their weight get bullied. no one 'suddenly' gets bullied. there's nothing to gain out of bullying someone who stays quiet and is by himself.
now enjoy your diapertrannies with furry pacifiers because this social mechanism is surpressed.
i'm thinking about building mpv and libplacebo. the one thing holding me back is that my pc is shit, but i compile everything (ffmpeg, sdl3, etc...) so i might as well.
on your systems, how long does it usually take?
>>105663370"rocking" an i5-6500 btw. ffmpeg doesn't take that long (haven't timed it).
>>105663370both are fast, ffmpeg is really slow in comparison
What are the best settings for MPV on a MBA ?
>>105651562don't type that into your console it creates mustard gas.
>>105659211-f 18 will be the next to be removed
For me it's Windows Media Player, just works.
>>105651515 (OP)VLC has better out of the box hardware acceleration though (it works from the terminal too).
Even my Raspberry Pi3 has no problem with 1080p MKV files without any additional configs.
>>105651515 (OP)vlc ffmpeg
>.> <.<
yt-dlp
>>105660231I think it's kind of funny that he refuses to put it up on git and be much better received but he won't because he knows he's an abrasive tranny that'd get his baby hard forked two weeks in.
also I have a feeling he's the one making these threads to stealth shill his botnet.
>>105667687come on, man. we've all got that one project we're too proud of to just throw it out there in the open completely if you get me. not that his posts aren't obnoxious as fuck.
>>105667790sure, I but I don't go making it an onlyfans account and doing nonstop shill campaigns to simps on an imageboard.
i just installed mpv and didnt know it has many keyboard binds. i slammed my keyboard randomly because of my cat. how do i reset all settings to default?
>>105668650close and reopen mpv bam you have the defaults
>>105668671but i think it doesn't?
>>105669636it does
settings are only persistent if you modify the config file
Fucking hell, mpv keeps locking up after playing anime and idk if I should blame hyprland or just mpv itself
Thinking of trying sway as everyone says it's more stable than hyprland
>>105671023Using arch btw
It's so fucking annoying diagnosing GPU related issues
The weak link is probably hyprland isn't it
Never had this many problems with Winshit
Anyone else here use hyprland?
Would you pay $5 for mpv premium?
youtube made some changes recently and started to sometimes give 403 for ios hls formats
just released a new version of my youtube client which added single file format support to the web_hls extractor so it now works with regular videos
also changed the default extractor to web_hls since it's faster than ios_hls and doesn't give errors
>>105671069hyprland is spaghetti code written by a nazi. what do you expect? and yes, it's likely at fault since someone would have said something here. just install sway or labwc and see if you can reproduce.
Is there much of a difference between slow and very slow preset?
>mpv estimated FPS is twice the actual framerate, but only with hwdec disabled
Is this some G-Sync/VRR fuckery?
>>105651515 (OP)Is it possible to download age-restricted YouTube vids using yt-dlp without using sign-in cookie files. Trying to watch this: https://www.youtube.com/watch?v=5EsmCKqz7rM
I never realized how much stupidity in this thread.
Half the settings for VP9 encoding are placebo and just waste time.
This is all what you need
>single pass
ffmpeg -i "INPUT" -threads 4 -c:v libvpx-vp9 -profile:v 0 -pix_fmt yuv420p -b:v 0 -crf 30 -g 300 -cpu-used 1 -lag-in-frames 25 -aq-mode 2 -tile-columns 1 -row-mt 1 -enable-tpl 1 "OUTPUT"
You can test the original file from here
https://file-examples.com/index.php/sample-video-files/sample-mp4-files/
This took ~ 75 seconds to encode a 30 seconds of 1080p video on my shitty 6th gen i5
with 90% reduction in file size.
What do you want more than that?
>>105675733you're one of those retards you're thinking about
>>105675733>black background>no motion
>>105671214I'm not against paying for things, but I hate paying for software because it always requires an account, some kind of DRM verification bullshit that gives you a permanent ID and an online transaction.
If I could got to a local tesco or some shit and pick up ONE unit of MPV premium from the shelves even without any internet connection verification bullshit I'd be okay with it.
>>105675751>>105675790And you're on of those pajeets that work for AI
Should I keep using mpv.net? I don't know which build to move on to.
>>105676646mpv-x86_64-pc-windows-msvc is the only answer
what mpv scripts do you guys use?
>>105676021retarded accusation
>>105678684you're not proving him wrong.
>>105678668webm, autocrop, streamsave, mpv-crop
>>105678668sponsorblock
whisper
mfpbar
playlistmanager
webm
mpvsockets
What more do I need? I want to watch anime in the best way possible.
profile=high-quality
vo=gpu-next
video-sync=display-resample
interpolation=yes
screenshot-template='%f_snapshot_%wH.%wM.%wS
>like non-linear stretch glsl shader for mpv to play non-4:3 stuff on 4:3 monitor
>can't use it on my old laptop because old
anyone have any other options?
>>105679739interpolation=no
>>105679739>>105679846this
set up custom display refresh rates if you need to. for anime this means some multiple of 24 (24/48/72/96/120/144/etc)
if you have a "60Hz" monitor, there's a decent chance it can do 72Hz, i personally have not used one that couldn't (at least if you use non-standard timings)
Is there a way to boost frames with mpv?
I'm watching movies with 24-30 frames, is there a way to boost it to 60 fps, for smoother experience?
What's wrong with libass 0.17.4? It's still not updated on Arch.
>>105680156>boost frameslmao
I'm getting this error
MESA-INTEL: warning: ../mesa-25.1.4/src/intel/vulkan/anv_formats.c:972: FINISHME: support more multi-planar formats with DRM modifiers
this is what I have in my mpv.conf
vo=gpu-next
hwdec=auto
profile=high-quality
>>105675733>75 secondslies
>>105682680Test it yourself.
I've linked everything
>>105682302use vo=gpu, its more stable and has higher color accuracy
remove high-quality, it's actually low-quality and only favored by blurpv enjoyers
>>105682875>remove high-qualityWhat to use then?
>>105682958what users and cargoculters don't tell you is that default is higher quality than "high-quality"
>scale=ewa_lanczossharpblurrier than lanczos despite being 4x slower. only loved by blurpv users who don't know anything about upscaling
>hdr-contrast-recovery=0.3results in oversharpened hdr tonemapping with artifacts up the wazoo
the only "high-quality" option is hdr-peak-percentile=99.995, which you can just set yourself in your own config without having to rely on a shitty profile that reduces video quality
>>105683027You are a massive retard, are you Indian?
>>105683092prove me wrong
you can't because you're a cargoculter
>>105683128I knew you were Indian, thanks for confirming it.
i hope you realize the irony of not being able to contradict anything i said, proving that you just copy-paste configs off of the internet without knowing what any of the options do. i suggest you educate yourself sirs
>>105683027>>105683164just go through the 2022/2023 archive for the hundreds of slow.pics comparisons, you low-effort pajeet.
>CaRgOcUlT
>>105682958Profile actual-high-quality
scale=spline36
dscale=catmull_rom
linear-downscaling=no
hdr-peak-percentile=99.995
hdr-peak-decay-rate=100
hdr-scene-threshold-low=5.5
hdr-scene-threshold-high=10
hdr-contrast-recovery=0.2
>>105683283reddit
>>105683283>just go through the 2022/2023 archive for the hundreds of slow.pics comparisonsand lanczos is sharper and looks better in all of them, your point exactly? don't tell me you actually think ewa_lanczossharp is "sharper" because it has "_sharp" in the name, or you're going to prove that you're a newfag...
>>105683333you're either the spline36 schizo or the retard that stacks sharpening filters, aren't you.
>>105683384spline36 is blurrier than lanczos, how can someone be a "spline36 schizo" and a "sharpening schizo" at the same time? your statements are complete nonsense. stop humiliating yourself and run back to wherever you came from
>>105683409>how can someone be a "spline36 schizo" and a "sharpening schizo" at the same time?>you're either the spline36 schizo or the retard>either>orlow iq pajeet kek
>>105683448ESL who can't comprehend simple prop-logic detected. the "or" operator in this case indicates that the person can either be x or y. but since you think the person can be x or y, that means that in your (schizophrenic) mind, x and y have similar talking points, therefore you are unsure whether the person is x or y. in either case, x and y occupy the same space in your mind and you group them together. the question: "how can someone be a 'spline36 schizo' and a 'sharpening schizo' at the same time?" is directed at this contradiction. however, you might need an iq above 73 to understand this
>>105683580jfc, you schizo.
it's not a contradiction, and you know it. stop throwing a tantrum when you know you're wrong and lost the argument.
>>105683724>it's not a contradictionwould this so-called "spline36 schizo" and "sharpening schizo" agree with each other then? by your aids-addled logic, if im sharpening schizo, then you are more likely to be the spline36 schizo. yet you attribute both of them to me, indicating that im equally likely to be either "spline36 schizo" or "sharpening schizo" because of whatever schizo web of neural connections have led you to draw such retarded conclusions.
>stop throwing a tantrum when you know you're wrongyou haven't even given me a *speck* of evidence as to why im supposedly "wrong" about lanczos being sharper than ewa_lanczossharp. you keep shitting yourself while i point and laugh at your shart-filled diaper.
Anyone got some decent twopass VP8, with niche speed that aim for 4 MB target size?
>>105683872anon, out of genuine concern, go take or refill your meds.
>what users and cargoculters don't tell you is that default is higher quality than "high-quality"if you're curious about why your argument is retarded, again, go to the archives or the github issue. but i'm sure you were one of the schizos in there so you already know. we're not going over it again. get over it.
>>105683934>if you're curious about why your argument is retardedplease, explain it to me in your own words. prove me wrong and "btfo" me right now. you are so braindead that you don't even have the confidence to summarize any of the facts.
the fact that you're unable to do so just proves that you're a cargoculter. you "trust the experts" and never question anything in life. someone says something to you, and you accept it as fact without any critical thinking. you take some random anon's comments from 3 years ago as authority rather than having your own understanding of the situation. you are quite literally, a soulless automaton.
>>105683991>please, explain it to meyou presented it as lanczos (default) being better than ewa_lanczossharp (high-quality), specifically because of sharpness. if you had actually looked at the comparisons and arguments from when it was changed, you'd know it's not as simple as one being better than the other.
>"btfo" me right nowthere is no "btfo", that's the point and why you're retarded
when libplacebo was made the default they changed the definition of gpu-hq to nerf vo=gpu
>>105684086>you presented it as lanczos (default) being better than ewa_lanczossharp (high-quality), specifically because of sharpness. concession accepted. lanczos is sharper than ewa_lanczossharp
>you'd know it's not as simple as one being better than the other.oh wise one, please explain what "benefits" ewa_lanczossharp provides that wouldn't be better served by a CNN-based prescaler? ill give you 10 minutes to formulate an answer. here's a hint: consider all realistic scale factors on consumer monitors, and then consider the reason why the ewa_lanczos kernel is only used commonly in image editing software
>>105684208>concession accepted. lanczos is sharper than ewa_lanczossharpkek. thanks for proving my point
>better served by a CNN-based prescaler?MRs welcome
>>105684229>kek. thanks for proving my pointproving the point that you're a disingenuous faggot that has spent the whole thread beating around the bush?
>MRs welcomewhat a useless statement, there are already user-made prescalers on the wiki. again, more disingenuous argumentation. now answer the question.
>>105684304>spent the whole thread beating around the bush?>we're not going over it again. get over it.>more disingenuous argumentation>what users and cargoculters don't tell you is that default is higher quality than "high-quality"by all means, keep going
>>105684321no one online to feed you answers i see? i accept your concession. make sure to never reply to me as if you're an authority on the subject. if my posts enrage you in the future, make sure to close your eyes and take 10 deep breaths before solving the captcha.
>>105684350i hope you've learned not to make retarded posts like
>>105683027 and remember to take your meds o/
>>105684370>admitting to getting asspained by a random posti have to say, not a good look. potential signs of mental instability? maybe ask your psychiatrist to increase your SSRI dosage
Shut up and kiss already you faggots
new
md5: 5bf9ca77fe6e5d6a188a45816ba23715
๐
wowwowow
>>105675733>my way of doing x works for me>why don't you do x like me and just be normal Only argument against using the best settings possible I can think of is having to type a lot when encoding something. I use a script with defaults and to run it only needs a source file, keyframe max spacing (if it's not 30fps) and audio options. The usual command ends up looking like this vp9enc -i sumshit.mp4 --key 240 --no-audio or vp9enc -i sumothershit.mp4 --audio-c libopus --audio-b 64k if it's 30fps and needs audio.
>>105679739>video-sync=display-resample>interpolation=yesI find the default (oversample) to be a little too forgiving. Add tscale=catmull_rom if you want interpolation to be a little smoother than that.
>>105675733>>105687888Why are retards so obsessed with writing shitty encode scripts that has less features and worse performance compared to complete solutions like handbrake? Are you too stupid to do do real work so you cope with this shit?
>>105688085It's faster to use and no need to wait/beg for the devs to add new encoder features to the GUI.
>>105686226display-resample else you stutter!
>>105687888What's your script?
>>105688085>complete solutions like handbrakeIt's glorified GUI for ffmpeg, ESL-kun
https://handbrake.fr/docs/en/1.3.0/technical/source-formats.html
What's the advantage of HW accelerated encoding if it's so shitty?
>>105682875Thanks man.
I did what you suggested.
But I still get this error
>MESA-INTEL: warning: ../mesa-25.1.4/src/intel/vulkan/anv_formats.c:972: FINISHME: support more multi-planar formats with DRM modifiers
829
md5: 9e260bd59a1fa9dec8ccfbf59dcd442b
๐
>>105688085>worse performanceA decent encoding script calls the encoder directly and pipes raw y4m into it with something like ffmpeg, it hardly gets faster than that. Unless you're suggesting handbrake does picrel
>>105688509Here: https://qu.ax/zDExp
The script was frankensteined off an SVT-AV1 version so the "help" section is a mess, ignore for the most part.
Is there a parameter for yt-dlp that lets me save the file with a predetermined filename? It's annoying to manually rename it after the download. I skimmed through documentation but didn't find it, but I am also retarded
>>105688640Ignore the schizo, he's wasting your time.
hwdec=no
gpu-api=opengl
See if either of these fixes it. To be fair, it's a warning and not an error. Is it actually causing a problem?
how to set how long mpv will try to load remote file?
network-timeout doesn't do anything, seems to always be ~30 seconds
[ffmpeg] tcp: Failed to resolve hostname cdn.donmai.us: nodename nor servname provided, or not known
>>105688702But shit quality and poor compression.
Or am I doing something wrong?
>>105688618so that you can post shitty webms faster
>>105688727>Here: https://qu.ax/zDExpThanks man, it's nice, but it takes 5 minutes to encode 30 sec 1080p, with file size that's not fit for 4chan though, the video sample resulted in 15 MB webm
I have this shitty function that do reasonable [citation needed] quality, with targeted files size and finished in 100 seconds.
The source of the video
https://videos.pexels.com/video-files/5538137/5538137-hd_1920_1080_25fps.mp4
>>105688797yeah.
I use this -o '%(id)s.200s.%(ext)s'
>>105688801>hwdec=nowhy?
>Is it actually causing a problem?Not really, but it's ruining my scripts.
>gpu-api=openglI thought that was the default?
Do I need to do something different if I'm on wayland?
>>105688834>so that you can post shitty webms fasterstill can't do 2 pass with it.
>>105688856>why?Vulkan is the default hwdec now so it can be worth disabling to check. You can just explicitly set vaapi if you want.
>I thought that was the default?It is not. See #15095
>Do I need to do something different if I'm on wayland?You shouldn't. GPU context is handled automatically by default.
>>105688894>Vulkan is the default hwdec now My igpu should support vulkan (Intel HD 530)
>You can just explicitly set vaapi if you wantIt is set to vaapi.
Is the warning mean something else perhaps?
Like missing some dependency?
Hey I am probably the only person with this problem
I had the mkv files for S1 of Clone High that I wanted to watch via my PS3 through my computerโs media server on my CRT TV. Yes I could plug in an HDMI to my flatscreen and use VLC but I want to watch it without it being pillarboxed. I used ffmpeg to convert the folder to mp4 with subtitles (I checked in VLC) and it plays fine on my computer but it says the mp4 is unsupported on my PS3. What should I do?
>>105688927The `FINISHME` warnings are just annoying messages the anv developers left for themselves afaict. I don't think they even have a method to silence them.
>>105688940Old consoles usually only play back very specifically encoded files. You have to figure out what sort of configurations the PS3 media player supports, or doesn't support.
>>105662605>he's not using hydrusOne day, when your collection grows too big and messy, you will regret it.
t. regretting it with 24k files still waiting to be fully tagged
at least teenage me had the decency to use folders for the most important categories and characters
>>105688940>>105689013Quick ask of ChatGPT (I asked it to verify but take it with a grain of salt), you'd want:
MP4 container
H.264/MPEG-4 AVC (Baseline and Main Profile, up to level 4.1), yuv420p. 1080p max resolution
AAC-LC 2 channel or 5.1 channel, 48 kHz or 44.1 kHz
As long as you use sane settings for everything else, I imagine encodes that follow the above should work.
>>105688847There's no size/quality calculation built into it so you still have to guess --crf. The way I have it setup works for most ~20 sec 1080p clips of live streams, anime and that sort of low entropy content.
>finished in 100 seconds.That's very decent quality all things considered. Which encoding parameters did you use?
>>105689099My PS3 broke down ages ago, but AVC High profile should be fine, too.
https://manuals.playstation.net/document/en/ps3/current/video/filetypes.html
Back in the days I mostly streamed stuff with Universal Media Server and its predecessor (PS3 Media Server), though.
>>105690514>That's very decent quality all things considered. Which encoding parameters did you use?vp9_twopass () {
input="$1"
output="$2"
scale="${3:-1.0}"
duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$input")
target_bitrate=$(echo "scale=0; (0.95 * 32768 / $duration)" | bc)
echo " Duration: $duration seconds"
echo " Target video bitrate: ${target_bitrate}k"
# First pass
ffpb -y -i "$input" -c:v libvpx-vp9 -b:v "${target_bitrate}k" \
-vf "scale=iw*$scale:ih*$scale" \
-threads 4 -row-mt 1 -cpu-used 4 -tile-columns 1 -pix_fmt yuv420p -crf 30 -g 300 -pass 1 -an -f null - 2>&1 | progressline -s snake -t "First pass>
# Second pass
ffpb -i "$input" -c:v libvpx-vp9 -b:v "${target_bitrate}k" \
-vf "scale=iw*$scale:ih*$scale" \
-threads 4 -row-mt 1 -cpu-used 4 -tile-columns 1 -pix_fmt yuv420p -crf 30 -g 300 -pass 2 -an "$output".webm
# Cleanup
rm -f ffmpeg2pass-0.log ffmpeg2pass-0.log.mbtree
}
You need to install ffpb, to have nice progress if you want it.
progressline is something I just love to use.
I've done a LOT of testing, 10bit offer little visual improvement while taking twice as long, all other fancy options offered very little improvement in targeting specific file size, while adding anywhere from 10%-50% overtime.
I have shitty CPU, and minimal is better sometimes.
I like it since I can use it to make webm quickly from insta/tiktok and post it here, and it also depends on the source material, AV1 take the longest since I can't accelerated with HW decoding.
>>105688940You're not alone.
PS3 is very funky with specific format.
What did you use?
you need these
-c:v libx264 -b:v 15M -c:a aac -b:a 128k
Or try using DivX
-c:v libxvid -vtag divx -q:v 3 -maxrate 4854k -bufsize 384k -c:a libmp3lame -q:a 2 -ac 2
>>105689013>>105689099>>105690829Thank you, Iโll do my best to follow along
>>105688497>display-resample else you stutter!use display-vdrop instead
>>105689099This is also what I used. I hope this displays properly
```for %a in (*.mkv) do ffmpeg -i "%a" -map 0 -map -0:t -c copy -c:s mov_text "%~na.mp4"```
>>105691820All that does is change the container, remove attachments, and convert embedded subtitles to mov_text. If the content within the container is not compatible, it will not play.
So the video needs to be:
H.264/MPEG-4 AVC Baseline/Main/High Profile
Equivalent to level 4.1 or lower
YUV420p
Audio:
AAC-LC/MP3 2 or 5.1 channel, 48 kHz or 44.1 kHz
>>105661394musikcube is the best cli music player
>>105693747I only use ikamp
ewa_lanczosradius is better than ewa_lanczossharp
ewa_lanczossharp is not meant to be sharp, blur is not the only artifact...
>>105693747looks like zellij
>>105694016Ikamp is not cli, dont work over ssh
>>105694744is just konsole LOL
>>105696462Um x11 is deprecated sweetie
>>105696755maybe i can add sixel backend to ikafb
>>105693747Thanks, but this doesn't support playing from youtube directly?
I need to download it first.
>>105698223>not downloading all your music in lossless
>yt-dlp
>Got error: 403
>Got error: 403
>Got error: 403
It can work in the morning and then stop in the afternoon. I'm getting frustrated. Am I being throttled?
>>105700512Youtube will completely block you at random if you use yt-dlp now. It's made streaming with mpv very unreliable, so I've been in the habit of downloading any videos whenever I can.
>>105701843it doesnโt happen with all extractors
what ios started to give errors android_vr and my improved web_hls worked fine
vo=gpu gays always eating good for some reason
>>105702193also disable vulkan
>>105700512It's apparently just been fixed. You'll need to update to the latest master version.
https://github.com/yt-dlp/yt-dlp/issues/13511
how do i filter the ikanigger and his dicksucking friends? this is not your discord server
I'd take the ffmpeg GUI anon any time over this avatarfagging retard
>>105705531Worked like a damn charm.
>>105706391actually it fixed the issue ahead of yt-dlp
>>105688940chances are the profile or other codec settings aren't suitable, like it might not support level 5 high profile or maxed out b-frames for example. it's a console from 2006, H.264 was still fairly new at the time. you can't assume it'll support more than what blu-ray used
>>105706534most of us /mpv/ oldfags have already bailed ship, hence why this general is always on the brink of getting bumped off the catalog
>>105707923I don't mind the thread dying before bump limit or just being the same 10 anons going back and forth with config/encoding autism but these avatarfag attention whores have nothing good to add and come here exclusively to promote their shitware
>>105683919I have shitty CPU and VP9 is very slow.
So anyone can help me.
>>105688801>gpu-api=openglThanks man this did the trick.
>>105707923>most of us /mpv/ oldfags have already bailed shipto where? cartel encoding discord?
I found out what was causing old frames/garbage when seeking. While fullscreen in GNOME, pause, change system volume (GNOME volume display appears), seek, and play.
I haven't bothered to check if it happens with no-config or reducing the reproduction steps. I don't care enough to test if it's a regression with libplacebo/mpv or GNOME either.
animated webp sisters rejoice https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/345857.html
>>105708794>he still has a shitty Pentium 3 and a shitty Voodoo 3
>>105713555>Pentium 3It's 8th gen core i7 but who's keeping track other than assripper rider.
>>105708787You rather keep begging 6 days later, bringing nothing to the table, rather than try to think, understand and solve this trivial issue yourself. What kind of subhuman are you?
>>105714104A human wanting for other humans and not listen to AI.
Any recommended shaders to watch movies/anime?
I'm just viewing 1080p on 1080p monitor, with intel integrated gpu
>>105714257you're the one using AI because you can't THINK
>>105715564no you dont need any
>>105715696really? I remember mpv threads where all about anime4k
hello mpv has too many options and too many bad defaults and too many bugs and also bad documention
>>105715564>>105715784anime4k was only ever meme'd here. it's terrible in 99% of cases, and it's still going to butcher scenes in the 1% where it's not terrible.
>I'm just viewing 1080p on 1080p>intel integrated gputhen you don't need anything and can't really use anything even if you could.
>>105715986>too many optionsa lot, yes. too many? no.
>bad defaultsYMMV but they're sane
>too many bugsnot really. 0.40 is rather stable
>bad documentionlol no.
>>105715986make a pr to change the bad defaults. should be easy if theyre objectively bad.
>>105715986>>105716575here are some defaults that need to change
>--demuxer-mkv-subtitle-prerolldefault to "yes", objectively no downsides, the code falls back to index on properly muxed mkv files anyways
>--image-display-durationdefault to "inf", there's no way for the end-user to intuit that they're only allowed to stare at the image for 5 seconds before the window closes. unlike videos where it makes sense for the window to exit after playback, images should only terminate on user input.
>hwdecdefault to "auto", it's 2025. software decoding should only be for debugging.
>>105713622>>105708794I got into encoding while my PC was a Haswell shitbox and 4chan had already whitelisted VP9. My advise is to try and work around making 2 pass VP9 your default, it's well worth the size efficiency boost. First pass typically runs at 2x-5x realtime but you have to set it to -speed 4 independently from the second pass for some strange reason otherwise it slows down, 1st pass -speed does not affect quality. Use -row-mt 1 on both passes and -tile-columns 1 in the second, it speeds first things up considerably. -tile-columns 1>= (1 probably default) has a small size/quality efficiency hit just so you know.
>>105708794try av1an. vp9 doesn't scale (to many cpu threads) very well on it's own. so a tool like av1an can help in that it can split a video into multiple sections and encode them separately in parallel. despite the name it's not limited to av1
it usually doesn't make as much sense for short videos like you'd post here, but if you're willing to trade shorter GOPs (potentially lower quality) with encoding speed, it may be an option
>>105708794vp9 and av1 have slow shit encoders
just use x264
is he right
https://desuarchive.org/g/thread/105566250/#q105567739
https://desuarchive.org/g/thread/105566250/#q105567805
https://desuarchive.org/g/thread/105615574/#q105626918
https://desuarchive.org/g/thread/105628835/#q105629088
>>105713296librempeg won https://github.com/librempeg/librempeg/commit/f94069b2010db1724efaceb45032ca1d3ecd0d07
>>105716010>then you don't need anything and can't really use anything even if you could.Ouch
>>105720141Pure schizobabble
>>105717110I'm fine with VP9 encoding, it just take too damn long on skylake shitbox.
chanvp9 ()
{
ffmpeg -i "$1" -c:v libvpx-vp9 -lag-in-frames 25 -arnr-maxframes 10 -arnr-strength 1 -deadline good -cpu-used 2 -auto-alt-ref 6 -tile-columns 2 -tile-rows 0 -aq-mode 0 -profile:v 2 -g 300 -row-mt 1 -pix_fmt yuv420p10le -tune-content default -enable-tpl 1 -b:v 0 -crf 40 -pass 1 -an -f null -
ffmpeg -i "$1" -c:v libvpx-vp9 -lag-in-frames 25 -arnr-maxframes 10 -arnr-strength 1 -deadline good -cpu-used 2 -auto-alt-ref 6 -tile-columns 2 -tile-rows 0 -aq-mode 0 -profile:v 2 -g 300 -row-mt 1 -pix_fmt yuv420p10le -tune-content default -enable-tpl 1 -b:v 0 -crf 40 -pass 2 -an "$2".webm
}
This can take +30 minutes to encode 60 sec 1080p file.
VP8 is faster and can do HW encoding with it.
>>105717151First time I've heard of it, I guess this would be a good tool if you have like +8 cores?
I doubt it would make much difference on 4 cores.
Thanks anyway, I'll try it any way.
>>105717194HW or SW?
I need to target 4chan's file size limits while preserving quality for 1080p videos that are slightly long ~100 seconds.
>>105720434x264 is sw encoder and even at veryslow preset it's still faster than vp9
>>105720586>x264 is sw encoderthere's vaapi and qsv version of h264
>veryslow presetIs worse than slowest and have worse compression and quality.
>>105720615h264 is a codec
x264 is an encoder
know the difference
>>105717151Tried it, it's default are pretty sane imo.
But the speed is pretty much the same with my script.
And it failed in the end with this error
ERROR av1an_core::concat: FFmpeg concatenation failed with output: Output {
status: ExitStatus(
unix_wait_status(
59904,
),
),
stdout: "",
stderr: "[webm @ 0x55c6a942db00] Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.\n[out#0/webm @ 0x55c6a94547c0] Could not write header (incorrect codec parameters ?): Invalid argument\n",
}
I admit the output is pretty nice.
>>105720700What are you talking about?
h264_vaapi and h264_qsv are the encoders for the h264 codec.
Know basic reading comprehension.
>>105720788i was always talking about x264 from the start
it was you who brought up the hw encoders which is completely off-topic and lower quality than x264
>>105720875>damage controlSure saar.
>>105720920only pajeets even think about hw encoders outside of livestreaming
>>105720976Read the thread, We are talking about optimizing VP8/VP9 prompt for speed and quality all while targeting specific file size.
You brought up x264 because your iphone can't into webm.
>>105720999>VP9 prompt for speed and qualityimpossible, read again
>>105717194you want speed (which you don't have at the start of this discussion)? x264
you want quality (which you already have at the start of this discussion)? vp9
i only mentioned x264 because you wanted speed and you already had quality
>>105721043OK anon.
I respect your point of view and polite way of discussing.
And you're right, I don't mind encoding h264 for speed especially if the process with vp9 would take long.
Do you have decent x264 prompt to target specific file size with two pass?
>>105720434Until we can use SVT-AV1 to encode here things will not improve, vpx is just vpx, switching to legacy VP8 mode is faster at the expense of quality and so is maxing the speed on VP9. All that's left is to cope and wait for 4chan admins to finally whitelist AV1.
The image side of things could use an upgrade too but currently there's no good all around alternative that's ready for web image use like AV1 is for video
>>105721166x264 is a better choice than vp8
isn't there an svp-vp9? idk anything about and nobody talks about it
>>105721189svt-vp9*
https://github.com/OpenVisualCloud/SVT-VP9
if it's at least better than h.264 while being fast it could be and option for 4chan poorfags
>>105721204xeon exclusive
>>105721260well that explains why nobody talks about it
how does that even work?
>>105721271system requirements are very high for optimal performance
>>105721287so basically it's not the 'silver bullet' like aom vs. svt-av1 was?
>>105721294maybe https://www.phoronix.com/news/SVT-VP9-Open-Source
https://openbenchmarking.org/test/pts/svt-vp9-1.3.1
>>105721166>finally whitelist AV1.>CVE-2023-44429Isn't there several security issues with it?
>legacy VP8 mode is faster at the expense of qualityWhat do you use? speed is sometimes important when the thread is fast pacing.
>The image side of things could use an upgrade tooPNG released new update, and it support animation, with about 50% reduction in file size compared to gif.
Problem not all browsers support it.
https://s6.ezgif.com/tmp/ezgif-6651b1808ea734.png
>>105721260Now this is why we can't have nice things.
>>105721189No ffmpeg binary that I've seen is built with it enabled. I tried piping raw y4m to it instead and it left me with the impression it's not built for direct user interaction but as a library sort of. Nowhere near as polished and intuitive as the AV1 version. I'm still compiling ffmpeg with it now to take it for a spin, hopefully it works on my AMD CPU.
>>105721737>2023-44429If that's the Gstreamer vuln it was patched around the same date
>What do you use? speed is sometimes important when the thread is fast pacing5600X manages to squeeze ~20 fps at -speed 4 8-bit VP9 720p, quality is not great but not terrible. It's good in fast threads
>https://s6.ezgif.com/tmp/ezgif-6651b1808ea734.pngCool shit, I wonder why they never tried to improve the spec in all these years.
will yt-dlp support downloading tiktoks in source quality?
>>105722150>Cool shitGoogle chrome happened.
And indians took over.
>>105689035just now deleted all my porn
>>105720434>This can take +30 minutes to encode 60 sec 1080p fileyou're using a bunch of worthless meme flags
lol fucking retard
>>105726613>worthless meme flagsObviously.
What are those?
>>105727972what are you pondering
>>105727972>>105728746Why you two will never be women
recommend me good subfont.ttf.. currently have one from mpv-android.
>>105729526Adobe Caslon Pro
I pushed a key at random
>might have been alt+something?
and it opened a black popup box with some selections I could make?
like "chapter" and some other things?
then I accidental closed the box and can't figure out what key combo I used.
anyone knows?
>>105732064nevermind I read the docs.
it was "gm"
>>105732088good morning sir
>>105732198good morning sir please share you mpv confag sir
https://github.com/mpv-player/mpv/commit/ed8954e
UUOOHHH
first commit in over a week!
btw ffmpeg 8 where?
I got this -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv to encode SDR out of HDR phone sources. Is there a way of doing it with libplacebo and get better detail retention?
>>105651515 (OP)please tell chiruco to stop staring into my soul
>>105734985nvm figured it out
-vf libplacebo=color_primaries=bt709:color_trc=bt709:colorspace=bt709:extra_opts=preset=high_quality
easy as pie
haasn, I fucking kneel
>>105720141that was depressing to read. thank god i dont participate in those faggot private torrent communities, usenet is where it's at
>>105736330>usenetthose are more faggots than private trackers.
>>105651515 (OP)best way to search for youtube links without going to the youtube website?
>>105736915any search engine
>>105736928not good enough
>>105737131it's not bad actually but i'd rather something more lightweight
is there a better way to scale than "-vf scale"?
>>105737155you can search youtube in mpv using this keybind.
y script-message-to console type "loadfile ytdl://ytsearch10:"
it loads the first 10 results into a playlist. you can change the number to whatever you like.
>>105737165>shell script that depends on sed, likely w3m for imageswouldnโt call it more lightweight
>>105737506the yt-dlp script itself is larger than ikatube, not to mention dependency on python
>>105737531yes
>pay lots of attention to portability
>closed-source proprietary binary that only supports yt and can't even download videos.
Waow this really soaks my panties
>open source context extractor for almost every video site
Noo python gives me the ick. Takes 6 gorillion nanoseconds to open on my chinkbook, how could anyone ever live like this!!
>>105737713>>105736915 only asked for youtube
>>105736915https://github.com/trizen/youtube-viewer
https://github.com/trizen/pipe-viewer
>>105737741itโs the bundled font
the program itself is less than 500kb
https://github.com/mpv-player/mpv/issues/16482
>gpu-next crashes everything to TTY, gpu freezes entire window manager
other than usual bmg yolo commit this shows how garbage wayland is when mpv can crash the whole desktop
>>105736915https://github.com/pystardust/ytfzf
>>105738959If you crash in Wayland callback the whole thing dies? What a piece of shit.
>>105736915yewtu.be or freetube
>>105736915youtube-local/yt-local
Are we happy with the sate of mpv now? Excluding libplacebo issues.
>>105744135i need to updoot
>>105651515 (OP)Best quality config for nvidia gpu?
I have
vo=gpu
hwdec=nvdec-copy
vd-lavc-dr=yes
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=mitchell
correct-downscaling=yes
linear-downscaling=yes
sigmoid-upscaling=yes
And it's more pixelated with yt-dlp than straight youtube.
>>105746122>ewa_lanczosblurbad choice, the default lanczos is sharper
>vd-lavc-dr=yesnot needed if you use non-copy hwdec
just use this
vo=gpu
gpu-api=opengl
hwdec=nvdec
dscale=catmull_rom
>>105746158Thanks, I use a 4:3 1600x1200 crt, do you have any recommendation for tuning it to this res?
>>105746158close but quite, you need to disable --linear-downscaling as well
how is madshi doing these days? I never see the madvr memes here any more
>>105749663>how is madshi doing these days?Still winning.
>>105749663because software that just werks doesn't need a thread.
On 1366x768 screen use:
dscale=ewa_lanczossharp
> 1366x768
It's 2025... what are you doing?
>>105651515 (OP)To the one guy that works on Mpv Wayland support:
>Will you be adding support for the PiP (Picture in Picture) protocol?I'd like Mpv to be displayed in a PiP window when it's not full screen.
>>105739925>If you crash in Sway's Wayland callback specifically Some compositors implement handling for if things get stalled and have proper reset and restart logic
What's everyone doing these days? Everyone's busy.
>>105756994mpv --no-video works
finally parity with VLC https://github.com/kasper93/mpv360
>>105759613stop bumping this kuso thread retard
>>105759759no i need file to auto replay without picking specific time
>>105756994simply run mpv --video=no --input-ipc-server=SOCKET
then redirect JSON commands to SOCKET
>>105760262I don't have issue with control
There's something called SSH.
I was hoping to find something like mps youtube.
Is it possible to run mpv with x11 forwarding?
>>105760296simply generate JSON commands from a yt-dlp fzf pipline, then redirect to SOCKET
>>105760715This no longer work babe
>>105760864Your requirements and issues with existing solutions are unclear. You also seem to be confusing the term CLI with what is in fact a TUI.
>>105761041OK whatever satisfy you