Hello,

what I mean by that is that whenever I download a song from youtube using yt-dlp and listen to it using mpv it always feels like I am listening to a higher quality version of the music, I don't know it it's just me or there is some scientific reason behind it.

all 14 comments

sorted by: hot top controversial new old
[–] 31 points 1 year ago (3 children)

As they mature on your disk, the quality slowly increses. Although after a while, videos get overripe and eventually dissolve in a mess of macro blocks. That's why it's important to know when to move them to cold storage.

  • source
  • hideshow 3 child comments
  • [–] 31 points 1 year ago

    Probably because youtube is using transcoding while streaming and serves a worse version while streaming for the sake of keeping the trasnmission uninterrupted

  • source
  • yt-dlp requests a specific format and downloads that in its entirety. When you use the YouTube web site, it dynamically adjusts based on your internet connection. If there's lag, then it'll drop you to a lower bitrate. So that's one possible explanation.

    There's a little gear button on the YouTube page that lets you manually select the quality you want. If you specifically select e.g. 1080p then it won't drop you down, it'll just lag if your internet is too slow. I'm not 100% sure if that also applies to audio.

  • source
  • [–] 12 points 1 year ago

    it's not happening 'after'. ytdlp is likely downloading a higher quality file than what the browser or app is receiving for streaming.

  • source
  • [–] 4 points 1 year ago (2 children)

    What codec are you downloading? My internet is a joke, its slow and vids are always compressed in real-time to adapt to the connection speed. Downloading the video (audio) gives you the option to get the original or uncompressed audio stream, you can set yt-dlp to download at the best available quality, so that could be the reason.

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 1 year ago (1 child)

    I am using the default mp4 and webm file format to download the music.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago*

    Quick question, why do you choose mp4 rather than say opus? Just wondering because I can't often tell the difference on my subpar headphones. Do you choose high bitrate settings?

    Edit: you mentioned the default, so I guess the bitrate falls somewhere in the middle for quality.

  • source
  • parent
  • [–] 3 points 1 year ago (3 children)

    Turn off "Stable Volume" in Youtube's video settings to disable dynamic range compression.

    This is a must if you listen to music on Youtube.

  • source
  • hideshow 3 child comments
  • [–] 1 point 1 year ago (2 children)

    Volume and Dynamic Range are different things. One doesn't effect the other.

    Stable Volume just uses a form of ReplayGain to adjust volume for each track so they don't swing so much.

    It's not doing any dynamic range compression, like some Nighttime Listening mode.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago

    Tell that to the GuitarTubers whose audio get squashed to oblivion.

    I can literally hear pumping clear as day in response to loud moments. It absolutely is doing dynamic range compression.

    Its so obvious that I realized I was logged out of my Youtube account after a browser update and had to disable it again.

  • source
  • parent