Marcus Vasques Osorio
Well-known member
Hi all,
Have got an XSLT to create a LUA from an AVID XML, but can not get it to load into bin:
I have tested with exactly the same result XSLT from one of LUA deanan provided and clips load perfectly??? completely lost: I am new to LUA but not to XSLT, here is the result of the XSLT
clip1 = REDX.clip("/Volumes/Media/REDX/A344_C002_0917BL_001.R3D")
clip1:setInOut(0,40)
a1 = REDX.activate_bin();
a1:addClip(clip1)
clip2 = REDX.clip("/Volumes/Media/REDX/A344_C003_09178K_001.R3D")
clip2:setInOut(2,91)
a2 = REDX.activate_bin();
a2:addClip(clip2)
clip3 = REDX.clip("/Volumes/Media/REDX/A344_C001_0917FU_003.R3D")
clip3:setInOut(53,90)
a3 = REDX.activate_bin();
a3:addClip(clip3)
and here is the original edited file that deanan placed up which works perfectly and imports trimmed clips into REDCINE-X
-- Load a new clip.
clip1 = REDX.clip("/Volumes/Media/REDX/A344_C001_0917FU_003.R3D")
-- first argment is inclusive and the second is exculsive [in, out)
clip1:setInOut(0, 40)
ab = REDX.active_bin();
ab:addClip(clip1)
-- Load a new clip.
clip2 = REDX.clip("/Volumes/Media/REDX/A344_C002_0917BL_001.R3D")
-- first argment is inclusive and the second is exculsive [in, out)
clip2:setInOut(2, 91)
a1 = REDX.active_bin();
a1:addClip(clip2)
clip3 = REDX.clip("/Volumes/Media/REDX/A344_C003_09178K_001.R3D")
clip3:setInOut(53, 90)
a3 = REDX.active_bin();
a3:addClip(clip3)
what am I missing, can anyone else see a spelling or missing code....
have added text files as ZIP too
cheers
Marcus
Have got an XSLT to create a LUA from an AVID XML, but can not get it to load into bin:
I have tested with exactly the same result XSLT from one of LUA deanan provided and clips load perfectly??? completely lost: I am new to LUA but not to XSLT, here is the result of the XSLT
clip1 = REDX.clip("/Volumes/Media/REDX/A344_C002_0917BL_001.R3D")
clip1:setInOut(0,40)
a1 = REDX.activate_bin();
a1:addClip(clip1)
clip2 = REDX.clip("/Volumes/Media/REDX/A344_C003_09178K_001.R3D")
clip2:setInOut(2,91)
a2 = REDX.activate_bin();
a2:addClip(clip2)
clip3 = REDX.clip("/Volumes/Media/REDX/A344_C001_0917FU_003.R3D")
clip3:setInOut(53,90)
a3 = REDX.activate_bin();
a3:addClip(clip3)
and here is the original edited file that deanan placed up which works perfectly and imports trimmed clips into REDCINE-X
-- Load a new clip.
clip1 = REDX.clip("/Volumes/Media/REDX/A344_C001_0917FU_003.R3D")
-- first argment is inclusive and the second is exculsive [in, out)
clip1:setInOut(0, 40)
ab = REDX.active_bin();
ab:addClip(clip1)
-- Load a new clip.
clip2 = REDX.clip("/Volumes/Media/REDX/A344_C002_0917BL_001.R3D")
-- first argment is inclusive and the second is exculsive [in, out)
clip2:setInOut(2, 91)
a1 = REDX.active_bin();
a1:addClip(clip2)
clip3 = REDX.clip("/Volumes/Media/REDX/A344_C003_09178K_001.R3D")
clip3:setInOut(53, 90)
a3 = REDX.active_bin();
a3:addClip(clip3)
what am I missing, can anyone else see a spelling or missing code....
have added text files as ZIP too
cheers
Marcus