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.
Duration of the download audio twice the one of the youtube video #1866
Comments
|
It seems to be same as #1022, could you post which video is failing? |
|
For example : Gives a Daft_Punk_-_Get_Lucky_Full_Video.m4a file of 8:15 where the video is only 4:07 |
|
With the command you posted, it doesn't extract the audio because it downloads the dash audio version. According to ffprobe:
Has a duration of 04:07.
It works fine with ffmpeg, are you using libav? I'm installing it and will test it. |
|
|
|
That's odd, if I do I get the right duration: ffmpeg --version gives me this: ffmpeg 0.8.9-4:0.8.9-0ubuntu0.12.04.1 |
|
Could you post the full output if you run |
|
youtube-dl -x --max-quality 140 http://www.youtube.com/watch?v=h5EofwRzit0 --verbose [debug] System config: [] ffprobe {the m4a filename} avprobe version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers |
|
Wow, that's really weird. As you can see, |
|
This avprobe gives me this avprobe 'Daft Punk - Get Lucky (Full Video)-h5EofwRzit0.m4a' And yeah I do have the same md5 checksum md5sum 'Daft Punk - Get Lucky (Full Video)-h5EofwRzit0.m4a' If I play the song the player just goes at the middle of the song automatically. So for this example at 4:07 and starts playing normally. The strange thing is I've been using this exact command for the past few months without problem. |
|
I've installed avconv 0.8.9 and it reports the wrong duration. Updating to 9.10 will solve the problem (it reports the right duration), so I'm closing the issue. The audio player may be using the old version of avconv, you should report the error to them. |
Hey,
I'm experiencing a weird issue. I've done some tests with older version and it's happening too, so it may be because a youtube update?
I'm using this command to get the audio extract only for youtube video:
youtube-dl -o '%(title)s.%(ext)s' --restrict-filenames -x --max-quality 140 {link}
For some reason on Youtube, the extract audio will have a duration twice the one on youtube. So for example I download a 3:30 minutes video, the audio will be 7 minutes.
Does someone have the same problem?
Thanks
Tom