AlexAplin / nndownload

Download and process links from Niconico (nicovideo.jp)
MIT License
223 stars 29 forks source link

Forcing high quality does not work #24

Closed AlexAplin closed 5 years ago

AlexAplin commented 6 years ago

Some videos report size_low and size_high as 1, so we need another way to determine quality.

AlexAplin commented 6 years ago

Additionally, this only seems to occur with more recently uploaded videos.

AlexAplin commented 5 years ago

DMC videos have a level_index and availability for each source quality, sorted by level_index descending. Legacy videos have a currentQualityId and a list of qualityIds, typically auto and low. It's not clear to me if both of these always expose all qualities and whether any legacy videos actually have a high option. Flash videos on the Flash player should always serve the high quality encode.