How to generate a video
- Langage dominant
- C#
- Étoiles
- 1.8k
- Forks
- 297
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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!
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.