Skip to content

Conversation

@AlexAplin
Copy link
Owner

@AlexAplin AlexAplin commented Apr 22, 2025

Resolves #11. This also fixes get_media_from_manifest to actually respect the media type.

  • -c is not supported
  • On-air namas still don't work and might be troublesome to support. We'll likely need to pass cookies through on players down to ffmpeg -headers. This adds a warning to follow that work in On-air Niconama stream links #203
  • Better warnings when -an/-aq or -vn/-vq are specified together

@AlexAplin AlexAplin changed the title Add basic timeshift download support (WIP) Add basic timeshift download support Apr 23, 2025
@AlexAplin AlexAplin changed the title Add basic timeshift download support Update Niconama support Apr 23, 2025
"type": "startWatching",
"data": {
"stream": {
"quality": "super_high",
Copy link
Contributor

@fireattack fireattack Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be replaced by the highest quality that is acquired from params (params['program']['stream']['maxQuality']) because super_high is no longer the best quality for years (we have 6m and 12m now).

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 12Mbps exclusive to some type of user/broadcast type? I tried setting up a broadcast now on premium and it seems the max is 6.

Copy link
Contributor

@fireattack fireattack Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably only the "official" ones can do. I can't find a 12M rn but here is a 8M one: https://live.nicovideo.jp/watch/lv347308094

Also note that the actual bitrate is often much lower.

@fireattack
Copy link
Contributor

fireattack commented Apr 23, 2025

I can help writing the comment downloading function once you're done. I have a working one myself.

Do note the proto schema data is directly copied from https://github.com/tsukumijima/NDGRClient (MIT) which was imported from https://github.com/n-air-app/nicolive-comment-protobuf (also MIT); I don't dump them myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Download timeshifted Niconama

3 participants