From: Ralf Ertzinger Date: Wed, 17 Aug 2011 20:57:48 +0000 (+0200) Subject: Youtube: specify video formats more clearly X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=ed8ef38443c6bc1d4512cd00db2a23f04496430f Youtube: specify video formats more clearly --- diff --git a/videosite/YouTubeGrabber.pm b/videosite/YouTubeGrabber.pm index 97327bd..90f547a 100644 --- a/videosite/YouTubeGrabber.pm +++ b/videosite/YouTubeGrabber.pm @@ -26,16 +26,16 @@ my %preflist = ( 'high' => [34, 35, 18, 37, 22, 6, 5, 38, 43], 'normal' => [6, 5, 34, 35, 18, 22, 37, 38, 43]); my %videoformats = ( - 43 => 'webm,360p', - 44 => 'webm,480p', - 45 => 'webm,720p', - 38 => 'mp4,h264,4k', - 37 => 'mp4,h264,1080p', - 35 => 'flv,h264,large', - 34 => 'flv,h264', - 22 => 'mp4,h264,720p', - 18 => 'mp4,h264', - 5 => 'flv,flv', + 5 => 'FLV/Sorenson/MP3/240p', + 18 => 'MP4/H264/AAC/360p', + 22 => 'MP4/H264/AAC/720p', + 34 => 'FLV/H264/AAC/360p', + 35 => 'FLV/H264/AAC/480p', + 37 => 'MP4/H264/AAC/1080p', + 38 => 'MP4/H264/AAC/3072p', + 43 => 'WebM/VP8/Vorbis/360p', + 44 => 'WebM/VP8/Vorbis/480p', + 45 => 'WebM/VP8/Vorbis/720p', ); sub new {