Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add screen recording functions for napari #225

Open
GenevieveBuckley opened this issue May 25, 2020 · 6 comments
Open

Add screen recording functions for napari #225

GenevieveBuckley opened this issue May 25, 2020 · 6 comments

Comments

@GenevieveBuckley
Copy link
Contributor

🚀 Feature

It would be nice if we had screen recording functionality for the napari viewer (this was first suggested in napari/napari#1267).

This feature is dependent on napari/napari#780, so that needs to be merged before any work starts here.

From Juan's comment (link):

if you look at the the IPython display documentation:
https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html
there's also the ability to display a video. So it would even be possible to do e.g. napari.record(True), then nbrecording(v) would embed a video of the viewer's interactions.

Other context:
We might like to match the structure of screenshot() & nbscreenshot(), see napari/napari#1269

@psobolewskiPhD
Copy link
Member

To me this seems like a cool idea, but really niche?
The work from napari/napari#780 is now napari-animation so I'd suggest any further developments go in that repo?
As of #200 napari-animation output can be built into examples pages, so getting it into a jupyter notebook output should be very doable?
Anyhow, I think it's a better fit there and we can consider making it part of [all].
@jni any thoughts? you're called out as motivation in the OP 😜

@jni
Copy link
Member

jni commented Jul 1, 2024

whoa, there's an interesting UX idea for napari animation: capture mode: automatic capture of keypoints — every change is a keypoint, with the number of interpolation points set by the desired framerate and elapsed time, and then at the end you'd get a video that would closely match what the user did. The only difference is that frame skips would be interpolated so you'd get super-smooth interaction. Kinda fake news but whatever, seems useful! 😃

I agree, it might make sense to move this issue to napari-animation...

@psobolewskiPhD psobolewskiPhD transferred this issue from napari/napari Jul 18, 2024
@psobolewskiPhD
Copy link
Member

Something to keep an eye on from the prolific @kephale
https://github.com/kephale/napari-screen-recorder

@kephale
Copy link

kephale commented Aug 4, 2024

I could contribute that kind of functionality to napari-animation, but I really just wanted something simple to make things like this https://mastodon.social/@kisharrington/112905891764696439

@psobolewskiPhD
Copy link
Member

💯 @kephale
I was just reminded of this thread and thought your new plugin could be useful for someone who comes across it.

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/napari-screen-recorder/101887/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants