add support for fcpxml
fixed bug in duration calculation