def create(cls, video, language_code, file_format, content, provider):
        """
        Create a Video Transcript.

        Arguments:
            video(Video): Video data model object
            language_code(unicode): A language code.
            file_format(unicode): Transcript file format.
            content(InMemoryUploadedFile): Transcript content.
            provider(unicode): Transcript provider.
        """
        video_transcript = cls(video=video, language_code=language_code, file_format=file_format, provider=provider)
        with closing(content) as transcript_content:
            try:
                file_name = '{uuid}.{ext}'.format(uuid=uuid4().hex, ext=video_transcript.file_format)
                video_transcript.transcript.save(file_name, transcript_content)
                video_transcript.save()
            except Exception:
                logger.exception(
                    '[VAL] Transcript save failed to storage for video_id "%s" language code "%s"',
                    video.edx_video_id,
                    language_code
                )
                raise

        return video_transcript
Create a Video Transcript.

        Arguments:
            video(Video): Video data model object
            language_code(unicode): A language code.
            file_format(unicode): Transcript file format.
            content(InMemoryUploadedFile): Transcript content.
            provider(unicode): Transcript provider.