I’m facing a problem with the MUBU reading command of a multi-stream SDIF file.
Here is my use case : I have two tracks that record the data of a wiimote (pitch/roll/yaw) and a wiiboard (x/y) in a synchronous way. The respective MUBU tracks are predefined with the following SDIF informations :
1/ track wiimote info SDIF.StreamId 1 SDIF.FrameSignature XWII SDIF.MatrixSignature XWMT SDIF.MatrixName WiimotePRY
2/ track wiiboard info SDIF.StreamId 2 SDIF.FrameSignature XWII SDIF.MatrixSignature XWBD SDIF.MatrixName WiiboardXY
To write these 2 tracks into an SDIF file named « toto », I use the MUBU command : « write toto.sdif ».
To read the 2 streams from the SDIF file into each corresponding track, I sequentially use 2 MUBU commands :
1/ « readtrack wiimote toto.sdif »
2/ « readtrack wiiboard toto.sdif »
Here is the problem : only the wiiboard data (second stream of the file) are read into both predefined wiimote and wiiboard MUBU tracks.
It looks as if the « readtrack » command couldn’t associate an SDIF stream to the corresponding MUBU track, whereas these associations have been provided when writing the tracks…
Any suggestion about this problem ?
N.B 1 : The combination of commands write/readtrack works fine if I define a single track associated to a unique SDIF stream (i.e. when writing/reading either wiimote or wiiboard data only)
N.B 2 : A combination of symmetrical commands writrack/readtrack for each track doesn’t solve the problem