NewPipeExtractor icon indicating copy to clipboard operation
NewPipeExtractor copied to clipboard

add HDR Support

Open karyogamy opened this issue 8 years ago • 7 comments

Although tunneled playback is enabled on the player in the client, without proper extractor support, HDR will not work.

Here's a snippet from youtube-dl, as you can see, all HDR content has Itag of 33x:

youtube-dl.exe -F https://www.youtube.com/watch?v=WW2DKBGCvEs [youtube] WW2DKBGCvEs: Downloading webpage [youtube] WW2DKBGCvEs: Downloading video info webpage [youtube] WW2DKBGCvEs: Extracting video information [youtube] WW2DKBGCvEs: Downloading MPD manifest [info] Available formats for WW2DKBGCvEs: format code extension resolution note 139 m4a audio only DASH audio 48k , m4a_dash container, mp4a.40.5@ 48k (22050Hz), 683.89KiB 249 webm audio only DASH audio 55k , opus @ 50k, 771.41KiB 250 webm audio only DASH audio 80k , opus @ 70k, 1.07MiB 140 m4a audio only DASH audio 127k , m4a_dash container, mp4a.40.2@128k (44100Hz), 1.78MiB 171 webm audio only DASH audio 132k , vorbis@128k, 1.73MiB 251 webm audio only DASH audio 151k , opus @160k, 2.03MiB 160 mp4 256x144 DASH video 47k , avc1.4d400c, 24fps, video only, 470.93KiB 278 webm 256x144 144p 97k , webm container, vp9, 24fps, video only, 1.24MiB 330 webm 256x144 144p HDR 147k , vp9.2, 24fps, video only, 1.73MiB 242 webm 426x240 240p 173k , vp9, 24fps, video only, 1.82MiB 133 mp4 426x240 DASH video 182k , avc1.4d4015, 24fps, video only, 1.83MiB 331 webm 426x240 240p HDR 241k , vp9.2, 24fps, video only, 2.96MiB 134 mp4 640x360 DASH video 280k , avc1.4d401e, 24fps, video only, 2.81MiB 243 webm 640x360 360p 364k , vp9, 24fps, video only, 3.96MiB 332 webm 640x360 360p HDR 457k , vp9.2, 24fps, video only, 5.80MiB 135 mp4 854x480 DASH video 631k , avc1.4d401e, 24fps, video only, 6.27MiB 244 webm 854x480 480p 662k , vp9, 24fps, video only, 7.10MiB 333 webm 854x480 480p HDR 864k , vp9.2, 24fps, video only, 10.99MiB 136 mp4 1280x720 DASH video 1319k , avc1.4d401f, 24fps, video only, 13.16MiB 247 webm 1280x720 720p 1466k , vp9, 24fps, video only, 16.15MiB 334 webm 1280x720 720p HDR 1821k , vp9.2, 24fps, video only, 22.38MiB 248 webm 1920x1080 1080p 2723k , vp9, 24fps, video only, 32.02MiB 137 mp4 1920x1080 DASH video 2875k , avc1.640028, 24fps, video only, 28.16MiB 335 webm 1920x1080 1080p HDR 3181k , vp9.2, 24fps, video only, 40.02MiB 271 webm 2560x1440 1440p 7477k , vp9, 24fps, video only, 86.30MiB 264 mp4 2560x1440 DASH video 7973k , avc1.640032, 24fps, video only, 79.24MiB 336 webm 2560x1440 1440p HDR 11586k , vp9.2, 24fps, video only, 143.43MiB 337 webm 3840x2160 2160p HDR 19690k , vp9.2, 24fps, video only, 260.42MiB 266 mp4 3840x2160 DASH video 21183k , avc1.640033, 24fps, video only, 218.04MiB 313 webm 3840x2160 2160p 21927k , vp9, 24fps, video only, 245.45MiB 17 3gp 176x144 small , mp4v.20.3, mp4a.40.2@ 24k 36 3gp 320x180 small , mp4v.20.3, mp4a.40.2 43 webm 640x360 medium , vp8.0, vorbis@128k 18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k 22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)

karyogamy avatar Nov 06 '17 16:11 karyogamy

Than we should add HDR support. One should find an add the corresponding itag, and add it to this list.

theScrabi avatar Nov 06 '17 17:11 theScrabi

@theScrabi: Won't we also have to add some HDR flag to it?

ghost avatar Nov 06 '17 18:11 ghost

It was better if we did.

theScrabi avatar Nov 06 '17 21:11 theScrabi

This would be very cool to have, also for using NewPipe on Android TV!

h-2 avatar Oct 01 '18 09:10 h-2

Any news on this? Thanks for your work on NewPipe!

h-2 avatar Apr 16 '19 12:04 h-2

Please check the PR linked below for a test APK (https://github.com/TeamNewPipe/NewPipeExtractor/pull/488)

FireMasterK avatar Dec 20 '20 09:12 FireMasterK

Thanks for the heads-up! I currently don't have access to the TV to try, but maybe @f-heeger can have a look?

h-2 avatar Jan 04 '21 15:01 h-2