Hi Rogerio,

Your suggestion makes a lot of sense. Please find a new patch for the
manfile. The explanation of the codes is taken from Wikipedia:

http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs

Regards,
Nicola

2010/11/30 Rogério Brito <rbr...@ime.usp.br>

> Hi, Nicola.
>
> On Nov 30 2010, Nicola Ferralis wrote:
> > Description: Add explanation in help menu about movie format code
> > Author: Nicola Ferralis <feran...@hotmail.com>
> > Debian-bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605311
>
> (...)
>
> > -                             action='store', dest='format',
> metavar='FORMAT', help='video format code')
> > +                             action='store', dest='format',
> metavar='FORMAT', help='video format code: WebM (480p: 43 - 720p: 45) -
> Mobile 360p: 18 - H264 (720p: 22 - 1080p: 37)')
>
> I am not willing to apply a patch to the script itself, but I will *gladly*
> accept patches to the manpage, with more detailed descriptions of the
> meaning of what the video formats may mean.
>
> There are some reasons for that:
>
> * The source code is more volatile than the documentation.
>
> * The meaning of the video formats vary from site to site.
>
>  For instance, I usually grab videos from video.google.com and the meaning
>  of the format there is not the same as for youtube. I am also implementing
>  upstream the ability to grab videos from vimeo.com and it seems that,
> there,
>  we only have SD and HD videos.
>
> * The manpage can hold a detailed description of the details above, while
>  having them in the source code is not the right place.
>
> So, if you send me a patch to the manpage, I am willing to upload a new
> revision of the package.
>
>
> Regards,
>
> --
> Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
> http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
>
Description: Add explanation in manpage about movie format code
Author: Nicola Ferralis <feran...@hotmail.com>
Origin: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs
Debian-bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605311
diff -Nru rg3-youtube-dl-f8dc441.orig//debian/youtube-dl.1 rg3-youtube-dl-f8dc441/debian/youtube-dl.1
--- rg3-youtube-dl-f8dc441.orig//debian/youtube-dl.1	2010-08-09 10:38:59.000000000 -0700
+++ rg3-youtube-dl-f8dc441/debian/youtube-dl.1	2010-11-30 14:41:19.840755711 -0800
@@ -189,8 +189,10 @@
 home directory. The machine name is youtube regarding this usage.
 .IP "\-f \fB\s-1FMT\s0\fR, \-\-format=\fB\s-1FMT\s0\fR" 4
 .IX Item "-f FMT, --format=FMT"
-Specify the video format (quality) in which to download the video. Note
-that not all videos are available in all formats.
+Specify the video format (quality) in which to download the video. 
+WebM (480p: 43 - 720p: 45) - H264 (480p: 18 - 720p: 22 - 1080p: 37) - 
+H263 400x240: 5 - FLV-H264 (640x360: 34 - 854x480: 35) - 3GP: 17
+Note that not all videos are available in all formats.
 .IP "\-b, \-\-best\-quality" 4
 .IX Item "-b, --best-quality"
 This option is deprecated, does nothing currently, and is expected to be

Reply via email to