amazon-prime-video-1080p icon indicating copy to clipboard operation
amazon-prime-video-1080p copied to clipboard

Does this really force the video or does it just show the 1080p logo?

Open fabrebatalla18 opened this issue 2 years ago • 3 comments

Is there any way to force 1080p video even if your internet connection is slow or unstable?

By the way, do this to add primevideo.com site:

"matches": [
  "https://www.amazon.co.jp/gp/video/detail/*",
  "https://www.amazon.co.jp/gp/video/storefront/*",
  "https://www.amazon.co.jp/b?node=*",
  "https://www.amazon.co.jp/*/dp/*",
  "https://www.amazon.com/gp/video/detail/*",
  "https://www.amazon.com/gp/video/storefront/*",
  "https://www.amazon.com/b?node=*",
  "https://www.primevideo.com/region/*/detail/*",
  "https://www.primevideo.com/detail/*"
],

fabrebatalla18 avatar Nov 15 '22 11:11 fabrebatalla18

Hi fabrebatalla18

I just changed the logic to force 1080p I tested it and worked in my environment but I think now you'll be able to play videos even if your internet connection is slow or unstable. so you can try it!

this method erases all non-1080p*1 elements (options) from the video manifest file.

*1 it depends on the video, if the max size of the video is 720, it'll earse all non-720p elements

also thanks to the manifest.json suggestion. I added.

logore avatar Nov 15 '22 13:11 logore

Now your extension is almost perfect, thank you very much, although I have a couple of suggestions, could you add these 2 options?

  • Force CBR video. Amazon uses 2 types of encode H264 videos, CVBR and CBR, in the last couple of years CBR video has better quality. In this link you can see how to force the CBR video since by default it always plays the CVBR video, if it exists. https://greasyfork.org/en/scripts/429697-amazon-cbr-enabler/code

  • Add a list of selectable resolutions to your extension, for example, for people with a slow internet to be able to play the maximum bitrate of 720p without having to wait a long time to load the 1080p, so even if it is in 720p at least when having the maximum bitrate we would not have ups and downs or moments where it pixelates and drops to ridiculous qualities. It would be something like this: 1080p (Max.), 720p, 576p, 480p

fabrebatalla18 avatar Nov 15 '22 13:11 fabrebatalla18

By the way, using this same logic you could create this extension for hbomax, disney+ and other similar websites, I think many people would appreciate it.

fabrebatalla18 avatar Nov 15 '22 13:11 fabrebatalla18