TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Yt-Dlp Reduced Quality?

4 点作者 ramtatatam超过 1 年前
Hi HN!<p>I maintain a playlist of youtube clips for offline use in case I run out of internet, and recently I noticed something strange.<p>I was listening to this clip on youtube: https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Ry4TqqM5TGs , I then downloaded it with `yt-dlp https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Ry4TqqM5TGs` and listened locally with intention to loop until end of my day. And I noticed when I play this clip on youtube the sound is much more vibrant and the clip sounds much better than the downloaded version.<p>Is there any magic switch I&#x27;m missing? I already tried `-f bestvideo+bestaudio`

2 条评论

qbrass超过 1 年前
It might be pulling an audio format that either youtube resampled, or that ffmpeg had to resample when merging the video because it&#x27;s not compatible with the video format.<p>There&#x27;s a way to pick preferred audio and video formats it will choose over what&#x27;s simply the best bitrate, but you&#x27;ll have to look in the manual for more details.
评论 #37560339 未加载
8chanAnon超过 1 年前
The highest quality audio is generally tag 251 (webm&#x2F;opus). You can stream or download through an Invidious instance:<p><a href="https:&#x2F;&#x2F;vid.puffyan.us&#x2F;latest_version?itag=251&amp;id=Ry4TqqM5TGs" rel="nofollow noreferrer">https:&#x2F;&#x2F;vid.puffyan.us&#x2F;latest_version?itag=251&amp;id=Ry4TqqM5TG...</a>