camenduru / text-to-video-synthesis-colab

Text To Video Synthesis Colab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Google Colab] Format of output video cannot play in some contexts

CarbonatedPastries opened this issue · comments

The current export_to_video function from HuggingFace encodes the output video with MPEG-4 Visual format, which doesn't play in some contexts such as Desktop Discord. (They can play in normal video players and mobile Discord.) Looking at the HuggingFace Space version, they are using imageio to export, which results in a video file with AVC format.

Could the colab be adjusted so the output format is functional in more contexts?

thanks @CarbonatedPastries ❤please try it 3cd036e

Screenshot 2023-03-25 165337

Tested and outputs can play in Desktop Discord. Thanks!