Post

Replies

Boosts

Views

Activity

usdzaudioimport error
Hello, I am trying to embed audio to usdz file, but I get errors: Input file: animation.usdz Output file: animation2.usdz Warning: in SdfPath at line 97 of /Users/sergei/repos/USD/pxr/usd/lib/sdf/path.cpp -- Ill-formed SdfPath </Users/luka/Desktop/>: syntax error Traceback (most recent call last): &#9;File "/Applications/usdpython/usdzconvert/usdzaudioimport", line 304, in <module> &#9;&#9;usdAudio = UsdMedia.SpatialAudio.Define(usdStage, audio.path) pxr.Tf.ErrorException: Error in 'pxrInternal_v0_19pxrReserved::UsdStage::_IsValidPathForCreatingPrim' at line 3019 in file /Users/sergei/repos/USD/pxr/usd/lib/usd/stage.cpp : 'Path must be an absolute path: <>' If I remove last / from audio path, I get the following: bash-3.2$ usdzaudioimport animation.usdz animation2.usdz --audio /Users/luka/Desktop audio.m4a -auralMode notSpatial Input file: animation.usdz Output file: animation2.usdz Traceback (most recent call last): &#9;File "/Applications/usdpython/usdzconvert/usdzaudioimport", line 328, in <module> &#9;&#9;os.makedirs(outputDir) &#9;File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs &#9;&#9;mkdir(name, mode) OSError: [Errno 2] No such file or directory: '' does anyone have any idea what am I doing wrong?
3
0
1.4k
Jan ’21