Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading audio from youtube results in odd file timing information #2578

Open
deltamacht opened this issue Mar 17, 2014 · 1 comment
Open

Downloading audio from youtube results in odd file timing information #2578

deltamacht opened this issue Mar 17, 2014 · 1 comment

Comments

@deltamacht
Copy link

@deltamacht deltamacht commented Mar 17, 2014

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

youtube-dl -o "%(title)s.%(ext)s" --extract-audio --audio-format=m4a --verbose'

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

Position: 0 %
A: 231.6 (03:51.5) of 463.0 (07:43.0) 0.1%

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.

@deltamacht
Copy link
Author

@deltamacht deltamacht commented Mar 26, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.