I'm trying to create a new stereo3D video event using the scripting interface. This is the code I'm using:
var subclip3D = proj.MediaPool.CreateStereo3DSubclip(leftMedia, rightMedia);
VideoStream stream3D = (VideoStream) subclip3D.Streams.GetItemByMediaType(MediaType.Video, 0);
if (null == stream3D) throw new ApplicationException("media contains no video streams");
stream3D.Stereo3DMode = Stereo3DInputMode.TopBottomFull;
var event3D = new VideoEvent();
var take3D = new Take(stream3D);
track3D.Events.Add(event3D);
event3D.Takes.Add(take3D);
The last line causes the error "Illegal characters in path"
How do I add a stereo3D subclip to a video event by scripting?