YousableTubeFix

By Mindeye Last update Feb 19, 2014 — Installed 808,160 times.

Add 1080p fmt=37 and 360p fmt=34?

in
Subscribe to Add 1080p fmt=37 and 360p fmt=34? 23 posts, 8 voices



Nintendo Man... User
FirefoxWindows

There are 2 youtube formats not included in this script, fmt=37 (1080p) and fmt=34 (360p)

For fmt=37, it's frickin 1080p! Come on now, plain and simple - DO WANT.
Example: http://www.youtube.com/watch?v=DUM1284TqFc&fmt=37

For fmt=34, things there are more complicated.

From the looks of it, fmt=34 has a maximum resolution of 640x480 (this means 16:9 content is 640x360), making it higher quality than fmt=18. It also has the same audio quality as both fmt=18 and fmt=35. (there are some freak random videos that use 854x480 for fmt=34, but their quality is still lower than fmt=35)

Now before you say "what's the point, fmt=35 is better", there ARE videos that have fmt=34 be the highest available quality. This means that when your script reports that fmt=18 is the best quality in these situations, it is WRONG!

HOWEVER, there is a catch. Videos uploaded before May 9, 2009 have their fmt=34 version be quite low-res (such as 400x226 or 320x240).

~~fmt=34 Example videos~~

fmt=34 is the highest available quality:
http://www.youtube.com/watch?v=raXMkkRXv5o

HD video lacking fmt=35 but not fmt=34:
http://www.youtube.com/watch?v=KsYSyLpJjXQ

fmt=34 @ 854x480:
http://www.youtube.com/watch?v=Rn80xv-dtx0

one of the last low-res fmt=34 videos:
http://www.youtube.com/watch?v=JMTylXKa9to

one of the first normal (and current) res fmt=34 videos:
http://www.youtube.com/watch?v=HeNCI0p_EBw

 
xTM User
FirefoxWindows

Official Announcement: http://youtube-global.blogspot.com/2009/11/1080...

 
matej505 Scriptwright
FirefoxWindows

Here you go:
http://pastebin.com/m1a2837dd

fmt=34 is added as FLV Medium Quality, fmt=37 added as MPEG-4 H.264 HD.

 
Zarggg User
FirefoxWindows

I don't know if it was from matej505's modifications or something else, but the script seems to be autopicking fmt=18 (MP4 SD) over fmt=35 (FLV HQ).

 
IzzyCraft User
FirefoxWindows

It isn't too hard to fix that i did it a long time ago to add 34 and pick it over 18 as it is better quality
http://pastebin.com/m8ba59e2

var videoFormatsArray = [{idx: "", label: "FLV Lowest Quality", shortlabel: "FLV", vq: 1, fmt_map: "", MIMEString: "video/x-flv", QI: 1, defaultChosen: true},
                         {idx: "18", label: "MP4 480x270p 18", shortlabel: "18", vq: 2, fmt_map: "18/512000/9/0/115", MIMEString: "video/mp4", QI: 2, defaultChosen: true},
                         {idx: "34", label: "FLV 640x360p 34", shortlabel: "34", vq: 2, fmt_map: "34/512000/9/0/115", MIMEString: "video/x-flv", QI: 3, defaultChosen: true},
                         {idx: "35", label: "FLV 854x480p 35", shortlabel: "35", vq: 2, fmt_map: "35/640000/9/0/115", MIMEString: "video/x-flv", QI: 4, defaultChosen: true},
                         {idx: "22", label: "MP4 1280x720p 22", shortlabel: "22", vq: 2, fmt_map: "22/2000000/9/0/115", MIMEString: "video/mp4", QI: 5, defaultChosen: true},
                         {idx: "37", label: "MP4 Highest Quality 1920x1080p 37", shortlabel: "37", vq: 2, fmt_map: "37/4000000/9/0/115", MIMEString: "video/mp4", QI: 6, defaultChosen: true}];

Just search up "var videoFormatsArray" and replace that block with the one adding fmt 34 and 37 the script that was made was very nicely laid out and easy to understand if you know a computer language or two.

Label = the long label under the video
short label = the download link
i don't know the fmt map of 1080p but it doesn't seem to be an issue but the format of it seems to be
Fmt number/Bit rate in bites or w.e/9/0/115 and the 2nd number doesn't seem to do anything as i can leave it at 0 without breaking script

18< 34< 35
18

General
Complete name                    : C:\Documents and Settings\####\Desktop\video.mp4
Format                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 42.7 MiB
Duration                         : 10mn 4s
Overall bit rate                 : 594 Kbps
Encoded date                     : UTC 2009-10-27 22:48:37
Tagged date                      : UTC 2009-10-27 22:48:37
gsst                             : 0
gstd                             : 604553
gssd                             : B4A7DD168

Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L2.1
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 10mn 4s
Bit rate mode                    : Variable
Bit rate                         : 540 Kbps
Maximum bit rate                 : 1 684 Kbps
Width                            : 480 pixels
Height                           : 270 pixels
Display aspect ratio             : 16/9
Frame rate mode                  : Constant
Frame rate                       : 29.998 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.139
Stream size                      : 38.8 MiB (91%)
Title                            : (C) 2007 Google Inc. v08.13.2007.
Encoded date                     : UTC 2009-10-27 22:48:37
Tagged date                      : UTC 2009-10-27 22:48:38

Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 10mn 3s
Bit rate mode                    : Variable
Bit rate                         : 51.4 Kbps
Maximum bit rate                 : 61.3 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
Stream size                      : 3.71 MiB (9%)
Title                            : (C) 2007 Google Inc. v08.13.2007.
Encoded date                     : UTC 2009-10-27 22:48:37
Tagged date                      : UTC 2009-10-27 22:48:38

34
General
Complete name                    : C:\Documents and Settings\####\Desktop\video.flv
Format                           : Flash Video
File size                        : 55.9 MiB
Duration                         : 10mn 4s
Overall bit rate                 : 776 Kbps
totalduration                    : 604.007
totaldatarate                    : 775.995
bytelength                       : 58639832.000
canseekontime                    : Yes
sourcedata                       : B4A7DA446

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@3.0
Duration                         : 10mn 4s
Bit rate                         : 715 Kbps
Width                            : 640 pixels
Height                           : 360 pixels
Display aspect ratio             : 16/9
Frame rate                       : 29.998 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.103

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Duration                         : 10mn 4s
Bit rate                         : 52.6 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits

35
General
Complete name                    : C:\Documents and Settings\####\Desktop\video(2).flv
Format                           : Flash Video
File size                        : 90.9 MiB
Duration                         : 10mn 4s
Overall bit rate                 : 1 262 Kbps
totalduration                    : 604.007
totaldatarate                    : 1261.549
bytelength                       : 95331392.000
canseekontime                    : Yes
sourcedata                       : B4A7DD106

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@3.1
Duration                         : 10mn 4s
Bit rate                         : 1 201 Kbps
Width                            : 854 pixels
Height                           : 480 pixels
Display aspect ratio             : 16/9
Frame rate                       : 29.998 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.098

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Duration                         : 10mn 4s
Bit rate                         : 52.6 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits

info pulled all from the same vid I've checked this for consistency of several videos

 
Nintendo Man... User
FirefoxWindows

I made an edit of IzzyCraft's edit, mainly changing the labels.

var videoFormatsArray = [{idx: "", label: "FLV LQ 226p", shortlabel: "226p", vq: 1, fmt_map: "", MIMEString: "video/x-flv", QI: 1, defaultChosen: true},
                         {idx: "18", label: "MP4 18 270p", shortlabel: "270p", vq: 2, fmt_map: "18/512000/9/0/115", MIMEString: "video/mp4", QI: 2, defaultChosen: true},
                         {idx: "34", label: "FLV 34 360p", shortlabel: "360p", vq: 2, fmt_map: "34/512000/9/0/115", MIMEString: "video/x-flv", QI: 3, defaultChosen: true},
                         {idx: "35", label: "FLV 35 480p", shortlabel: "480p", vq: 2, fmt_map: "35/640000/9/0/115", MIMEString: "video/x-flv", QI: 4, defaultChosen: true},
                         {idx: "22", label: "MP4 22 720p", shortlabel: "720p", vq: 2, fmt_map: "22/2000000/9/0/115", MIMEString: "video/mp4", QI: 5, defaultChosen: true},
                         {idx: "37", label: "MP4 37 1080p", shortlabel: "1080p", vq: 2, fmt_map: "37/4000000/9/0/115", MIMEString: "video/mp4", QI: 6, defaultChosen: true}];

It'd be useful if there was someway to list the FLV and MP4 files separately for "download as", otherwise you'd have to specify in each file's label which would take up a lot of room.

 
IzzyCraft User
FirefoxWindows

Haha i guess those labels make more sense to the avg joe then what i put

hum checked and no fmt = 400x226 with a 16:9 upload on vids (I find it funny as fmt=34 is youtube new standard and if you put your preferences without the script as play highest quality it is the standard, if you choose i have slow bandwidth 34 is the HQ) it's also the only format with H.263 and mp3 audio

So it's 226p wth is up with that lol that's a horrible resolution it's base 2 and i'm sure youtube encoder does do better with base 8/16/32 resolutions like most encoders.

 
matej505 Scriptwright
FirefoxWindows

Someone please tell me exact order from worst to best qualitity formats, so i will set it in my mod.

 
Mindeye Script's Author
FirefoxWindows

"", "34", "18", "35", "22", "37" (I think). I'll add format 37 in next version

 
Nintendo Man... User
FirefoxWindows

^^Mindeye, I'm disappointed. Apparently you didn't read my analysis on 34, did you? (the opening post of this thread)

Videos since May 9 2009 are better quality than fmt=18. Videos before that are worse than fmt=18. For all intents and purposes, fmt=34 is better than 18 because that's what it's at today.

And IzzyCraft, I've fixed that label to say 226p.

 
matej505 Scriptwright
FirefoxWindows

Then i guess some date checker should be implemented.

Anyway here is mine version with fixed order

http://pastebin.com/m21a216d9

"",18,34,35,22,37 is that correct?

 
Nintendo Man... User
FirefoxWindows

I should mention that I did not check the status of videos uploaded on May 8th. In the test I did, the uploaded videos went from May 7th to May 9th.

 
Mindeye Script's Author
FirefoxWindows

^^Mindeye, I'm disappointed. Apparently you didn't read my analysis on 34, did you? (the opening post of this thread)

I've read it. I'll have to do my own tests on format 34, but, if your deductions are accurate, format 18 should still be above format 34, because there are quite more videos uploaded before May 9 2009 than after that date.

 
Nintendo Man... User
FirefoxWindows

But that amount before May 9th is a fixed number. The longer time goes on, the more 360p versions will exist. Need I mention that fmt=34 is even YouTube's current default video format? "" doesn't really get used much if at all anymore. (I think it's just for backwards compatibility with older flash player versions not supporting h.264)

 
matej505 Scriptwright
FirefoxWindows

fmt=34 is flv, so there is no need for compatibility with h.264

 
Nintendo Man... User
ChromeWindows

...you've GOT to be joking.

FLV = container
h.264 = codec

Look up its specs in MediaInfo if you don't believe me.

 
Zarggg User
FirefoxMacintosh

@matej505:
As indicated by IzzyCraft's analysis of the 18, 34, and 35 formats, ALL those videos are h.264 (okay, technically they're AVC, but h.264 = AVC).

 
freakonboard User
FirefoxWindows

http://img265.imageshack.us/img265/2498/utubete...
This is a little bit outdated (posted by frifox@videohelp on Jan 2009), but maybe useful information to someone.

 
freakonboard User
FirefoxWindows

Oh and just to inform about fmt=34, some vids uploaded before May 9, 2009 are 640x360.
http://www.youtube.com/watch?v=Xa3Ke8SNXAw

And some vids uploaded after May 9, 2009 are 320x240.
http://www.youtube.com/watch?v=ceKIN272dmQ

 
Nintendo Man... User
FirefoxWindows

^^lol wut.

My guess is that's they're few and far between, similar to the random fmt=34 video @ 480p. Also note that on the blog announcement for 1080p, they proved that standard = 360p, and it just so happens that standard = fmt 34.

And yes that image definitely is outdated, since fmt=35 is definitely 480p.

No matter what quality fmt=34 is officially determined as, can it PLEASE be the default quality now? It's been youtube's standard quality for a few months now.

 
Siggi Jarl User
FirefoxWindows

Absolutely love this script!

But here is a good example of a video where you get better quality with the script turned off!

http://www.youtube.com/watch?v=uo3LjWnbB4U

 
Nintendo Man... User
FirefoxWindows

^That's because the default quality, 360p (fmt=34), which also happens to be the highest quality available for that video, isn't implemented into this script. That's why I'm requesting it.

 
freakonboard User
FirefoxWindows

Is there a way to make the script to check the file sizes?

If fmt=34 is bigger than fmt=18, we will call it fmt=34(new), and vice versa for fmt=34(old).

So the order should be:
"", "34(old)", "18", 34(new),"35", "22", "37"

I know I'm bad at explaining, but hope you guys get the idea.