moviepy icon indicating copy to clipboard operation
moviepy copied to clipboard

MoviePy write_videofile not working under Flask

Open fanchessfan opened this issue 2 years ago • 1 comments

Expected Behavior

This code works fine outside flask. A correct video is generated in the disk and I can playback it properly with normal playback tools in Windows.

Actual Behavior

Flask is a Python HTML webpage tool. However, when it is integrated in flask, I got a blank video. The resolution and frame duration are correct. However, the frames are blank with red color.

Steps to Reproduce the Problem

Specifications

  • Python Version: 3.10.5
  • Moviepy Version: latest
  • Platform Name: Windows
  • Platform Version: Windows 10

fanchessfan avatar Jul 25 '22 04:07 fanchessfan

Please provide code alongside your issue report. It sounds like Flask is interfering but it's impossible to tell how without seeing what you are doing.

keikoro avatar Sep 09 '22 21:09 keikoro