You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a description that is worded well enough to be understood
Since I think December, videos longer than 30 minutes can now benefit from resolutions higher than 360p on Niconico. This wasn't the case before. For the video example I provided (sm43110779), resolutions up to 720p are available on the player within a web browser. A screenshot is included.
These resolutions aren't offered when trying out yt-dlp, even though I'm using --cookies-from-browser, as I usually do (as can be seen on the verbose output).
Is there something I have overlooked on my side, or is it a new feature that would have to be implemented? If the latter, it would be great as I don't see myself downloading each segment one by one and reassembling them by hand (Niconico now exclusively uses HLS now, and this particular video loads a good chunk of CMFV and CMFA segments).
It looks like from what I've briefly seen that other available tools seem to only the 360p variants too on such video.
Edit: it seems it's possible to extract matching m3u8 playlists matching this particular video. A look inside the video-h264-720p.m3u8 reveals that this video has a total of 341 CMFV segments. But downloading them manually doesn't seem to yield valid video streams. I'm not qualified enough in order to understand what is going on.
Edit2: it looks like resolutions above 360p are locked behind Premium account, that could be an indication of why yt-dlp doesn't retrieve all the available formats (I might be wrong), thing is my Niconico account is already premium and I can actually watch the video within a browser
Edit3: it looks like yt-dlp doesn't support DMS yet on Niconico. A new system called DMS has been been introduced on Niconico on November apparently, so I had to use the commits from this pull request in order to be able to download the video (video stream only, no audio yet, or I did something wrong, but I can still grab the audio from the older DMC streams).
Provide verbose output that clearly demonstrates the problem
Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
If using API, add 'verbose': True to YoutubeDL params instead
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Update: I was able to download this particular video with help of the commits in this pull request. It looks like Niconico is undergoing a transition to a new system called DMS, which isn't supported yet by the official yt-dlp binary releases available. By applying all the changes from this commit, I was able to retrieve its video stream, but still no audio for the moment (I might be doing something wrong).
pukkandan
changed the title
Niconico - Support for resolutions options above 360p for videos longer than 30min?
Niconico - Support for DMS formats
Dec 13, 2023
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
No response
Example URLs
https://www.nicovideo.jp/watch/sm43110779
Provide a description that is worded well enough to be understood
Since I think December, videos longer than 30 minutes can now benefit from resolutions higher than 360p on Niconico. This wasn't the case before. For the video example I provided (sm43110779), resolutions up to 720p are available on the player within a web browser. A screenshot is included.
These resolutions aren't offered when trying out yt-dlp, even though I'm using --cookies-from-browser, as I usually do (as can be seen on the verbose output).
Is there something I have overlooked on my side, or is it a new feature that would have to be implemented? If the latter, it would be great as I don't see myself downloading each segment one by one and reassembling them by hand (Niconico now exclusively uses HLS now, and this particular video loads a good chunk of CMFV and CMFA segments).
It looks like from what I've briefly seen that other available tools seem to only the 360p variants too on such video.
Edit: it seems it's possible to extract matching m3u8 playlists matching this particular video. A look inside the video-h264-720p.m3u8 reveals that this video has a total of 341 CMFV segments. But downloading them manually doesn't seem to yield valid video streams. I'm not qualified enough in order to understand what is going on.
Edit2: it looks like resolutions above 360p are locked behind Premium account, that could be an indication of why yt-dlp doesn't retrieve all the available formats (I might be wrong), thing is my Niconico account is already premium and I can actually watch the video within a browser
Edit3: it looks like yt-dlp doesn't support DMS yet on Niconico. A new system called DMS has been been introduced on Niconico on November apparently, so I had to use the commits from this pull request in order to be able to download the video (video stream only, no audio yet, or I did something wrong, but I can still grab the audio from the older DMC streams).
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: