Large

YouTube HD Ultimate

By Avindra V.G. Last update Dec 10, 2010 — Installed 401,935 times.

fmt=22

in
Subscribe to fmt=22 8 posts, 4 voices



Avindra V.G. Script's Author

What do you guys think of the new 720p format? Add this as a feature? or just an option?

Here's an article on it.

 
Kilian Grashoff User

I would like to see it included as an option, which is enabled by default. This way users get the highest quality by default, but if their internet connection is too slow, they can disable it.

 
Avindra V.G. Script's Author

You see, the problem is that it doesn't work on 99% of the videos. This means you'll get an ugly error message on the ones that don't work, and it will work amazingly on the ones that do.

I'm waiting for either:

a) YouTube implements a fix so that fmt=22 will select highest quality for all videos
b) There's a way to check if fmt=22 is available
c) Someone shows me a way before I figure it out.

 
Raffles Scriptwright

Yes, the best way would be to enable it by default if available. I've changed your code to replace the fmt=18 to fmt=22 and I'm not seeing any ugly messages. The only thing is, I have no idea whether if this fails, YouTube is falling back onto fmt=18 or the lowest quality. I suspect it just shows the lowest quality. Ideally if 22 isn't available, 18 should be the next best option, and then of course the normal quality. Not sure how it would be possible to do this.

 
Avindra V.G. Script's Author

@Raffles: I've tried fmt=22, and I believe if fmt=22 isn't available, it does not fall back to fmt=18, which is why I haven't updated yet. But maybe Google already updated it? I'll check it out.

 
Vengeful Gib... User

In my experience it does not seem to fall back to the next highest quality video, but editing the script to &fmt=22 seems worth it to me. With a few exceptions, most of what I watch on YT are music videos or the like anyway and there's a lot of 1080p and 720p content out there already.

Hey, with the cheap Aiptek cameras perhaps we'll begin seeing more HD content from users.

 
Avindra V.G. Script's Author

The problem with that is for older content, like music videos from the 90s, will not be able to be seen in 720p, and when fmt=22 fails, it will go back to the original, most crapped-out version of video instead of fmt=18. I'll start looking for ways to detect HD availability.

 
Avindra V.G. Script's Author

Hey Guys! I figured out a way to detect HD!!! Enjoy! ;)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel