of=task.add_output("%s.%s.%s"%(task.output_prefix,task.inputs.index(stream.file),stream.stream_spec),None)# TODO get real file extension
of=task.add_output("%s.%s.%s.%s"%(task.output_prefix,task.inputs.index(stream.file),stream.pertype_index,stream.codec),None)# TODO get real file extension