irahorecka / youtube2audio

GUI application to download YouTube videos as annotated MP3 or MP4 files
MIT License
153 stars 28 forks source link

Incorrect duration of MP3 on Apple Music #12

Open irahorecka opened 4 years ago

irahorecka commented 4 years ago

I noticed a recurring issue where Apple Music (and most likely any audio player) displays the song duration to be twice the length of its content. E.g. if a song is 3:23 long, the timestamp will show 6:46.

I attribute this to a pytube "bug" in a Mac environment (https://github.com/nficano/pytube/issues/203).

However, the MP3 annotation is correct outside of the audio player -- only when the MP3 file is ported to Apple Music is the duration twice its supposed length (view image below)

Conflicting time stamps