I find that there is no document or tutorial which shows how to generate a video. I can get the frames after each event and then merge to a video, but it's choppy. Or I can use a screen recording software to record a video from the renderer, but the actions (such as move ahead, rotate and pick up something etc) perform suddenly.
Is there another way to generate a video? I find a file called "video controller.py", but when I run the following code, some errors occur:
from ai2thor.controller import VideoController
with VideoController() as vc:
vc.play(vc.MoveAhead())
vc.wait(5)
vc.play(vc.MoveAhead())
vc.exportVideo('thor.mp4')
And if I want to get a smooth video, what should I do?
Hi,
I find that there is no document or tutorial which shows how to generate a video. I can get the frames after each event and then merge to a video, but it's choppy. Or I can use a screen recording software to record a video from the renderer, but the actions (such as move ahead, rotate and pick up something etc) perform suddenly.
Is there another way to generate a video? I find a file called "video controller.py", but when I run the following code, some errors occur:
from ai2thor.controller import VideoController with VideoController() as vc: vc.play(vc.MoveAhead()) vc.wait(5) vc.play(vc.MoveAhead()) vc.exportVideo('thor.mp4')
And if I want to get a smooth video, what should I do?
Thank you!