@negrusti thanks, it's works!
just added some improvements for updateFramerateOfComposition method - before setting frameDuration to videoComposition I'm just checking is frameDuration is not already setted up to videoComposition. And one more renaming is Semgent -> Segment