Media Composition in Multimedia Applications