# Does Create Movie Capture support multi camera?

**URL:** <https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243>\
**Category:** Samples & Examples\
**Created:** [February 23, 2022, 12:45pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243 "2022-02-23T12:45:32Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![user76666](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user76666](https://forums.developer.nvidia.com/u/user76666)\
**Post date:** [February 23, 2022, 12:45pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/1 "2022-02-23T12:45:32Z")

</div>

Hi, all  
Movie Capture Settings UI can only setup one camera and then Capture Sequence/Submit to Queue/Capture Current Frame.  
Is there any plan to support mulit camera? Or maybe my problem, not finding the correct usage.

---

<div class="post-metadata">

**Author:** ![pekka.varis](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/pekka.varis/32/93432_2.png) [@pekka.varis](https://forums.developer.nvidia.com/u/pekka.varis)\
**Post date:** [February 23, 2022, 7:41pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/2 "2022-02-23T19:41:19Z")

</div>

i think only way is to animate your camera with keyframed positions and then render image seq.

I know what you are looking for, a typical architect rendering workflow.  
@WendyGram could this feature to added to the wishlist?

---

<div class="post-metadata">

**Author:** ![user76666](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user76666](https://forums.developer.nvidia.com/u/user76666)\
**Post date:** [February 24, 2022, 2:14am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/3 "2022-02-24T02:14:27Z")

</div>

I appreciae you taking the time to reply me.  
Sorry, my English is a little rusty.

In fact, I want use OV to simulation unmanned aerial vehicle(UAV) which has multi camera. In order to do that, I use Unity and write C# scripts link to camera object, but Unity can not render multi camera real-time that is why use Nvidia OV.

I see source code of OV Create Movie Capture, form omni.renderer\_capture call acquire\_renderer\_capture\_interface(), and then call render\_capture.capture\_next\_frame\_rp\_resource(filePath, viewport)

from omni.kit.viewport call get\_viewport\_interface(), and then get current viewport. I know i can create multi viewport and setup different cameras after i see scripts/test\_multiview.py

But render\_capture seems a singleton object, so call capture\_next\_frame\_rp\_resource() with different camera can not acquire same frame image

I watch the video of Nvidia Drive Sim which based on OV Kit, it shows multi viewport from different camera on car. I believe OV Kit can do what i want to do, just i didn’t find the solution to the problem.

---

<div class="post-metadata">

**Author:** ![pekka.varis](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/pekka.varis/32/93432_2.png) [@pekka.varis](https://forums.developer.nvidia.com/u/pekka.varis)\
**Post date:** [February 24, 2022, 6:14am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/4 "2022-02-24T06:14:55Z")

</div>

wow! this is hardcore!  
@WendyGram can sure help you with this by connecting the right devs for you.

---

<div class="post-metadata">

**Author:** ![WendyGram](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/wendygram/32/157225_2.png) [@WendyGram](https://forums.developer.nvidia.com/u/WendyGram)\
**Post date:** [February 28, 2022, 8:09pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/5 "2022-02-28T20:09:31Z")

</div>

Thanks @pekka.varis! Hello @user76666! I contacted the developer for Movie Capture to help! I should hear back soon. I will also make a feature request ticket as soon as he gets back to me!

---

<div class="post-metadata">

**Author:** ![quchen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@quchen](https://forums.developer.nvidia.com/u/quchen)\
**Post date:** [March 1, 2022, 2:10am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/6 "2022-03-01T02:10:13Z")

</div>

Hi @user76666 , it looks to me that you want to capture a movie with multi cameras at the same time, right? This unfortunately is not a designed case for movie capture tool and the capture extension source you have looked into. For the capture extension, it’s designed to capture a viewport window, which is rendered with one camera at a time. You can change camera in your script during capture so that movie capture will capture with the new camera but it comes in sequence, not parallel to the previous camera used. So maybe, you can try to capture the same simulation and animation use different cameras, and then you will get a series of movies from different cameras and then making you final movie with them? Does this work for you?

---

<div class="post-metadata">

**Author:** ![user76666](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user76666](https://forums.developer.nvidia.com/u/user76666)\
**Post date:** [March 1, 2022, 3:38am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/7 "2022-03-01T03:38:35Z")

</div>

Hi @quchen , I appreciae you taking the time to reply me.  
Your username looks like Chinese name, If I’m right, we can talk in Chinese.  
It seems not work for me, because I need capture a scene with different cameras. It means these cameras need capture at same frame.  
I want simulation unmanned aerial vehicle(UAV) which has multi camera. UAV can fly in the scene, collect images from these cameras and send images to some algorithm and then use algorithm result control UAV.

---

<div class="post-metadata">

**Author:** ![quchen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@quchen](https://forums.developer.nvidia.com/u/quchen)\
**Post date:** [March 1, 2022, 4:04am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/8 "2022-03-01T04:04:24Z")

</div>

Then I guess you may want to do this with multiple viewports, and capture those viewports with their own cameras. You can try to create a new viewport via the [Window → New Viewport Window] menu and set its own camera. In theory it should be doable by creating a new extension for your needs with the capture API you found.

---

<div class="post-metadata">

**Author:** ![user76666](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user76666](https://forums.developer.nvidia.com/u/user76666)\
**Post date:** [March 1, 2022, 4:20am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/9 "2022-03-01T04:20:04Z")

</div>

That’s what I thought of before.  
The premise is renderer\_capture can acquire from different viewport, but I only know this API:acquire\_renderer\_capture\_interface() to acquire renderer\_caputre, and there is no doc about render\_capture.  
How can i config which viewport used with renderer\_capture? Or acquire different renderer\_capture from different viewport?  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![quchen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@quchen](https://forums.developer.nvidia.com/u/quchen)\
**Post date:** [March 1, 2022, 7:51am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/10 "2022-03-01T07:51:01Z")

</div>

I hope this code snippet can help you a bit:

```auto
self._viewport = omni.kit.viewport_legacy.get_viewport_interface()
# to get default viewport window
viewport_window = self._viewport.get_viewport_window()
# to create a second viewport window
self._viewport_handle_2 = self._viewport.create_instance()
self._viewport_window_2 = self._viewport.get_viewport_window(self._viewport_handle_2)
# for a viewport window, you can get/set its camema:
viewport_window.get_active_camera()/set_active_camera(camera_name)
# for the image capture api, I guess you can reuse the one in omni.kit.capture.viewport's extension.py
def _capture_viewport(self, frame_path: str):
        viewport_window = self._viewport_interface.get_viewport_window(None)

        def _capture_helper(viewport_rp_resource):
            self._renderer.capture_next_frame_rp_resource(frame_path, viewport_rp_resource)

        if self._to_capture_render_product:
            self._renderer.capture_next_frame_using_render_product(viewport_window.get_id(), frame_path, self.options._render_product)

        omni.kit.viewport_legacy.deferred_capture(viewport_window, _capture_helper, is_hdr=self.options._hdr_output, subscription_name="omni.kit.capture capture helper")

```

---

<div class="post-metadata">

**Author:** ![user76666](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user76666](https://forums.developer.nvidia.com/u/user76666)\
**Post date:** [March 24, 2022, 3:38am UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/11 "2022-03-24T03:38:01Z")

</div>

Sorry for getting back to you so late.  
I can’t found omni.kit.viewport\_legacy in Kit. So I use other way to capture frame, but also not work

```auto
self._view_port_factory = omni.kit.viewport.get_viewport_interface()
self._renderer = omni.renderer_capture.acquire_renderer_capture_interface()
def _capture_viewport(self):
viewports = self._view_port_factory.get_instance_list()
viewport_names = [self._view_port_factory.get_viewport_window_name(vp) for vp in viewports]
  for i in range(len(viewports)):
      vp = self._view_port_factory.get_viewport_window(viewports[i])
      viewport_rp = vp.get_drawable_ldr_resource()
      frame_path = str(self._capture_count) + viewport_names[i]+ ".png"
      self._renderer.capture_next_frame_rp_resource(frame_path, viewport_rp)

```

If I create multi viewports, it only save first viewport frame. I guess omni.renderer\_capture can only capture a single viewport.  
So… I found omni.syntheticdata and write demo follow omni.syntheticdata test. It can save different viewport frame. But unfortunately, frame saved not continuous(save frame at update\_event\_stream callback). And I can’t find samples or doc for how can I control viewport frame update  
I have two questions:

1. Does omni.renderer\_capture can capture different viewport? How can do that?
2. How can omni.syntheticdata.sensors.get\_rgb(viewport) get continuous frame? In a other word, can I control viewport update, or can I use viewport callback when frame update finish?

---

<div class="post-metadata">

**Author:** ![guillermo.aguilera](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@guillermo.aguilera](https://forums.developer.nvidia.com/u/guillermo.aguilera)\
**Post date:** [June 13, 2024, 9:54pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/12 "2024-06-13T21:54:54Z")

</div>

I would like to know if it will be possible to have multiple cameras rendered in the render tab without the need for coding (like batch render), and export the render view with the camera name included in the name, for example. CustomName\_CameraName.format

---

<div class="post-metadata">

**Author:** ![Richard3D](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/richard3d/32/207062_2.png) [@Richard3D](https://forums.developer.nvidia.com/u/Richard3D)\
**Post date:** [June 14, 2024, 6:07pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/13 "2024-06-14T18:07:10Z")

</div>

Not currently no. Movie Capture is one view, one camera at a time. To achieve rendering multiple views, one after another, you could use the FARM system to stack them up as needed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [June 28, 2024, 6:07pm UTC](https://forums.developer.nvidia.com/t/does-create-movie-capture-support-multi-camera/204243/14 "2024-06-28T18:07:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
