Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Downloading audio from youtube results in odd file timing information #2578
Comments
|
I should note, that this isn't a problem if I request the mp3 format. But requesting m4a format still breaks this for me in this manner. |
Not sure the ideal title for this, but I'm running on Ubuntu 12.04 LTS and using youtube-dl to extract audio using the command
This used to work just fine for me. But recently this has changed. What happens now is that I can download the file no problem. I can also play it back using, say, mplayer with no audio problems. However, there are problems in terms of the position in the file that mplayer thinks it's starting from. For example, when I start a file it will say something like this
Here you can see I'm at 0% of the file, but I'm already somehow at 3:51:5 of the file. Now if this timing information were just aesthetic, I wouldn't care. But it's not. It's apparently bad enough that VLC won't even play the audio file at all. Furthermore, when I try to put this song onto my iPod, iTunes tells me that the duration information is "Unavailable". Putting the song onto the iPod and then playing it results in it immediately being skipped. I should note that I use iTunes through a Windows VirtualBox, so I'm not entirely sure that this is strictly a Linux issue (though I downloaded the song within Linux -- I only use Windows to load songs onto my iPod).
Any ideas as to what might cause this? I'm running the latest youtube-dl (at least, I ran youtube-dl -U this morning from the commandline). I was talking to someone in the youtube-dl IRC this morning and they said that they had the same md5sum for the file I was trying to download (and they didn't report any such problems), so I'm not sure where this issue is coming from.