YousableTubeFix

By Mindeye Last update Feb 2, 2012 — Installed 594,558 times.

Script updated

in
Subscribe to Script updated 16 posts, 5 voices



Mindeye Script's Author

- The Chromo promo ad is now removed from search pages
- Added support for format 22 (H.264 HQ)

 
Jelle Mees Scriptwright

Thank you very much man. Still the #1 userscript on the planet :)

 
Nintendo Man... User

Is there a particular reason you called it HQ instead of HD? It might end up being confusing to some, thinking the non-hd h.264 versions are just standard 320x240 quality.

 
Gnintendo Scriptwright

Wow, I experience MAJOR lag with H.264 HQ, even after the video is fully loaded and everything.

Weird......

 
Jelle Mees Scriptwright

That is because it uses A LOT OF CPU-POWER.

I have a Dual-Core laptop ( 2Ghz ) and Firefox uses up to 35% with FLV, 40-50% with H.264 and 85-95% with H.264 HD.

The script's author can not fix this problem. Only Mozilla or the youtube-developpers can fix this. When I go to Vimeo, wich uses FLV for HD, the CPU usage is about 60-70%. Even though FLV is older, H.264 requires more CPU-power.

I don't know who to blame, Mozilla or the flashplayer. All I know is that viewing an MP4 video requires a lot more CPU-power in Firefox then offline in VLC-player.

It could be the mediaplayer that Youtube uses, because HD FLV on gametrailers.com only uses 35% CPU.

 
Gnintendo Scriptwright

Well obviously, I'm not stupid, I just wouldn't think that a jump from FLV HQ to H.264 HQ would create that dramatic of a difference, even H.264 ran with 0 lag for me. I know why, I'm just pointing out it strikes me as odd that the difference was that abrupt.

 
Nintendo Man... User

I can say that it's a combination of the H.264 and flash player. H.264 by itself is pretty CPU intensive, as well as flash player. If you mix those together... HO BOY THERE GOES YOUR PC! :P

An easy "get around" is to just download the actual HD H.264 MP4 and play it in a media player program like VLC. It'll run smoother than in flash player. (heck, ANY video will run smoother out of flash player)

If you still want to view on youtube instead, try setting the flash player quality to low. (though, this will STILL be slower than just playing it in a media player app)

Interestingly enough, playing a video in a media player app will look sharper as well, no matter what quality the flash player is set at. Either the youtube player doesn't render at full 720p or the flash filter is on overkill. (I made a video about this: http://www.youtube.com/watch?v=s07Nz24x-lA )

 
Mindeye Script's Author

If Bug 435339 is fixed for Firefox 3.1 (and its correspondent GStreamer and QuickTime bugs for Linux and Mac) and I understand the HTML 5 working draft, it would mean that the new "video" tag in Firefox 3.1 will reproduce a video if you have the appropriate codecs installed, without depending on plugins. If that's true, I'll add an option to the script to substitute the YouTube player embed tag for a video tag so we can get the video played without using the annoying Flash Player

 
Gnintendo Scriptwright

Since I have both Minefield (Firefox 3.1 nightly builds) and Firefox 3.0 installed i'd be happy to test that :D.

 
Gnintendo Scriptwright

They've started implementing the Video tag on the nightly builds, would you please make it an option in the next version and simply put [TEST] by it or something?

EDIT: I can confirm that both the video and audio tags are working in my nightly build.

 
Jelle Mees Scriptwright

Nintendo Maniac 64, thank you for the info you posted. I had no idea the flashplayer quality-setting has such a huge impace on the CPU. I am now using "Youtube Default" and no longer "Best Quality" and my CPU usage decreased by 50%! Now I can watch H264 HD without any lagging :)

 
Jelle Mees Scriptwright

Nintendo Maniac 64, thank you for the info you posted. I had no idea the flashplayer quality-setting has such a huge impace on the CPU. I am now using "Youtube Default" and no longer "Best Quality" and my CPU usage decreased by 50%! Now I can watch H264 HD without any lagging :)

 
Jelle Mees Scriptwright

Nintendo Maniac 64, thank you for the info you posted. I had no idea the flashplayer quality-setting has such a huge impace on the CPU. I am now using "Youtube Default" and no longer "Best Quality" and my CPU usage decreased by 50%! Now I can watch H264 HD without any lagging :)

 
vtz User

Hello, great script but I have one suggestion.
I set the script to Select the default video format as FLV high quality, but whenever I view a video tha doesn't have this format it says "We're sorry this video is no longer available". Is it possible to automatically go the the next highest video format automatically instead of choosing it everytime?

Thanks!

 
Nintendo Man... User

setting it to "best quality available" currently does what you want (unless an HD version is available, but those are rare)

Though in the future, the script may be set to have fmt=18 h.264 above HQ FLV, so this wouldn't work then. (though I must ask why you're using HQ FLV instead of fmt=18 h.264...)

 
Mindeye Script's Author

Gnintendo:
I can't do that because I haven't written the code yet ;-). Anyway, as you can see in the bug status, it isn't implemented yet (the video/audio tags works, but not the DirectShow backend, and YouTube doesn't offer videos in Theora format)

Jelle Mees:
That's right, Best Quality uses a lot of CPU. I don't really added the Flash Player quality setting to get more quality, but to give users with an old computer an option to watch videos with lower quality but less CPU use

vtz and Nintendo Maniac:
As Nintendo Man has said, that option gives you the highest video quality available (or tries too). An option to tweak the script preferences for video formats is high on my list, but I don't have much time to work on it right now (moreover, I have some computer problems now)

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