cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 1 of 4

Youtube managing the video quality

Hi all,

has anyone an idea to manage the quality of a youtube video?

Today we ware able to manage the youtube uploader or the youtube category.

More and more customers are asking if it is possible to manage the quality of a youtube video. There are tools available to manage this localy on the endpoint. But this would be great directly on MWG.

Cheers,

Thorsten

Nachricht geändert durch Troja on 28.01.13 13:48:35 MEZ
3 Replies
Highlighted

Re: Youtube managing the video quality

Hi Thorsten,

youtube continually adds new codecs, allowed resolutions and relaxes size restrictions: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs . A video file which has been uploaded two years ago can have an another set of available resolutions and quality settings than a video which was uploaded recently using best practices http://support.google.com/youtube/bin/answer.py?hl=en&answer=1722171  (which means youtube skips reencoding).

This means you cannot set a quality parameter in the youtube url without parsing a web page to find a list of available qualities.

A small javascript injected in the youtube web site by a custom MWG7 rule can do a trick and override a youtube' logic to always choose a high available resolution / quality setting.

On the other side youtube try to restrict a possible url manipulation by introducing a url signing and expiration timestamp:

http://r7---sn-4g57kn7d.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hUTldUUV9IT0NONF9PTlVEOjhfWGxTTEZaWUxa&cpn=Iii0KU77Xy65bqFg
&expire=1359793335&factor=1.25
&fexp=907050%2C926400%2C911407%2C923112%2C914002%2C916613%2C920704%2C912806%2C922403%2C922405%2C929901%2C913605%2C925710%2C929114%2C920201%2C913302%2C930101%2C919009%2C911116%2C926403%2C910221%2C901451%2C919114
&id=aec5fb6f2a03be86&ip=xx.xx.xx.xx&ipbits=8&itag=34&keepalive=yes&key=yt1&ms=au&mt=1359767232&mv=m&newshard=yes&range=13-1781759&ratebypass=yes
&signature=364E58E48C8E1324CE4CBA644ECF03D53F9339B2.63AA8094FCA32CEA0128D30E34822EFEF3174F88&source=youtube
&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3
&upn=Knd38GHE_us

easy readable parsed url parameters:

algorithm=throttle-factor
burst=40
cp=U0hUTldUUV9IT0NONF9PTlVEOjhfWGxTTEZaWUxa
cpn=Iii0KU77Xy65bqFg
expire=1359793335
factor=1.25
fexp=907050,926400,911407,923112,914002,916613,920704,912806,922403,922405,929901,913605,925710,929114,920201,913302,930101,919009,911116,926403,910221,901451,919114
id=aec5fb6f2a03be86
ip=xx.xx.xx.xx
ipbits=8
itag=34
keepalive=yes
key=yt1
ms=au
mt=1359767232
mv=m
newshard=yes
range=13-1781759
ratebypass=yes
signature=364E58E48C8E1324CE4CBA644ECF03D53F9339B2.63AA8094FCA32CEA0128D30E34822EFEF3174F88
source=youtube
sparams=algorithm,burst,cp,factor,id,ip,ipbits,itag,source,upn,expire
sver=3
upn=Knd38GHE_us


there are some programms and scripts in Internet which can bypass these restrictions and d/l a video directly ...

Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 3 of 4

Re: Youtube managing the video quality

Hey coooool,

will try it.

Cheers,

Thorsten

Highlighted

Re: Youtube managing the video quality

just remove range parameter from the link, just like

http://r1---sn-puc-cqve.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hVTFNQTl...&range=13-1781759&ratebypass=yes&signature=B903C058E7923479E8D29ECF131E101F3D80D7EC.0E6ECD32BD5C9F90B927A22B60EA8AF6980C8C7E&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn=6Fq3TF-nhPY

became

http://r1---sn-puc-cqve.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hVTFNQTl...

and if you copy&paste on IDM its automaticaly set *.filetype

CMIIW

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community