Here I used the '-f' option to choose each of the 'audio only' formats available for the example video, and then I used the '-o' flag to specify a custom format string for the output files so that the file names include the format id making them unique from each other and corresponding to the entries in the original table.
This gives me files containing each of the audio formats that were available from YouTube.
-rw-r--r-- 1 user user 437246 Oct 9 2013 a28_aXgrgXE.139-dash.m4a
-rw-r--r-- 1 user user 437246 Oct 9 2013 a28_aXgrgXE.139.m4a
-rw-r--r-- 1 user user 713133 Oct 9 2013 a28_aXgrgXE.140-dash.m4a
-rw-r--r-- 1 user user 872935 Oct 9 2013 a28_aXgrgXE.140.m4a
-rw-r--r-- 1 user user 441481 Oct 9 2013 a28_aXgrgXE.233.mp4
-rw-r--r-- 1 user user 881428 Oct 9 2013 a28_aXgrgXE.234.mp4
-rw-r--r-- 1 user user 711273 Jul 22 2019 a28_aXgrgXE.251.webm
The timestamps of the files are set by yt-dlp to correspond to timestamps it got from YouTube.
It might be worth to be careful about downloading alternate format versions of too many videos. I could imagine that downloading alternate formats of too many videos from YouTube could trigger something on their side to make them think you are a bot or something. Of course that's just speculation and I don't know if YouTube actually does that. Hopefully doing it for a single video won't get your IP banned by YouTube.
You could try downloading different audio formats and see if any of the available ones contain non-garbled audio.
For example:
Output: And then download each of the "audio only" entries from the table. In the case of the table for the video I chose: Here I used the '-f' option to choose each of the 'audio only' formats available for the example video, and then I used the '-o' flag to specify a custom format string for the output files so that the file names include the format id making them unique from each other and corresponding to the entries in the original table.This gives me files containing each of the audio formats that were available from YouTube.
The timestamps of the files are set by yt-dlp to correspond to timestamps it got from YouTube.It might be worth to be careful about downloading alternate format versions of too many videos. I could imagine that downloading alternate formats of too many videos from YouTube could trigger something on their side to make them think you are a bot or something. Of course that's just speculation and I don't know if YouTube actually does that. Hopefully doing it for a single video won't get your IP banned by YouTube.