Hi Rogério,
Sorry for the slow response.
On Thu, 25 Feb 2010, Rogério Brito wrote:
Hi, Faheem.
2010/2/25 Faheem Mitha <fah...@email.unc.edu>:
$ youtube-dl -b 'http://www.youtube.com/watch?v=6FNUiy-D5pQ' -o
arjay_melissa2.mp4
(...)
I just tried to get the video and everything was fine with me.
I just took another look, and discoved that it plays with mplayer, though
with none of vlc, xine or totem, so youtube-dl is (probably) not the
problem. Can you verify this? I'm assuming this is a codec issue, but I
know next to nothing about such things. It would be nice to fix, though.
Off-topic for this bug report, I realise.
http://www.youtube.com/watch?v=4-94JhLEiN0 has the same issue.
As a side note, Iwould suggest that you don't really specify the
extension of the downloaded file, since youtube-dl chooses it based on
the video quality that was downloaded.
Are you suggesting eg.
$ youtube-dl -b 'http://www.youtube.com/watch?v=6FNUiy-D5pQ' -o arjay_melissa2
? If I do this, youtube-dl just saves to a file called arjay_melissa2
(without the suffix). I suppose the suffix isn't that important, but I
like to have it. Is there a way to have youtube-dl auto-discover the
suffix and append it?
In particular, with the video you specified above, the FLV
encapsulated H.264 + AAC file was found as the best quality video and
it should have an extension consisting of ".flv", as that is *not* an
MPEG-4 container (that's youtube format number 35).
Anyway, can you please try it again? If that doesn't work, could you
tell me what results you get if you tell youtube-dl to extract the URL
of the video and feed it to wget or curl (or, better yet, aria2c)?
Wow. I'd never heard of aria2 before now.
You can get the URL with the command:
$ youtube-dl -b -g 6FNUiy-D5pQ
Please, be careful with the URL that youtube-dl will output as it is
highly probable to contain many ampersands.
Works ok with aria2. The result also plays only with mplayer. Download
concludes with the following output. However, the md5sum of this and the
earlier file that was downloaded from the same url is not the same. Maybe
youtube embeds some time-based meta-information or something.
*** Download Progress Summary as of Tue Mar 9 12:16:47 2010 ***
=====================================================================================================================================
[#1 SIZE:18.1MiB/18.3MiB(98%) CN:4 SPD:26.77KiB/s ETA:08s]
FILE: ./video.flv
-------------------------------------------------------------------------------------------------------------------------------------
[#1 SIZE:18.3MiB/18.3MiB(100%) CN:3]
2010-03-09 12:16:53 NOTICE - Download complete: ./video.flv
Download Results:
gid|stat|path/URI
===+====+======================================================================
1| OK|./video.flv
Status Legend:
(OK):download completed.(ERR):error occurred.(INPR):download in-progress.
Since this is not a youtube-dl issue, please go ahead and close this bug.
Thanks again for your very helpful reply, and sorry again for the slow
response.
Regards, Faheem.