← Home ← Back to /g/

Thread 106003818

129 posts 36 images /g/
Anonymous No.106003818 >>106006194 >>106011269 >>106020056 >>106038353
mpv ffmpeg yt-dlp
Anonymous No.106003853 >>106008663 >>106009955
how do i get hevc decoding in chromium
Anonymous No.106003878 >>106031685
>japanese soldier who kept fighting 20 years after the war
Anonymous No.106004364 >>106005319
should i coreboot or libreboot my ivy bridge thinkpad
Anonymous No.106004469
How should I config my mpv if I want to watch anime, no skipped frames, hdr/dv support and my screen is 120hz and with hdr constantly on except when I'm streaming to my friends on discord?
Anonymous No.106004536 >>106005771
Is there a Discord server for this general? Why isn't it in the OP
Anonymous No.106005319 >>106006194 >>106006641
>>106004364
mpvboot
Anonymous No.106005771 >>106005803
>>106004536
#mpv-offtopic@libera.chat
Anonymous No.106005803
>>106005771
gay and reddit
Anonymous No.106006179 >>106006721
The HTTP/403 errors are back. Fuck it, I'm piping yt-dlp to mpv. It's a shame you can't seek a pipe properly so you have to choose from --live-from-start or live when viewing live streams but that's the price to pay for this pile of crap. Someone should build a proxy server that supports seeking properly.
Anonymous No.106006194
>>106003818 (OP)
>>106005319
trannies !
Anonymous No.106006641
>>106005319
why
Anonymous No.106006721
>>106006179
It still hangs / stalls after a while even with this. Is there really no way for yt-dlp to detect that no progress is being made and re-initialise everything? There's no direct HTTP error it just hangs and stops making progress and therefore doesn't feed the pipe anymore.

Is there any hacks to monitor if the pipe isn't being fed with data after say 10 seconds then restart yt-dlp and do this without breaking the pipe? I guess I should use a socket or fifo for this?
Anonymous No.106007094
what is best module formats library for ffmpeg? tested mpv, ffmpeg with libopenmpt, it failed to detect full track in a mo3 file
Anonymous No.106007569 >>106008435 >>106032510
What's the difference between
-vaapi_device /dev/dri/renderD128
and
-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi
Anonymous No.106008242 >>106008759 >>106009797
https://github.com/mpv-player/mpv/discussions/16557
ffmpeg can't even rate limit
Anonymous No.106008435 >>106032510
>>106007569
i hope thats a man
Anonymous No.106008663 >>106010554
>>106003853
use Windows
Anonymous No.106008759 >>106009257
>>106008242
>discord tranny still trying itt
Anonymous No.106008831 >>106010670 >>106013765
I miss the days when discord troons meant different people and not ikatroon and its allies
Anonymous No.106009257 >>106010670
>>106008759
What does ffmpeg have anything to do with discord?
Anonymous No.106009298 >>106009772
av_get_bits_per_pixel
av_get_padded_bits_per_pixel
what the fuck do those even do? where is function to get pixel fromat's bit depth? inb4 AVComponentDescriptor.comp[0].depth
Anonymous No.106009772
>>106009298
ffmpeg APIs are known to be great, well understood, and properly documented.
I experienced this first hand the couple of times i discovered regressions in dependants due to a ffmpeg updates, and both cases triggered infighting between ffmpeg developers about "implicit" API promises lol
Anonymous No.106009797 >>106010345
>>106008242
Is he actually working on a proper HTTP source (not ffmpeg) for Mpv? That would be great if true. Add HTTP/3 support with Nghttp3 too.
Anonymous No.106009955 >>106010554
>>106003853
Use Firefox
Anonymous No.106010092 >>106010152
profile=high-quality
Rate my config.
Anonymous No.106010152 >>106010443 >>106011354
>>106010092
profile = fast
vo = dmabuf-wayland
Anonymous No.106010345
>>106009797
He has a private branch that uses libcurl
Anonymous No.106010443
>>106010152
>vo = dmabuf-wayland
Stop doing this
Anonymous No.106010554 >>106013166
>>106009955
>>106008663
both work and i don't want either
Anonymous No.106010670
>>106008831
>>106009257
If you don’t have friends or family, go join a church. The people in the church believe that IT’S THEIR JOB AS CHRISTIANS TO MAKE YOU PART OF THE COMMUNITY. They will go out of their way to fit you in. It doesn’t matter if you don’t have strong social skills. Just be honest and they WILL take you in and teach you. At least a good church will, so if you don’t find it at one, then keep trying until you find a good one. It’s God’s plan that you have a good mate and family and be supported by a strong community.

It’s amusing that there’s a fat tranny shill like you being paid 10 cents per post that barely makes enough money to pay for your dilating supplies. But your time here will be over soon when you kill yourself for not being a real woman.
Anonymous No.106011269 >>106021376
>>106003818 (OP)
yt-dlp frontend. now on github: https://github.com/orlfman/ytdlpfrontend
Anonymous No.106011354
>>106010152
profile=fast has no effect on dmabuf-wayland
Anonymous No.106013166 >>106013447
>>106010554
>She doesn't want the thing that works
Suit yourself
Anonymous No.106013447 >>106015101
>>106013166
to be fair firefox cant decode webms properly
Anonymous No.106013765 >>106014000 >>106014910 >>106017649
>>106008831
the "different people" have decided to focus on ruining /ptg/ instead. /mpv/ is already battered beyond recognition and all possible value that could be extracted from here has already been depleted.
Anonymous No.106014000
>>106013765
> ruining /ptg/
literally the worst general second to none
Anonymous No.106014910
>>106013765
Nice psyop, did your discord sisters come up with that? Not too many of them in the thread right now though, lonely much?
Anonymous No.106015101 >>106015120 >>106015161
>>106013447
HEVC Webms aren't a thing though, right? They'd be in a matroska container which Firefox explicitly doesn't support despite it being similar enough to Webms. They support HEVC files in an MP4 container though which is much more likely to be standard on the web if people are even using HEVC at all.
Anonymous No.106015120 >>106015269
>>106015101
hevc mp4s are and you can post them on some altchans
Anonymous No.106015161 >>106015256 >>106015444
>>106015101
Putting "licensing" issues aside, both Firefox and Chromium could support *literally everything* since they both use ffmpeg libs (in the desktop versions at least), but there is a web standard to adhere to.
Anonymous No.106015256
>>106015161
there is a web standard to adhere to.
Anonymous No.106015269 >>106015285
>>106015120
Post them.
Anonymous No.106015285 >>106015295
>>106015269
>ALT chans
Anonymous No.106015295 >>106015307
>>106015285
Post.
Anonymous No.106015307 >>106015332
>>106015295
for what
Anonymous No.106015332
>>106015307
What do you mean?
Anonymous No.106015444 >>106016066
>>106015161
With modern web crap you can write your own decoder with WASM and WebGPU, except WebGPU support is still experimental after all these years and still zero support in Linux.
Anonymous No.106016066
>>106015444
WASM is fast enough for audio codecs. When it comes to video codecs, decoders full of SIMD optimizations can barely cope already.
WebGPU is irrelevant in this context, except for some custom codecs no one uses that have native GPU decoders.
Anonymous No.106017649
>>106013765
>ruining /ptg/
Has been bottom of the barrel for years.
At least we're past the tummy general days.
Anonymous No.106019721 >>106019884 >>106021369
https://github.com/mpv-player/mpv/issues/16578
bugsper vulkan beta testing stutterpv continues
Anonymous No.106019747
Does any player do SDR -> HDR any good? I suppose it would just need a good mapping with configurable peak brightness and a decent debander.
Anonymous No.106019884
>>106019721
tell the jeet tard (if it's not you) that vd queuing exists for when a (usually software) decoder maxes cpu utilization (across threads, or for some threads when the decoder is not, or can't be, perfectly parallelizable) for some frames, and doesn't for others, thus avoiding frame drops across the full playback period.
or in simpler words, it's for when a decoder max fps fluctuates between above real-time and below real-time decoding.
this was particularly useful in the last few years with earlier versions of dav1d and 4K/8K HFR videos.
it has nothing to do with some unspecified "old bugs".
you would think this would be obvious for someone terminally larping as a nu-dev.
Anonymous No.106020056 >>106020599
>>106003818 (OP)
Anonymous No.106020599
>>106020056
This.
Anonymous No.106021369
>>106019721
did they seriously just realize that ffmpeg's shitty implementation of vulkan hwdec is not multithreaded...?
Anonymous No.106021376
>>106011269
Thanks fren!
Anonymous No.106023379 >>106023467 >>106023986
av1 for archival
x265 for faster encodes
vp9 for 4chan

are these basically good rules to go by?
Anonymous No.106023467 >>106023535
>>106023379
>av1 for archival
ffv1
>x265 for faster encodes
x264
>vp9 for 4chan
yes
Anonymous No.106023535 >>106023686
>>106023467
I mean I guess you're right but I actually want to compress what I'm encoding from h264 and should have said that
Anonymous No.106023686 >>106023806
>>106023535
https://x265.readthedocs.io/en/master/lossless.html
https://trac.ffmpeg.org/wiki/Encode/H.265#Losslessencoding
Anonymous No.106023806 >>106023908
>>106023686
yes I know but this isn't really helpful when you're trying to compress you end up getting sizes that are twice the size
Anonymous No.106023908 >>106024080 >>106024219
>>106023806
adjust parameters
>trying to compress you end up getting sizes that are twice the size
https://old.reddit.com/r/DataHoarder/comments/1lq49o4/if_you_hoard_video_tdarr_saved_me_132tb/
Anonymous No.106023986 >>106024219
>>106023379
x265 for personal archive*
for faster encodes
for 4jeet
* apv (or prores if you're a macfag) if you need semi-lossless. lossless is overkill unless you're literally sufficiently funded and officially tasked to archive stuff, AND that stuff is lossless (as in haven't gone through digital quantization).
Anonymous No.106024080 >>106025170
>>106023908
I have a hard time believing that there wasn't a noticeable quality loss using QSV. You went from overkill to fuck it.
Anonymous No.106024219
>>106023908
>PussyMangler421
>My porn collection was just absurdly large
>cheap intel arc GPU's to encode to AV1
>It took a good year of 24/7 encoding but I went from 220TB to only 88TB.
Goontard should've used CPU encoding to save MORE space. That's still amazing dough.
>>106023986
> for faster encodes
Jeety?
Anonymous No.106025170 >>106025302
>>106024080
QSV is between x265 medium and veryslow.
NVENC AV1 is even better than QSV.
Anonymous No.106025302 >>106025537 >>106025834
>>106025170
Yeah but where's SVT-AV1? Also even in that very link someone points out not to use VMAF because it targets smartphone delivery.
Anonymous No.106025537 >>106025638 >>106025834
>>106025302
On par or better than SVTAV1 preset 5 for both SSIM and VMAF when not bitrate starved.
Software encoders only win at streaming bitstarved rates which are not worth considering for archival.
Anonymous No.106025638 >>106025922
>>106025537
>Software encoders only win at streaming bitstarved rates which are not worth considering for archival.

Well that's exactly the subject matter considering that link is porn and anon wanted to encode from h264
Anonymous No.106025834
>>106025302
>>106025537
>blurfag mutts can't figure out anything without a useless numerical score
Anonymous No.106025922 >>106026099
>>106025638
When transcode something and delete original afterwards the encoding needs to be transparent. Deleting the original with low quality replacements is the last thing data hoarders would do.
Anonymous No.106026025 >>106027588
how wide is the support for hevc rext decoding?
my workstation gpu can encode rext, but not main10 lol
Anonymous No.106026099
>>106025922
Yes but we're talking about content that is low bitrate to begin with
Anonymous No.106026329 >>106027083 >>106028435 >>106028990
Anyone having issues with mpv+ytdlp? It takes almost 3 minutes to load a video, started happening yesterday.
Anonymous No.106027083
>>106026329
Anonymous No.106027347
stares at you
Anonymous No.106027588 >>106030825
>>106026025
got an example file handy?
Anonymous No.106028434 >>106028876
When seeking H.265 files (5 second exact seek) the file will occasionally begin playing at higher speed until I seek again. What's up with that? Doesn't seem to happen with H.264 videos. Using a very recent build of mpv but this behaviour has happened for ages.
Anonymous No.106028435 >>106028631
>>106026329
yt-dlp is using formats which don't work well with mpv by default and youtube probably did some changes that broke it
no problem with my own youtube client which has its own extractor
Anonymous No.106028631 >>106028932
>>106028435
Kill yourself insufferable Discord subhuman tranny. You're mentally fucking ill. Do the world a favor and stop blatantly lying to suit your retarded narrative.
Anonymous No.106028876
>>106028434
decoding for that codec is kinda broken and the developer and basically the main maintainer for the codec that made the changes last time that broke it doesn't like ffmpeg anymore so we're kinda sol
Anonymous No.106028932 >>106028977
>>106028631
nothing you said is true
Anonymous No.106028977
>>106028932
Well, you're a pedophile so i believe him
Anonymous No.106028990 >>106035599
>>106026329
my issue with ytdl is that it doesn't work well with live video. I use ikatube or streamlink for live video. otherwise, I use mpv+ytdl and also to watch videos with srv3 subtitle
Anonymous No.106030825 >>106031241 >>106034436
>>106027588
https://files.catbox.moe/lfc95l.mkv
ffmpeg -vaapi_device /dev/dri/renderD128 \
-f x11grab -video_size 3200x1600 -framerate 60 -i :0+140,350 \
-c hevc_vaapi -profile:v rext -tier high -level 6.2 -compression_level 29 \
-qp 28 -vf 'format=nv12,hwupload' t.mkv
Anonymous No.106031241
>>106030825 (Me)
i just checked, and the amd gpu that created this can't decode it lol.
gtx 1xxx can hardware-decode this just fine however, using either nvdec or vulkan.
Anonymous No.106031685 >>106037484
>>106003878
being stranded on an island eating berries and lizards is not "fighting"
Anonymous No.106032273 >>106032394 >>106032498 >>106037484
thanks to ikatube now I can follow my fav vtubers easily
Anonymous No.106032394 >>106037484
>>106032273
SAMee Ironmouse said trans rights
Anonymous No.106032447 >>106037484
I'm a poorfag and I started doing backups of my backups onto DVDs even though I have 8TB in 2 drives.
Anonymous No.106032498 >>106037484
>>106032273
embarrassing
Anonymous No.106032510 >>106037484
>>106007569
Anyone?
>>106008435
No, but those are.
Anonymous No.106034436 >>106034755 >>106035124 >>106037484
>>106030825
>x11grab
use kmsgrab for zero copy
Anonymous No.106034755
>>106034436
no use gpu-screen-recorder for kmsgrab
Anonymous No.106035124 >>106035203
>>106034436
Kmsgrab can be more problematic than X11 or PipeWire. It can drop frames and also has issues with multi-GPU or 10-bit/HDR, etc. I don't know why software like Sunshine uses it.
Anonymous No.106035203 >>106035257
>>106035124
>etc
no cursor gets solved by using software cursor and audio sync issues not resolved
kmsgrab is not maintained or updated confusing why
Anonymous No.106035257 >>106037475
>>106035203
The only thing it has going for it really is that it's as raw / low-level as it gets. It's pretty cool that it works anywhere and can even be used to make screen captures of the Linux Console / TTY (although you could just as easily use the script tool or something like asciinema for this). The tearing and synchronization issues are less cool.
Anonymous No.106035599 >>106037484
>>106028990
Does your ickytube support HTTP/3 live streams? I will use your ickytube if it has this
Anonymous No.106036690 >>106036846 >>106036946 >>106036982 >>106037108 >>106037484
https://github.com/mpv-player/mpv/pull/16585
>no commit message
>no benchmarks
>doesn't link to an issue that fixes
how much is this cowboy commit going to fuck up mpv?
Anonymous No.106036846 >>106037484
>>106036690
I guess it depends what lavc does. Is this going to suddenly start spawning more threads?
Anonymous No.106036946
>>106036690
go back to you mpc-hc repo
Anonymous No.106036982 >>106037167 >>106037484
>>106036690
have you ever heard of testing changes?
Anonymous No.106037108 >>106037484
>>106036690
it's a trivial good change, nu-mpv attention whore.
not a cause for drama.
all you'll get is a (You). congrats.
Anonymous No.106037167 >>106037215 >>106037484
>>106036982
>have you ever heard of testing changes?
YOU WILL BE A BETA TESTER FOR ETERNITY

YOU WILL NEVER HAVE STABILITY

AND YOU WILL BE HAPPY
Anonymous No.106037215 >>106037294 >>106037484
>>106037167
is this merged? What are you even crying about?
Anonymous No.106037294 >>106037336 >>106037484
>>106037215
apparently you don't know kasper's patterns. whenever he submits a pr with no commit message, he intends to merge it the very next day. this has been a reoccurring problem in mpv
Anonymous No.106037336 >>106037432 >>106037484
>>106037294
take your meds and chill, you have bad day
Anonymous No.106037432 >>106037460 >>106037484 >>106037946
>>106037336
>do not point out problems
>do not find patterns
avih deduced this issue years ago.

1. kasper makes his PRs unreviewable on purpose so that no one can contest the change
2. something in mpv breaks
3. now someone has to go through 5 million unmarked commits and benchmark for hours to figure out what the fuck is broken

you benchmark first, commit second
Anonymous No.106037460 >>106037477 >>106037484
>>106037432
>nu-mpv attention whore pretending like he doesn't know `git bisect` for drama points
Anonymous No.106037475 >>106037484 >>106037490 >>106037553 >>106037610
>>106035257
>Tearing
there is no tearing with kmsgrab, what do you mean? Also kmsgrab can do cursor capture as well, it's just that ffmpeg doesn't support it (gpu screen recorder does)
Anonymous No.106037477 >>106037484 >>106037946
>>106037460
where are the benchmarks
Anonymous No.106037484 >>106039977
>>106031685
>>106032273
>>106032394
>>106032447
>>106032498
>>106032510
>>106034436
>>106035599
>>106036690
>>106036846
>>106036982
>>106037108
>>106037167
>>106037215
>>106037294
>>106037336
>>106037432
>>106037460
>>106037475
>>106037477

Kill yourselves Trannies.
Anonymous No.106037490 >>106037521 >>106037547
>>106037475
Kmsgrab isn't synchronised with the rendering of your compositor so it can capture mid-frame which results in tearing.
Anonymous No.106037521 >>106037547
>>106037490
I have never seen tearing with kmsgrab, even when running games with no fps limit and no vsync
Anonymous No.106037547
>>106037521
>>106037490
I think that tearing cant happen because the kms frame update is atomic, it swaps the buffer?
Anonymous No.106037553 >>106037577
>>106037475
https://github.com/andykitchen/swcursor
Anonymous No.106037577
>>106037553
With shitty amd gpu I have to force software cursor anyways with this xorg option:

Option "SWcursor" "true"

otherwise the system freezes. Thanks, amd, great.
Anonymous No.106037610 >>106037638
>>106037475
>Also kmsgrab can do cursor capture as well, it's just that ffmpeg doesn't support it (gpu screen recorder does)
yes that is what being alluded
gpu-screen-recorder is bloat however
Anonymous No.106037638
>>106037610
ffmpeg also cant do kmsgrab on nvidia on wayland and nither on many intel systems either (on x11 and wayland). It doesn't work with 10-16-bit graphics either, which is enabled by force in kde plasma when you have a monitor that supports that (the option to disable that was only added very recently, most distros dont have it)
Anonymous No.106037946
>>106037432
>>106037477
Quit polluting the thread with your retardation. There's no need for benchmarks. Derailers like you have nothing better to harp on right now so you bring up the most pointless shit. I'm not Kasper btw
Anonymous No.106038353
>>106003818 (OP)
drawing bleach characters like this is anime blackface
Anonymous No.106039146 >>106039728
>yt-dlp
what config option should I use so that videos always download with the same extension (container)? An

I hate it when I'm trying to resume a download and it creates a file.differentextension

Currently I'm using
>--format bestvideo[height<=?1440]+bestaudio/best
Anonymous No.106039728 >>106039736 >>106039748
>>106039146

-t mp4 --merge-output-format mp4 --remux-video mp4
-S vcodec:h264,lang,quality,res,fps,hdr:12,a
codec:aac

-t mkv --merge-output-format mkv --remux-video mkv
Anonymous No.106039736 >>106039750
>>106039728
without converting the file, just get the same from their servers
Anonymous No.106039748
>>106039728
i USUALLY save videos in vp9 webm to reduce artifacts and filesize
Anonymous No.106039750
>>106039736
That doesn't convert it, it remuxes it. If you want a very specific format from the server then you need to request that explicitly but then that's no longer bestvideo if you tell it to grab an mp4 and the bestvideo is a webm.
Anonymous No.106039977 >>106040155
>>106037484
Gemmy
Anonymous No.106040155
>>106039977
Ideal goonette body modification