Enable Movie Capture Extension

Hi,

I am currently trying standalone examples of Isaac Sim. My goal is to recreate the franka’s environment in a different USD and record the results.

I am having trouble enabling the movie capture extension. I can’t enable the movie capture extension if I run the Python code of the example.

Main Error:
ModuleNotFoundError: No module named ‘omni.kit.capture.viewport’

I am using the example below:
standalone_examples/api/omni.isaac.cortex/franka_examples_main.py

I am using Isaac Sim 2022.2.0 version. I can’t properly use the newest versions because of the FPS. So please advise solutions in this version.

[15.554s] [ext: omni.kit.registry.nucleus-0.0.0] startup
[23.057s] [ext: omni.services.transport.client.base-1.2.1] startup
[23.062s] [ext: omni.services.client-0.4.0] startup
[23.063s] [ext: omni.services.transport.client.http_async-1.3.2] startup
[23.064s] [ext: omni.kit.window.movie_capture-2.1.4] startup
2024-04-20 16:58:09 [23,077ms] [Error] [omni.ext._impl.custom_importer] Failed to import python module omni.kit.window.movie_capture. Error: No module named 'omni.kit.capture.viewport'. Traceback:
Traceback (most recent call last):
  File "/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/kernel/py/omni/ext/_impl/custom_importer.py", line 76, in import_module
    return importlib.import_module(name)
  File "/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/python/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.kit.window.movie_capture-2.1.4/omni/kit/window/movie_capture/__init__.py", line 10, in <module>
    from .extension import MovieCaptureExtension
  File "/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.kit.window.movie_capture-2.1.4/omni/kit/window/movie_capture/extension.py", line 15, in <module>
    from .window import MovieCaptureWindow
  File "/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.kit.window.movie_capture-2.1.4/omni/kit/window/movie_capture/window.py", line 23, in <module>
    import omni.kit.capture.viewport
ModuleNotFoundError: No module named 'omni.kit.capture.viewport'

2024-04-20 16:58:09 [23,077ms] [Error] [carb.scripting-python.plugin] Exception: Extension python module: 'omni.kit.window.movie_capture' in '/home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.kit.window.movie_capture-2.1.4' failed to load.

At:
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/kernel/py/omni/ext/_impl/_internal.py(188): startup
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/kernel/py/omni/ext/_impl/_internal.py(280): startup_extension
  PythonExtension.cpp::startup()(2): <module>
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/exts/omni.kit.window.extensions/omni/kit/window/extensions/ext_commands.py(29): do
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/extscore/omni.kit.commands/omni/kit/undo/undo.py(80): execute
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/extscore/omni.kit.commands/omni/kit/commands/command.py(459): execute
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/exts/omni.kit.window.extensions/omni/kit/window/extensions/common.py(287): toggle_extension
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/kit/exts/omni.kit.window.extensions/omni/kit/window/extensions/ext_components.py(89): toggle
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/exts/omni.isaac.core/omni/isaac/core/simulation_context/simulation_context.py(465): step
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/exts/omni.isaac.cortex/omni/isaac/cortex/cortex_world.py(111): step
  /home/uraninjo/.local/share/ov/pkg/isaac_sim-2022.2.0/exts/omni.isaac.cortex/omni/isaac/cortex/cortex_world.py(173): run
  franka_examples_main.py(78): main
  franka_examples_main.py(83): <module>

2024-04-20 16:58:09 [23,077ms] [Error] [omni.ext.plugin] [ext: omni.kit.window.movie_capture-2.1.4] Failed to startup python extension.

@uraninjo as another user, this isn’t quite within my expertise, but i am wondering whether you’ve enabled the movie capture extension as part of the dependencies?

Python Environment — Omniverse IsaacSim latest documentation (nvidia.com)