title: Youtube Stream fmt_stream_map Quality
body: <p>I get the Stream URL by parsing "fmt stream map",</p>
  
  <p>The problem is if my video duration is under 1 hour I get this:</p>
  
  <pre><code>{
  "comment_count" = 1;
  description = "";
  "dislikes_num" = 0;
  duration = "54:46";
  "encrypted_id" = WWjNEyHrNsk;
  "fmt_stream_map" =     (
              {
          "fallback_host" = "tc.v7.cache6.c.youtube.com";
          itag = 22;
          quality = hd720;
          type = "video/mp4; codecs=\"avc1.64001F, mp4a.40.2\"";
          url = "http://r4---sn-bvvbax-8pxl.c.youtube.com/videoplayback?sver=3&amp;ipbits=8&amp;itag=22&amp;key=yt1&amp;expire=1366039593&amp;upn=phUk9-1Fjyw&amp;signature=34CDFF5AAC4E5BB24177EAA001B5519E0218A04E.A437435FC87FD09D7AD95E0417A4EA77BC786C86&amp;ms=au&amp;mv=m&amp;mt=1366015457&amp;app=youtube_mobile&amp;ip=85.127.44.131&amp;fexp=906370%2C923120%2C932000%2C932004%2C906383%2C916911%2C916910%2C902000%2C901208%2C919512%2C929903%2C925714%2C931202%2C900821%2C900823%2C931203%2C906090%2C909419%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C926403%2C900824&amp;sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&amp;el=watch&amp;newshard=yes&amp;id=5968cd1321eb36c9&amp;cp=U0hVS1BOV19OTUNONV9ISEFGOmh3anpiZHFRODBI&amp;dnc=1&amp;yms=izkxzhrL53I&amp;source=youtube&amp;ratebypass=yes";
      },
              {
          "fallback_host" = "tc.v14.cache4.c.youtube.com";
          itag = 18;
          quality = medium;
          type = "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"";
          url = "http://r4---sn-bvvbax-8pxl.c.youtube.com/videoplayback?sver=3&amp;ipbits=8&amp;itag=18&amp;key=yt1&amp;expire=1366039593&amp;upn=phUk9-1Fjyw&amp;signature=BCA6FFE2575EE8947CFF52E91D0C8896538E239F.33FE7FF507257A8F5161A1E4C80A101BE4EB693F&amp;ms=au&amp;mv=m&amp;mt=1366015457&amp;app=youtube_mobile&amp;ip=85.127.44.131&amp;fexp=906370%2C923120%2C932000%2C932004%2C906383%2C916911%2C916910%2C902000%2C901208%2C919512%2C929903%2C925714%2C931202%2C900821%2C900823%2C931203%2C906090%2C909419%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C926403%2C900824&amp;sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&amp;el=watch&amp;newshard=yes&amp;id=5968cd1321eb36c9&amp;cp=U0hVS1BOV19OTUNONV9ISEFGOmh3anpiZHFRODBI&amp;dnc=1&amp;yms=izkxzhrL53I&amp;source=youtube&amp;ratebypass=yes";
      },
              {
          "fallback_host" = "tc.v3.cache3.c.youtube.com";
          itag = 36;
          quality = small;
          type = "video/3gpp; codecs=\"mp4v.20.3, mp4a.40.2\"";
          url = "http://r4---sn-bvvbax-8pxl.c.youtube.com/videoplayback?sver=3&amp;ipbits=8&amp;itag=36&amp;key=yt1&amp;expire=1366039593&amp;upn=phUk9-1Fjyw&amp;signature=8174E39396391843AFA940C30624A823E5275890.B323AA44059ED3928A47C4AEA1BC82F3C565F433&amp;ms=au&amp;mv=m&amp;mt=1366015457&amp;app=youtube_mobile&amp;ip=85.127.44.131&amp;fexp=906370%2C923120%2C932000%2C932004%2C906383%2C916911%2C916910%2C902000%2C901208%2C919512%2C929903%2C925714%2C931202%2C900821%2C900823%2C931203%2C906090%2C909419%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C926403%2C900824&amp;sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&amp;el=watch&amp;newshard=yes&amp;id=5968cd1321eb36c9&amp;cp=U0hVS1BOV19OTUNONV9ISEFGOmh3anpiZHFRODBI&amp;dnc=1&amp;yms=izkxzhrL53I&amp;source=youtube&amp;ratebypass=yes";
      }
  );
  "length_seconds" = 3286;
  "likes_num" = 7;
  longform = 1;
  playability = "PLAY_OK";
  "player_type" = desktop;
  "profile_url" = "/user/KapfenbergWebTV";
  "public_name" = KapfenbergWebTV;
  "thumbnail_for_watch" = "http://i.ytimg.com/vi/WWjNEyHrNsk/hqdefault.jpg?w=600&amp;h=360&amp;sigh=5t9yhLmY66cc2ZBb6gJyOaNOsRs";
  "thumbnail_info" = "&lt;null&gt;";
  "time_created_text" = "Feb  6, 2013";
  title = "HiWay-TV Sendung 3 - 2013";
  "user_image_url" = "//s.ytimg.com/yts/img/silhouette32-vflu0yzhs.png";
  "view_count" = "1,593";
  "watch_link" = "/watch?v=WWjNEyHrNsk";
  }
  </code></pre>
  
  <p>With different Qualities.</p>
  
  <p>But if my video duration is over 1 hour, I only get small Quality like:</p>
  
  <pre><code>{
  "comment_count" = 0;
  description = "";
  "dislikes_num" = 0;
  duration = "1:00:47";
  "encrypted_id" = taiK0WKSApg;
  "fmt_stream_map" =     (
              {
          "fallback_host" = "tc.v1.cache6.c.youtube.com";
          itag = 36;
          quality = small;
          type = "video/3gpp; codecs=\"mp4v.20.3, mp4a.40.2\"";
          url = "http://r6---sn-bvvbax-8pxe.c.youtube.com/videoplayback?ratebypass=yes&amp;fexp=906370%2C923120%2C932000%2C932004%2C906383%2C916911%2C916910%2C902000%2C901208%2C919512%2C929903%2C925714%2C931202%2C900821%2C900823%2C931203%2C906090%2C909419%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C926403%2C900824&amp;signature=9B83CFB7B240D7DA86E0ED4EC0DFFCFF4151D85B.81CBC92237B653BA3BF7E0E52A730B324EFD70A8&amp;key=yt1&amp;id=b5a88ad162920298&amp;newshard=yes&amp;mt=1366015334&amp;sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&amp;mv=m&amp;ms=au&amp;ip=85.127.44.131&amp;el=watch&amp;yms=izkxzhrL53I&amp;itag=36&amp;upn=j7RXkiXzhRI&amp;source=youtube&amp;cp=U0hVS1BOV19OUkNONV9ISEFHOm13anpiZHFROTBN&amp;expire=1366039698&amp;ipbits=8&amp;sver=3&amp;dnc=1&amp;app=youtube_mobile";
      }
  );
  "length_seconds" = 3647;
  "likes_num" = 6;
  longform = 1;
  playability = "PLAY_OK";
  "player_type" = desktop;
  "profile_url" = "/user/KapfenbergWebTV";
  "public_name" = KapfenbergWebTV;
  "thumbnail_for_watch" = "http://i.ytimg.com/vi/taiK0WKSApg/hqdefault.jpg?w=600&amp;h=360&amp;sigh=6hxibWtgHUAnZzNL9bBYxIQRScU";
  "thumbnail_info" = "&lt;null&gt;";
  "time_created_text" = "Apr  3, 2013";
  title = "HiWay-TV Sendung 07 2013";
  "user_image_url" = "//s.ytimg.com/yts/img/silhouette32-vflu0yzhs.png";
  "view_count" = 974;
  "watch_link" = "/watch?v=taiK0WKSApg";
  
  }
  </code></pre>
  
  <p>Does anyone know where the Problem is??</p>