]> Raphaël G. Git Repositories - youtubedl/commitdiff
Imported Debian patch 2010.04.04-2
authorRogério Brito <rbrito@ime.usp.br>
Sat, 29 May 2010 16:11:43 +0000 (13:11 -0300)
committerRogério Brito <rbrito@ime.usp.br>
Sat, 18 Jun 2011 05:16:53 +0000 (02:16 -0300)
debian/NEWS [new file with mode: 0644]
debian/changelog
debian/control
debian/patches/01-add-support-to-webm.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644 (file)
index 0000000..cd404f4
--- /dev/null
@@ -0,0 +1,16 @@
+youtube-dl (2010.04.04-2) unstable; urgency=low
+
+  For the time being, you can play WebM files (which are VP8 for video and
+  Vorbis for audio, enclosed in a Matroska container) with gst123, which
+  was just uploaded to Debian.
+  
+  Other gstreamer-based players should support those files right away, as
+  long as you have gstreamer0.10-plugins-bad version at least 0.10.18.3-2
+  installed.
+  
+  Videos in those formats, where available, are taken automatically with
+  the use of the '-b' switch or with the specification of formats 43 (for
+  360p videos) or 45 (for 720p videos).
+
+ -- Rogério Brito <rbrito@ime.usp.br>  Sat, 29 May 2010 13:14:02 -0300
+
index a8d7133c7e0674be718b3f2a3ace216b0e7973f8..24b1b2cbf9dd9a23547a07ecfc8a710a90d0a7dd 100644 (file)
@@ -1,3 +1,12 @@
+youtube-dl (2010.04.04-2) unstable; urgency=low
+
+  * Add support to webm (vp8 + vorbis) format:
+    + debian/patches/01-add-support-to-webm.patch: the code
+    + debian/NEWS: the documentation
+    + debian/control: the suggests field
+
+ -- Rogério Brito <rbrito@ime.usp.br>  Sat, 29 May 2010 13:11:43 -0300
+
 youtube-dl (2010.04.04-1) unstable; urgency=low
 
   * New upstream release:
index c3d0839689d07cbf268d13e3ffce84a86296d715..d69e60e1b5957bab404f7b53ee3086159ba9d9f8 100644 (file)
@@ -10,7 +10,7 @@ Homepage: http://bitbucket.org/rg3/youtube-dl/
 Package: youtube-dl
 Architecture: all
 Depends: python (>= 2.4), ${misc:Depends}
-Suggests: rtmpdump
+Suggests: rtmpdump, gstreamer0.10-plugins-bad (>= 0.10.18.3-2)
 Description: download videos from youtube
  youtube-dl is a small command-line program to download videos from
  YouTube.com and other sites that don't provide direct links to the
diff --git a/debian/patches/01-add-support-to-webm.patch b/debian/patches/01-add-support-to-webm.patch
new file mode 100644 (file)
index 0000000..e1e9a39
--- /dev/null
@@ -0,0 +1,24 @@
+Description: Add support for webm (VP8 video + Vorbis audio)
+Author: Rogério Brito <rbrito@ime.usp.br>
+Forwarded: no
+Last-Update: 2010-05-29
+
+--- a/youtube-dl
++++ b/youtube-dl
+@@ -649,13 +649,15 @@
+       _LOGIN_URL = 'http://www.youtube.com/signup?next=/&gl=US&hl=en'
+       _AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
+       _NETRC_MACHINE = 'youtube'
+-      _available_formats = ['37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag
++      _available_formats = ['45', '43', '37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag
+       _video_extensions = {
+               '13': '3gp',
+               '17': 'mp4',
+               '18': 'mp4',
+               '22': 'mp4',
+               '37': 'mp4',
++              '43': 'webm',
++              '45': 'webm'
+       }
+       @staticmethod
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..4c05f0a
--- /dev/null
@@ -0,0 +1 @@
+01-add-support-to-webm.patch