From: Ralf Ertzinger Date: Fri, 22 Jul 2011 06:26:26 +0000 (+0200) Subject: Youtube: Add video format 43 (WebM) X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=552ef86edaa5d6e39f1a9d63d743948eb9353d3c Youtube: Add video format 43 (WebM) --- diff --git a/videosite/YouTubeGrabber.pm b/videosite/YouTubeGrabber.pm index a70993e..eca896b 100644 --- a/videosite/YouTubeGrabber.pm +++ b/videosite/YouTubeGrabber.pm @@ -20,12 +20,13 @@ use videosite::JSArrayParser; use strict; my %preflist = ( - 'insane' => [38, 37, 22, 35, 18, 34, 6, 5], - 'hd' => [37, 22, 35, 18, 34, 6, 5, 38], - 'h264' => [18, 34, 37, 22, 35, 6, 5, 38], - 'high' => [34, 35, 18, 37, 22, 6, 5, 38], - 'normal' => [6, 5, 34, 35, 18, 22, 37, 38]); + 'insane' => [38, 37, 22, 35, 18, 34, 6, 5, 43], + 'hd' => [37, 22, 35, 18, 34, 6, 5, 38, 43], + 'h264' => [18, 34, 37, 22, 35, 6, 5, 38, 43], + 'high' => [34, 35, 18, 37, 22, 6, 5, 38, 43], + 'normal' => [6, 5, 34, 35, 18, 22, 37, 38, 43]); my %videoformats = ( + 43 => 'webm', 38 => 'mp4,h264,4k', 37 => 'mp4,h264,1080p', 35 => 'flv,h264,large',