Hey,
I was scrolling through snap docs and fount this event “SnapRecordStopEvent”, tried using it with example provided in docs, couldn’t see anything happening
Any idea how to use it?
Thanks
Hey,
I was scrolling through snap docs and fount this event “SnapRecordStopEvent”, tried using it with example provided in docs, couldn’t see anything happening
Any idea how to use it?
Thanks
Hi @jojo
Not sure why its doesn’t work for you, but typically this script turn on or off object after snap record button is released.
Hey @Jorik_Rosa thanks for reply
But after snap button is released, i see preview of what I recorded
Maybe Im missing something ?
its depend how u set up project and what you trynna achieve
I just wanna enable something after user has finished recording, and user can see that enabled object in recording.
So the object is hidden while the user is recording, but visible in the final recorded video? I don’t think it’s possible. I am a little confused about why this event exists since the preview window comes up after the recording stops.
That was my doubt, why the event exists if the preview window pops up.
Is there a workaround for this
like I wanna enable a sceneobject only in preview recording or taking A snap and same object is disabled during recording?
Unfortunately, I don’t see how there could be a workaround for this. You would need to be able to define the buffer used for recorded content (as opposed to recording preview), and that option just doesn’t exist in the render options panel.
@jojo & @josh_beckwith actually you can use live target for this, so you don’t need use any code,
So, the main idea that live target show one result and capture target another one
and you can achieve what you need
here is more details:
https://docs.snap.com/lens-studio/references/guides/lens-features/scene-set-up/camera#live-target-and-capture-target
The issue is that he wants to show something AFTER recording, but not during recording. The live and capture targets only differentiate between pre-recording and recording.
Ohhh, I get it. Seems like event does not work in time =( i just catch it when u press rec just for 0.5 sec
But, anyway, u can use Capture Target then. Just render to live target your main lens and in Capture Target Lens with elements you want to show on captured video.
@jojo is that what you need?
heres some template
CaptureLife.zip (4.9 MB)