libera/#devuan/ Wednesday, 2023-04-05

Xenguybrocashelm: I noticed that you mentioned elsewhere an issue with mpv and YT video+audio...00:49
XenguyI've been noticing that *some* videos work with mpv, whereas others do not...00:50
XenguyI had (mistakenly) assumed that what I needed was a 'yt-dlp' update, but you seemed to suggest that the fix has more to do with 'mpv'...00:51
XenguyAm I out of luck if I'm still running good ol' Beowulf, or ... ?00:51
Xenguyby "some videos work", I mean that sometimes audio will be included, and other times it is not in evidence00:52
golinuxI recently tried to open some old media files on CD in mpv and they failed. I had to install VLC01:00
golinuxmplayer2 worked perfectly in Jessie01:01
golinuxI suppose this is "progress" . . .01:01
brocashelmxenguy: as youtube keeps changing their algorithm, you might have to make that leap at some point, or just try yt-dlp (official github binary) for downloading videos01:10
brocashelmgolinux: why not just rip your cd? have you tried to use mpv cdda://01:11
Unit193Debian #1033609, #1033595, #1033517.01:12
Unit193Aka: Yes update mpv.01:12
brocashelmdamn, still stuck at 0.2901:15
FatPhilI like yt-dlp generally, but I've had some very dodgy behaviour with the one I just downloaded onto the new laptop - it creates obnoxious filenames that inject characters into my console01:16
golinuxbrocashelm: The cds are backups so not that important. I have working mpg elsewhere.01:34
golinuxIn fact, I was just thinking of dumping the cds into the trash . . . spring cleaning and all . . . but since they are playable, guess they can go back on the shelf.01:36
MetaYanRegarding mpv and yt-dlp, I've found that formats that include both video and audio (22 and 18 on YouTube for example) play really well. Others are often better first to download and merge and then play.02:13
XenguyYeah, it seems to work fine if I download first, but if I stream the video, whereas previously it used to work fine, now it plays maybe 50% of the time with no audio02:28
XenguyUnit193: Sounds like I'm out of luck unless I upgrade my distro version, or install from outside the distro02:29
Xenguybrocashelm: So if they are not too large videos, for now I can just bite the bullet and download then play the video02:30
XenguyFatPhil: I've seen nothing like that behavior myself02:30
gnarfacedoes your mpv command-line specify cache?02:30
Xenguygnarface: hrm, let's check that02:30
gnarfaceif it doesn't, try specifying 8192(kB)02:31
Xenguygnarface: I don't think so, and I'd have to look up what you mean.  I just type:  mpv <video-URL>02:31
gnarfacenot with the "(kB)" part, i'm assuming kB is the default measurement since it is for mplayer, i'm just not sure for mpv02:31
Xenguy^^ to stream02:32
gnarfacei don't have mpv installed here but afaik it started as just another fork of mplayer02:32
gnarfacecheck the man page for a "-cache" setting02:32
XenguyWhat's an example of this 'cache' thingie you mentioned02:32
XenguyAh, OK02:32
XenguyAnd why might that be helpful to my use case?02:32
gnarfacemy hypothesis is they may have made a change to how they encode their videos02:33
gnarfaceand locally, i had noticed that h264 is very sensitive to having enough cache, and it seemed to vary based on video content02:33
gnarfaceolder codecs don't seem so picky and can reliably get by with less02:34
gnarfaceit's a bit of a long shot but it's worth trying if you've been going without this whole time02:35
gnarfaceit will delay stream startup a bit02:35
brocashelmyou could also try ffplay if you just want to watch a video from cli02:38
Xenguybrocashelm: Will ffplay stream a video?02:39
Xenguygnarface: Duly noted, I'll have a look at the man page02:39
brocashelmxenguy: nope, it's for playing local files02:42
XenguyOK, good to know, but AFAIK if I d/l the file first, mpv will play the audio as well just fine02:42
gnarfaceprobably worth verifying that, but if that's the case then it supports my hypothesis02:44
XenguyGreat, thanks, got a lead to follow then02:44
gnarfacei don't understand it very well at a technical level but i'm thinking something vaguely about increased keyframe intervals or something like that02:44
XenguyNo idea, I don't understand the internals of this stuff, I just want it to work (using the trailing edge ; -)02:45
fluffywolfXenguy:  is kitty ok?03:47
Xenguyfluffywolf: Thanks for asking03:51
onefangI think recall youtube changed recently specifically to stop the downloaders from working.  The Chimaera versions af both certainly stopped after that.  Not seen any updates.12:23
onefangBoth is yl-dlp and youtube-dl.12:24
onefangAh yt-dlp has a backports version 2023.03.04, think I'll try that.12:25
onefangThat worked.  B-)12:29
onefangAt least audio only worked, that particular clip only has a static photo, it's the music I wanted.12:30
brocashelmi get yt-dlp from the git repo with the -U command13:49
brocashelmi think certain packages should be continuously updated because of google's bs, and yt-dlp is one of them13:50
onefangThat's why I was trying the backports one, that version number is a date, so it was last updated a month ago.13:57
FatPhilXenguy: I've narrowed down my weird behaviour to my xterms all starting with UTF-8 encoding disabled, and somehow the 8-bit stuff it tries to display causes control codes confuse the shell within (injecting 64;1;2;6;9;15;18;21;22c before every input)17:06
FatPhillooking for a .Xresources solution to that presently17:07
XenguyFatPhil: Maybe you meant that for someone else?17:11
FatPhil02:16 < FatPhil> I like yt-dlp generally, but I've had some very dodgy ... 03:30 < Xenguy> FatPhil: I've seen nothing like that behavior myself17:13
fluffywolfI noticed the other day that yt-dlp was broken, but I didn't look into it.17:25
onefangI just tested the chimaera-backports version of yt-dlp, it's fixed again.17:30
fluffywolfnow that I'm unemployed, I can't download videos at work, so haven't tried in the last month.  heh.17:47
FatPhilI've always used the latest one straight from the source, so I can just run it with -U if I have any problems (not that they fix everything that quickly, but it's better than waiting for it to filter through the distros17:52
onefangWell the backports one was an update from a month ago, so didn't take very long to filter through.18:02
FatPhilThe last few times youtube has completely broken their interface, it took between 1 and 4 days for upstream to be fixed. I was very impressed.18:04
buZzwe use yt-dlp to 'download and add music to playlist in the hackerspace'18:06
buZzour /youtube dir is huge18:06
buZz:D18:06
fluffywolfI use rutracker for that.  :P18:09
fluffywolfif you've never used rutracker, their music collection is absolutely amazing.18:12
buZzfluffywolf: hehe, for ~2 months i downloaded daily 'new punkrock releases'18:17
buZzi'm -still- sorting it out18:17
buZzbut Insert_Coin-Way_Out-WEB-2018-ENTiTLED was a great find among it18:18
buZz(its all 2018)18:19
fluffywolfdownloaded from youtube?18:20
buZzno, i think from rarbg :P18:21
buZzthey had/have 'daily releases' uploaded to them from some ftp i guess18:21
buZzseperated by genre18:21
fluffywolfI'm always looking for music sources.18:21
fluffywolfamazingly, rutracker has a half dozen other insert coin things, but not that one.  it's always amazing when rutracker doesn't have something, since their collection is so complete...18:22
buZzfluffywolf: you want it?18:23
fluffywolfsure, if it's any good.  lol18:24
buZz-i- like it18:25
buZzdno if its good18:25
buZzlol18:25
buZz-offtopic ;)18:26

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!