pyhulu icon indicating copy to clipboard operation
pyhulu copied to clipboard

Audio bitrate & other Devices?

Open ghost opened this issue 5 years ago • 7 comments

I know they offer better audio for other devices, would it be possible to do a netflix 1080p style workaround to get those playing? Does anyone have a device key and hex for one of those devices?

ghost avatar Nov 07 '19 07:11 ghost

In the constructor you can place additional parameters (extra_playlist_params)

To get the videos in HEVC: { 'playback': { 'video': { 'codecs': {'values': [{'type': 'H265}]} } } }

To get audio in EC3 format { 'playback': { 'audio': { 'codecs': {'values': [ {'type': 'EC3'}, {'type': 'AAC'} ]} } } }

And can also restrict the video resolution (only works up to 1280x720) { 'playback': { 'video': { 'codecs': {'values': [{'type': 'H264', 'width': 640, 'height': 360}]} } } }

You can combine the audio and video parameters

jmgirgenti avatar Jan 11 '20 16:01 jmgirgenti

With v6 of the playlist I can't get any device ids to return results for

{ 'playback': { 'video': { 'codecs': {'values': [{'type': 'H265}]} } } }

is there more to it with the latest version?

ghost avatar Nov 19 '20 14:11 ghost

Something is different about v6 of the playlist, at least as far as the H265 codec is concerned. Everything else seems to work with v6 except H265. Check the network traffic of whatever device plays H265 by default to determine the params used and to verify that v6 of the playlist is being used on that device.

rpvcg avatar Nov 23 '20 21:11 rpvcg

Something is different about v6 of the playlist. Something different or additional is required for the request. However, v4 & v5 playlist urls still work for now.

Nvm

chicc0 avatar Nov 24 '20 15:11 chicc0

I get an error 500 Internal Server Error with v4 playlist with shield device. Is it hulu problem or did they change something?

Android app device code 109 seems to no longer resolve a manifest. Even if the error is temporary, all device codes below 190 are depreciated because the profile query string is not supported. Check your app for a different device code.

rpvcg avatar Nov 24 '20 21:11 rpvcg

Do we know any other device code/key? Tried Edge but is still 190 Limited to 720p. Hulu app on Windows 10 doesnt even work...

chicc0 avatar Nov 25 '20 14:11 chicc0

Anyone has a code/key getting 4K manifest? Or knows a device which can get 4K? @chicc0 You got code/key? I'm only interested in 4K...

hululu88 avatar Mar 15 '21 21:03 hululu88