avindra / youtubehd

:tv: YouTube HD Ultimate, the best YouTube userscript in 2008. Here now for your viewing pleasure.
1 stars 0 forks source link

Improve resolutions #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For those with huge monitors, it would be nice to have 720p scale to 720p,
and 1080p scale to 1080p.

Fit to window does a fairly nice job.

if the video fits in the window -> show it at the proper original video
resolution
if it doesn't -> fit to window (so that we can see the most our monitor can
give us)

Obviously some users want the video to fit in the window at ALL times, even
if it isn't at that resolution in the first place. So this will be a new
option.

Any cool, short, name ideas?

Original issue reported on code.google.com by aavindraa on 27 May 2010 at 7:05

GoogleCodeExporter commented 9 years ago
Hmm, getting a name for this feature will be tricky.

How about: "Best fittable resolution display"
or: "Best possible resolution display"

Original comment by nf.pere...@live.com on 28 May 2010 at 5:30

GoogleCodeExporter commented 9 years ago
Issue 45 has been merged into this issue.

Original comment by aavindraa on 13 Aug 2010 at 5:29

GoogleCodeExporter commented 9 years ago
r49 is a lot of work towards this (if not the ultimate solution). I just need 
testers to confirm whether or not it's working well.

@nf.pereira: I just named it "True Resolution" for now. Good?

Original comment by aavindraa on 15 Aug 2010 at 6:59

GoogleCodeExporter commented 9 years ago
Released, marking Fixed.

Original comment by aavindraa on 16 Aug 2010 at 1:50

GoogleCodeExporter commented 9 years ago
It is not working at all for me. :(
Want me to fill in a new bug with info? Or should I just post it here?
I get the exact same behavior with the option on or off.

Original comment by nf.pere...@live.com on 3 Sep 2010 at 12:34

GoogleCodeExporter commented 9 years ago
You can just post it here. I'll reopen the issue for now.

Original comment by aavindraa on 3 Sep 2010 at 6:25

GoogleCodeExporter commented 9 years ago
I'll copy paste what I wrote on the userscript forums:

"I see you added the "True Resolution" option back in 1.2.4, but it is not 
working at all for me. Any kind of video, be it 480p, 720p, 1080p or any other, 
never shows in the true native resolution. For example, a 720p video is not 
really showing at 1280x720, but only at a slightly smaller resolution. And 
1080p videos show at that same resolution (a little smaller than 720p), when 
they should be able to fill my entire screen.

These are my settings, but I've tried fiddling with them, with no results:
http://i33.tinypic.com/a2evxj.png

If you're having too much work now, I can fill a bug in. College stuff is first 
:)"

Basically, having the True Resolution option on or off doesn't change anything.
Here's my debugString:

({vq:0, autoplay:false, autobuffer:true, hidenotes:false, hideRate:false, 
bigMode:true, fit:false, min:false, maxLock:true, useVol:false, vol:"50", 
snapBack:false, loop:false, jumpToPlayer:true, tools:true, qlKill:false, 
swfArgs:{enablecsi:"1", is_doubleclick_tracked:"1", 
fmt_url_map:"37|http://v6.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparam
s=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dXSFVTTl9FSkNNN19NTVJB&
itag=37&ipbits=0&sver=3&ratebypass=yes&expire=1283580000&key=yt1&signature=0BC65
D29B54817BF8D34ACD0754CED5CC0F35F0D.9505611CD87A0746F3BD2E9C268F529625DF4DC8&id=
5c84c76ec5149582,22|http://v8.lscache4.c.youtube.com/videoplayback?ip=0.0.0.0&sp
arams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dXSFVTTl9FSkNNN19NT
VJB&itag=22&ipbits=0&sver=3&ratebypass=yes&expire=1283580000&key=yt1&signature=4
AB8495B22687111C1B62F2C1C80A521047C286E.57B016C5AFB7C94871AE4FA87737FCDCE086FA45
&id=5c84c76ec5149582,35|http://v8.lscache3.c.youtube.com/videoplayback?ip=0.0.0.
0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU
0dXSFVTTl9FSkNNN19NTVJB&algorithm=throttle-factor&itag=35&ipbits=0&burst=40&sver
=3&expire=1283580000&key=yt1&signature=A73B5438D5B61E0E84A136D1ABB777E935297188.
D5089C6F01E9C21B6D2DAC1BE1B2EE2CCF3BE16D&factor=1.25&id=5c84c76ec5149582,34|http
://v12.lscache2.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%
2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dXSFVTTl9FSkNNN19NTVJB&alg
orithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1283580000&key=yt
1&signature=6C449D791A75C73013AFE6368C230B8FA8376DB8.06F5860E12F127D7B93E169CDFD
6EDF4B81006A8&factor=1.25&id=5c84c76ec5149582,5|http://v24.lscache3.c.youtube.co
m/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%
2Cburst%2Cfactor%2Coc%3AU0dXSFVTTl9FSkNNN19NTVJB&algorithm=throttle-factor&itag=
5&ipbits=0&burst=40&sver=3&expire=1283580000&key=yt1&signature=1EC1472B156D477A3
EE89EBF1AAB085431161138.44BF6F003F62C9B556FBBAEF2B6D079BDB29FC55&factor=1.25&id=
5c84c76ec5149582", csi_page_type:"watch", 
keywords:"high,definition,IMAX,WMV,HD,1080p,Test,&fmt=22", 
rec_key:"7799FAF784AE7C6C-2220C226D24EC5AE", 
fmt_list:"37/1920x1080/9/0/115,22/1280x720/9/0/115,35/854x480/9/0/115,34/640x360
/9/0/115,5/320x240/7/0/0", 
video_recorder_module:"http://s.ytimg.com/yt/swf/video_recorder_module-vfl186777
.swf", sourceid:"ys", timestamp:"1283556338", 
rec_server:"sjl-webcam1.sjl.youtube.com:80", 
watch_ajax_token:"H9vXM2fI9sco2KOIAbVwDIKfEFx8MTI4MzY0MjczOA==", 
fmt_map:"37/1920x1080/9/0/115,22/1280x720/9/0/115,35/854x480/9/0/115,34/640x360/
9/0/115,5/320x240/7/0/0", showpopout:"1", hl:"pt_PT", rec_v:"XITHbsUUlYI", 
endscreen_module:"http://s.ytimg.com/yt/swf/endscreen-vfl188392.swf", 
rec_keywords:"high definition IMAX WMV HD 1080p Test &fmt=22", 
referrer:"http://www.youtube.com/results?search_query=test 
1080p&page=&utm_source=opensearch", 
leanback_module:"http://s.ytimg.com/yt/swf/leanback_module-vfl188392.swf", 
t:"vjVQa1PpcFN0plkKn0090mD40_NJSPQI9GLGk6GTVtQ=", vq:"hd1080", allow_embed:"1", 
fmt_stream_map:"37|http://v6.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&spa
rams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0dXSFVTTl9FSkNNN19NTV
JB&itag=37&ipbits=0&sver=3&ratebypass=yes&expire=1283580000&key=yt1&signature=0B
C65D29B54817BF8D34ACD0754CED5CC0F35F0D.9505611CD87A0746F3BD2E9C268F529625DF4DC8&
id=5c84c76ec5149582||tc.v6.cache6.c.youtube.com,22|http://v8.lscache4.c.youtube.
com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypa
ss%2Coc%3AU0dXSFVTTl9FSkNNN19NTVJB&itag=22&ipbits=0&sver=3&ratebypass=yes&expire
=1283580000&key=yt1&signature=4AB8495B22687111C1B62F2C1C80A521047C286E.57B016C5A
FB7C94871AE4FA87737FCDCE086FA45&id=5c84c76ec5149582||tc.v8.cache4.c.youtube.com,
35|http://v8.lscache3.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire
%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dXSFVTTl9FSkNNN19NTV
JB&algorithm=throttle-factor&itag=35&ipbits=0&burst=40&sver=3&expire=1283580000&
key=yt1&signature=A73B5438D5B61E0E84A136D1ABB777E935297188.D5089C6F01E9C21B6D2DA
C1BE1B2EE2CCF3BE16D&factor=1.25&id=5c84c76ec5149582||tc.v8.cache3.c.youtube.com,
34|http://v12.lscache2.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpir
e%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dXSFVTTl9FSkNNN19NT
VJB&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1283580000
&key=yt1&signature=6C449D791A75C73013AFE6368C230B8FA8376DB8.06F5860E12F127D7B93E
169CDFD6EDF4B81006A8&factor=1.25&id=5c84c76ec5149582||tc.v12.cache2.c.youtube.co
m,5|http://v24.lscache3.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpi
re%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dXSFVTTl9FSkNNN19N
TVJB&algorithm=throttle-factor&itag=5&ipbits=0&burst=40&sver=3&expire=1283580000
&key=yt1&signature=1EC1472B156D477A3EE89EBF1AAB085431161138.44BF6F003F62C9B556FB
BAEF2B6D079BDB29FC55&factor=1.25&id=5c84c76ec5149582||tc.v24.cache3.c.youtube.co
m", cr:"US", sk:"UBcPm-2GJgZ7ATIw53Hn1izUjUgWa6_cR", record:"1", 
length_seconds:"262", enablejsapi:"1", rec_title:"Re: Nvidia PureVideo HD 1080p 
Test", plid:"AASPYz-VHH66TbIv", rec_descr:"Carregamento directo a partir da 
c\xE2mara de v\xEDdeo", video_id:"XITHbsUUlYI", q:"test 1080p", 
rec_categories:"28"}, ver:"1.2.5", ua:"Mozilla/5.0 (Windows; U; Windows NT 6.1; 
pt-PT; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8", flash:"Shockwave Flash 10.1 
r82"})

Original comment by nf.pere...@live.com on 3 Sep 2010 at 11:28