4 ms·
Does this have the ability to bet set to "grab highest available resolution" instead of specifying one? A lot of the material I'd like to archive has material f
by causality0 4y ago
Does this have the ability to bet set to "grab highest available resolution" instead of specifying one? A lot of the material I'd like to archive has material from well before and after Youtube started supporting HD resolutions.
- 2OEH8eoCRo0 4y agoWhat if the highest available resolution does not have an audio stream?
- TonyTrapp 4y agoOnly some formats which I guess are to be used with older browsers contain both video and audio. In general, these days video and audio are delivered through separate streams on YouTube.
- NegativeLatency 4y agograb the audio stream from something else and stitch them together with ffmpeg (like youtube-dl and others do)
- rollcat 4y agoNormally in modern adaptive streaming, every video variant is muxed into a separate stream without audio, and different audio variants are muxed into their own individual streams.
- jxramos 4y agowow, I wonder if that's why it always feels so frequent an experience of mine where the audio and video feel subtly out of sync with one another. It's very minute but detectable. Feels like that experience has increased in the last 6 months or so.
- crazygringo 4y agoYouTube has been that way (separate streams) for a long time, definitely not anything new in the last 6 months. And they reassemble to be indistinguishable from the original combined stream, so that's not going to be the cause. There are plenty of causes of delayed audio, however. Bluetooth is a big one, if your device and software aren't properly compensating for the Bluetooth transmission delay.
- rollcat 4y agoThat kind of issue on the encoder OR player side would've been easily caught in testing, including through automated tests, so as crazygringo says, it's most likely your OS/hardware. If you need to troubleshoot sync issues, this is a helpful tool: https://www.youtube.com/watch?v=HD4emXqHCsE https://www.youtube.com/watch?v=HD4emXqHCsE
- jxramos 4y agothat's pretty good, bip bop, those line up spot on. I wonder if its quality/resolution dependent. That test video is 360 max. Whatever I'm perceiving if I'm actually seeing something is in the ms range, it's not obvious it's like right on the border if I trust my senses.
- svnpenn 4y agoIt's just a wrapper for YT-DLP
- walrus01 4y agoI am fairly sure that if this uses yt-dlp with the default options it will grab whatever is the highest available resolution video (and most modern codec) and merge it with the highest quality available audio track. same as just "yt-dlp https://url-of-video https://url-of-video" from a CLI
- bertman 4y agoLooks like the "best" quality setting is hardcoded currently: https://github.com/Owez/yark/blob/676074ee3d9e379d15e52ffe2e0fa5436b2a31fb/yark/channel.py#LL209C29-L209C29 https://github.com/Owez/yark/blob/676074ee3d9e379d15e52ffe2e... It would be nice to expose this setting via config file and/or the cli.
- Owez 4y agoWorking on some of the groundwork of it now in https://github.com/Owez/yark/pull/57 https://github.com/Owez/yark/pull/57. Higher quality might be a bigger issue to tackle because of dependence on ffmpeg but it'll be done in v1.3, slated for release in about a months time. I'm going to cap videos to 1080p by default and have a config setting to customize this.
- gniv 4y agoI would actually like the opposite: cap the resolution. I don't really need 4k videos.
- causality0 4y agoFrankly I'd be ecstatic if I could limit it to 30fps versions as well. Aside from the occasional speedrun I have zero desire to increase the file size by 40 percent for nothing.