Gaming World Forums

General Category => Technology and Programming => Topic started by: Calvin on April 08, 2008, 09:46:29 pm

Title: How to watch youtube videos in better quality!
Post by: Calvin on April 08, 2008, 09:46:29 pm
I apologize if this has been posted somewhere before or if this forum's not the right place to post these kind of "tricks".

I'm guessing a lot of people already are aware of the fact that you can change your personal settings to adjust the quality of the videos. Did you know, however, that by simply adding this little line at the end of the url, you'll be able to crank up the quality? "&fmt=18"

This is an ordinary link: http://www.youtube.com/watch?v=NsiQO3hO3pc

This has better quality: http://www.youtube.com/watch?v=NsiQO3hO3pc&fmt=18

Do note that the version with better quality will load slower.

Update!4/9/08

"YouTube announced in November that they would be testing out encoding videos at higher resolutions (and with higher-quality audio encoding). Now it appears that a small sampling of uploaded videos can already be seen at their higher resolutions, simply by adding a little tag to the end of the video's URL. To get a (slightly noticeable) bump in resolution, try adding &fmt=6 to the end of the address line. The trick, according to YouTube watchers, seems to work primarily with newer videos, and bumps the resolution from 320x240 to 448x336. Add &fmt=18 to the end of the URL, and you might get an MP4-encoded version, with better audio and a 480x360 resolution"


If "&fmt=18" doesn't work for you, try using "&fmt=6". Some users has reported that this improved the quality, when "&fmt=18" didn't work for them.

I'll try to find out what's causing these codes to work diffrently from user to user.

Also, this "trick" only works where there is a video of higher quality available. So you won't see a difference in every video on youtube. Newer videos usually has a version with better quality available, though.
Title: How to watch youtube videos in better quality!
Post by: Swordfish on April 08, 2008, 10:27:09 pm
Actually i didn't know this, thanks for the tip.
EDIT: Double thanks, its also fixed the problem of certain tube vids not loading, Here have a cookie, to me you earned it :D​.
Title: How to watch youtube videos in better quality!
Post by: Dave on April 08, 2008, 10:42:46 pm
i think i have poor eyesight i cant tell the difference
Title: How to watch youtube videos in better quality!
Post by: Calvin on April 08, 2008, 10:51:26 pm
@Swordfish: Glad I could help! Thanks for the cookie btw :)

@Jeff: Why don't you try some different videos? Some videos, especially the featured videos are at a higher quality by default, though. If you're refering to the videos I posted, try reading the text. It's near impossible to make out what it says in the poor quality one.
Title: How to watch youtube videos in better quality!
Post by: Layzer Phish on April 08, 2008, 11:53:38 pm
Hmm, I didn't know that.

I'm gonna try it on that gnome video lol, maybe we can find out what it is 0.o
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 12:07:30 am
I still can't see the difference..
Title: How to watch youtube videos in better quality!
Post by: Lord Kamina on April 09, 2008, 12:55:41 am
There IS no difference.
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 01:51:35 am
Wow thats awesome, thanks for the tip. Didn't know about the video quality setting in account options, either!

BTW for people who can't tell the diff, the grass, trees, and character's faces are most noticably sharper in the "higher quality" vid.
It's not like HD or anything, but it is noticably sharper. No doubt from using less compression.
(http://img169.imageshack.us/img169/3429/28424921jy4.jpg)(http://img376.imageshack.us/img376/4065/81414895wu6.jpg)
Only reason I would think they'd hide this is so people who have computers/mobile devices that barely run youtube vids now, would choke under the extra CPU load.

And hey, this looks like a fun game. I'm definitely going to keep my eye on it.
Title: How to watch youtube videos in better quality!
Post by: Aten on April 09, 2008, 02:00:10 am
ASDFGHGHKAJAF!!!!

NOW I read this, just when I finished downloading a bunch of Crisis Core FMV's :(​((((
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 02:01:34 am
Downloaded videos will still surpass youtube's aggressive compression and low resolution restrictions a vast majority of the time.
Watch the same vids on youtube,  and even with high quality mode it will still look much worse than whatever you downloaded.
Title: How to watch youtube videos in better quality!
Post by: Aten on April 09, 2008, 02:13:08 am
I downloaded a 6 min fmv that was like 6.7MB. Now Im downloading a 4 min FMV with that code, and the filesize is 17MB, so yeah, the quality IS better
Title: How to watch youtube videos in better quality!
Post by: bort on April 09, 2008, 02:20:54 am
&fmt=6 is supposed to work even better

this is p. neat
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 02:22:17 am
Must look like absolute crap if it's worse than youtube. I didn't think any downloadable video these days outside real player was THAT bad.

edit: &fmt=6 looks worse than &fmt=18
edit edit: swordfish, if a video doesn't load, just keep hitting refresh and it'll usually load up.
Title: How to watch youtube videos in better quality!
Post by: ase on April 09, 2008, 05:11:02 am
No offense, but you have to be pretty blind not to notice the difference (at least in the two videos I just watched)!

Thanks, this is pretty cool.
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 05:20:12 am
Are you sure this works with everyone??

Cuz I'm not blind and here's a proof..

Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 05:22:06 am
What's with the bad gradients in the picture, you in 16 bit color mode?

Maybe it's not compatible with everyones hardware.
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 05:26:03 am
Hell no, I converted the screenshot cuz it's s o big already. But I guess it's not a good idea when trying to prove something that would depend on the appearance of the pic..

So I uploaded screenshots again, now with the real colors.. But the videos are no different from each other.
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 05:40:00 am
Interesting tidbit, I played a video I uploaded without &fmt=18, and pressing the "original size" button shrunk it to the youtube standard. When I added &fmt=18 to the link, the video was in a higher resolution. Pressing the "original size" button had no effect, so I would assume that youtube is using the full 480x360 of the video window instead of the standard 320x240 size limit. I uploaded some of these videos at 640x480 so youtube was able to use a higher resolution. Also sound quality was increased. Try it with these vids.

http://youtube.com/watch?v=YygFXA-YExg  ->  http://youtube.com/watch?v=YygFXA-YExg&fmt=18
http://youtube.com/watch?v=VrPnLy640uE   ->  http://youtube.com/watch?v=VrPnLy640uE&fmt=18
http://youtube.com/watch?v=yrSL-Dat3-0   ->  http://youtube.com/watch?v=yrSL-Dat3-0&fmt=18

Notice the higher resolution, and crisper sounding audio.

edit: some videos sync better now



Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 06:54:14 am
I hate to double post, but this is very useful information and might even help out hero bash (and is pretty neat to know anyhow):

"YouTube announced in November that they would be testing out encoding videos at higher resolutions (and with higher-quality audio encoding). Now it appears that a small sampling of uploaded videos can already be seen at their higher resolutions, simply by adding a little tag to the end of the video's URL. To get a (slightly noticeable) bump in resolution, try adding &fmt=6 to the end of the address line. The trick, according to YouTube watchers, seems to work primarily with newer videos, and bumps the resolution from 320x240 to 448x336. Add &fmt=18 to the end of the URL, and you might get an MP4-encoded version, with better audio and a 480x360 resolution"

maybe you need to install/resinstall mp4 codec? or maybe you have an incompatible one?
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 07:08:53 am
I have mpeg4 decoder DMO... what codec do I need exactly
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 08:11:45 am
Not sure, might not even be the issue. Just a suggestion. Youtube uses macromedia flash 9, so maybe try upgrading/reinstalling that?
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 08:24:19 am
I also have that..
Title: How to watch youtube videos in better quality!
Post by: goat on April 09, 2008, 10:13:51 am
well sorry...
Title: How to watch youtube videos in better quality!
Post by: Calvin on April 09, 2008, 11:25:02 am
Hell no, I converted the screenshot cuz it's s o big already. But I guess it's not a good idea when trying to prove something that would depend on the appearance of the pic..

So I uploaded screenshots again, now with the real colors.. But the videos are no different from each other.
That's weird. If it's not your codec, you might want to check your settings with your youtube account. Click your name hero3bash>account>Video Playback Quality> Make sure it's NOT ticked at "I have a slow connection. Never play higher-quality video."
Title: How to watch youtube videos in better quality!
Post by: Aten on April 09, 2008, 11:51:04 am
I just played that same video with "&fmt=18" and it didn't show any difference AT ALL. however, I used "&fmt=6" and the resulting quality was much MUCH better.
Title: How to watch youtube videos in better quality!
Post by: hero_bash on April 09, 2008, 11:51:09 am
nope.. I even have the option that I have a fast internet conection
Title: How to watch youtube videos in better quality!
Post by: big ass skelly on April 09, 2008, 12:23:04 pm
hey yeah fmt=6 is nice.
Title: How to watch youtube videos in better quality!
Post by: Calvin on April 09, 2008, 12:32:07 pm
I just played that same video with "&fmt=18" and it didn't show any difference AT ALL. however, I used "&fmt=6" and the resulting quality was much MUCH better.
For me "&fmt=18" shows the video in slightly better quality than "&fmt=6".  I don't really know why the results are so inconsistent from user to user at the moment.
Title: How to watch youtube videos in better quality!
Post by: Lord Kamina on April 09, 2008, 02:52:04 pm
Wow thats awesome, thanks for the tip. Didn't know about the video quality setting in account options, either!

BTW for people who can't tell the diff, the grass, trees, and character's faces are most noticably sharper in the "higher quality" vid.
It's not like HD or anything, but it is noticably sharper. No doubt from using less compression.
(http://img169.imageshack.us/img169/3429/28424921jy4.jpg)(http://img376.imageshack.us/img376/4065/81414895wu6.jpg)
Only reason I would think they'd hide this is so people who have computers/mobile devices that barely run youtube vids now, would choke under the extra CPU load.

And hey, this looks like a fun game. I'm definitely going to keep my eye on it.

I did think atleast I had seen a difference.
Now: Think of this, goat... Are you sure those are the exact same frames? Perhaps one is a keyframe and the other is just a regular one.

And... Why would youtube keep several copies of each video in increasing qualities, at the same resolution, even?
Title: How to watch youtube videos in better quality!
Post by: dada on April 09, 2008, 06:34:43 pm
Now: Think of this, goat... Are you sure those are the exact same frames? Perhaps one is a keyframe and the other is just a regular one.
Well, they're identical, aren't they? Besides, with modern video codecs, it doesn't matter whether you're looking at a keyframe or a b-frame. They should look identical in quality.

And... Why would youtube keep several copies of each video in increasing qualities, at the same resolution, even?
In case they decide they want to show higher quality videos, of course. So they at least need to save the original file. Them keeping several versions of the file would be purely for practical reasons: if they decide that they want to display higher quality videos someday, it'd be a lot easier to just say "stream the higher quality videos we made earlier" than "let's re-encode every single video we have on our site". About 10 hours of video gets uploaded to YouTube every second; you can see why the latter is impractical.
Title: How to watch youtube videos in better quality!
Post by: goat on April 10, 2008, 12:05:34 am
I did think atleast I had seen a difference.
Now: Think of this, goat... Are you sure those are the exact same frames? Perhaps one is a keyframe and the other is just a regular one.

And... Why would youtube keep several copies of each video in increasing qualities, at the same resolution, even?


It's consistent throughout the whole video. If you play them side by side and look at the same spot in both, you'll notice the difference (if your system is able to show it, which it appears some cannot). The grass and grid look very blurry throughout the whole standard video. The high quality video looks sharper throughout, and the movement grid has much more definition. On the videos I posted, you can immediately tell the difference in audio quality from 22khz to 44khz.

I'm guessing the reason it doesn't work on everyone's system is why it is still in the testing phase.
Title: How to watch youtube videos in better quality!
Post by: dada on April 10, 2008, 05:53:06 am
I'm guessing the reason it doesn't work on everyone's system is why it is still in the testing phase.
That should not be the reason (unless the higher quality videos use H.264, which is only available in the most recent versions of the Adobe Flash player). If someone's not seeing the difference, it must be because their browser is caching the old version of the video.
Title: How to watch youtube videos in better quality!
Post by: goat on April 10, 2008, 07:00:35 am
From wiki:

Quote
In March 2008, YouTube launched 'High Quality' versions of its videos. The new version offers a better video definition (480x360) in the AVC format for any video uploaded after this date. YouTube will decide which videos are capable of this improved quality based on the standard of the original upload. Users can choose "always show me higher quality when available" in their Account pages to switch automatically to the better quality.
AVC is based on H.264, and I think their old flash used H.263. I set that account setting but it doesn't seem to always pick the best version for me. Maybe it's a safeguard so that mobile devices that can barely play standard size video don't have issues.

Edit: I was looking for a way to automate it, and I think this may help:
http://macenstein.com/default/archives/1246

And even more details on what they changed: http://surarticle.com/how-to-tips/high-quality-on-youtube-videos-part-2.html

Title: How to watch youtube videos in better quality!
Post by: HL on April 10, 2008, 07:43:22 am
http://www.youtube.com/watch?v=1cVCcncKuH4
http://www.youtube.com/watch?v=1cVCcncKuH4&fmt=18

this one shows the differences more obvious theres less blurring in the background of terry's stage, butt is way more clearer, etc.
Title: How to watch youtube videos in better quality!
Post by: theHunter on April 10, 2008, 08:24:12 am
Erm guys... why not just use the icon in the bottom right corner of the vid to change the quality?
Title: How to watch youtube videos in better quality!
Post by: goat on April 10, 2008, 08:39:02 am
That's the maximize icon. It increases video size but doesn't change the quality since it's the exact same video, but stretched. The maximum video size of these high quality modes we're talking about is 480x360, the full size of the youtube video window, so any higher than that and you could actually have image quality loss with the stretch.
Title: How to watch youtube videos in better quality!
Post by: theHunter on April 10, 2008, 09:02:28 am
That's the maximize icon. It increases video size but doesn't change the quality since it's the exact same video, but stretched. The maximum video size of these high quality modes we're talking about is 480x360, the full size of the youtube video window, so any higher than that and you could actually have image quality loss with the stretch.

I was talking about something else but its not on every vid:

(http://img248.imageshack.us/img248/1112/youtubesettingmh7.png)
Title: How to watch youtube videos in better quality!
Post by: goat on April 10, 2008, 09:15:46 am
Too bad that's not on every icon that supports higher quality mode, and there's no telling it which one to choose (&fmt=6 or &fmt=18).
Title: How to watch youtube videos in better quality!
Post by: HL on April 10, 2008, 04:48:09 pm
Erm guys... why not just use the icon in the bottom right corner of the vid to change the quality?

Because it only appears on certain vids, and doing &fmt=18/16/6 does the exact same thing. You'll notice if you do &fmt=18 on any vid without it, it appears.
Title: How to watch youtube videos in better quality!
Post by: Absynthe on April 10, 2008, 06:10:06 pm
this is pretty cool. thanks for this!
Title: How to watch youtube videos in better quality!
Post by: post on April 10, 2008, 07:48:25 pm
i see the difference in that video - however no difference within my videos.