green screen
#36
by
hanstyle
- opened
一只会动的树
same problem
https://huggingface.co/ali-vilab/text-to-video-ms-1.7b/discussions/5#641c2324043963b1c09ea80c
this helps
or you can simply add this code into your python file:
import subprocess
convert_name = file_name + '-ff.mp4'
ffmpeg_command = [
"ffmpeg",
"-i", input_name,
"-c:v", "libx264",
convert_name
]
subprocess.run(ffmpeg_command)
or, you could just download VLC player to play the video directly