def prepare_video_params(self, title=None, tags='<STR_LIT>', description='<STR_LIT>',<EOL>copyright_type='<STR_LIT>', public_type='<STR_LIT:all>',<EOL>category=None, watch_password=None,<EOL>latitude=None, longitude=None, shoot_time=None<EOL>):
params = {}<EOL>if title is None:<EOL><INDENT>title = self.file_name<EOL><DEDENT>elif len(title) > <NUM_LIT>:<EOL><INDENT>title = title[:<NUM_LIT>]<EOL><DEDENT>if len(description) > <NUM_LIT>:<EOL><INDENT>description = description[<NUM_LIT:0>:<NUM_LIT>]<EOL><DEDENT>params['<STR_LIT:title>'] = title<EOL>params['<STR_LIT>'] = tags<EOL>params['<STR_LIT:description>'] = description<EOL>params['<STR_LIT>'] = copyright_type<EOL>params['<STR_LIT>'] = public_type<EOL>if category:<EOL><INDENT>params['<STR_LIT>'] = category<EOL><DEDENT>if watch_password:<EOL><INDENT>params['<STR_LIT>'] = watch_password<EOL><DEDENT>if latitude:<EOL><INDENT>params['<STR_LIT>'] = latitude<EOL><DEDENT>if longitude:<EOL><INDENT>params['<STR_LIT>'] = longitude<EOL><DEDENT>if shoot_time:<EOL><INDENT>params['<STR_LIT>'] = shoot_time<EOL><DEDENT>return params<EOL>
util method for create video params to upload.

        Only need to provide a minimum of two essential parameters:
        title and tags, other video params are optional. All params spec
        see: http://cloud.youku.com/docs?id=110#create .

        Args:
            title: string, 2-50 characters.
            tags: string, 1-10 tags joind with comma.
            description: string, less than 2000 characters.
            copyright_type: string, 'original' or 'reproduced'
            public_type: string, 'all' or 'friend' or 'password'
            watch_password: string, if public_type is password.
            latitude: double.
            longitude: double.
            shoot_time: datetime.

        Returns:
            dict params that upload/create method need.