Hello, I am trying to embed audio to usdz file, but I get errors:
If I remove last / from audio path, I get the following:
does anyone have any idea what am I doing wrong?
Code Block bash-3.2$ usdzaudioimport animation.usdz animation2.usdz --audio /Users/luka/Desktop/ audio.m4a -auralMode notSpatial 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): File "/Applications/usdpython/usdzconvert/usdzaudioimport", line 304, in <module> 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:
Code Block 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): File "/Applications/usdpython/usdzconvert/usdzaudioimport", line 328, in <module> os.makedirs(outputDir) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 2] No such file or directory: ''
does anyone have any idea what am I doing wrong?