I am getting broken pipe error, i see 2 other topics on same issue, how to resolve this?
  
  
    The following code works fine locally, but on render it raises the error: 
{“error”:“[Errno 32] Broken pipe\n\nMoviePy error: FFMPEG encountered the following error while writing file ./temp/g8TzTqd6Xfg_output_video.mp4:\n\n b’./temp/g8TzTqd6Xfg_output_video.mp4: No such file or directory\n’”} 
The code: 
from flask import Flask, request, send_file, jsonify, after_this_request
from pytube import YouTube
import moviepy.editor as mp
import json
import os
import io
app = Flask(__name__)
@app.rou…
   
 
  
  
    Hey guys, 
Apologies if this has been answered elsewhere… 
I have a Flask app with MoviePy that can render video files with ffmpeg no problem locally. On Render, it dies after a few seconds with a broken pipe. I’m using moviepy==1.0.3 and Python 3.10 
I created this file to test it and run from the shell, with the same result: 
movie_test.py 
import os
from moviepy.editor import *
ic=[]
directory = 'jobs/31/images/'
for filename in os.listdir(directory):
    f = os.path.join(directory, filename…
   
 
             
            
              
            
           
          
            
            
              Hey,
I see that you’ve already initiated a support ticket with us. To avoid any confusion or duplicate efforts, let’s continue the conversation there
Jérémy.
             
            
              
            
           
          
            
              
                system  
              
                  
                    March 4, 2024,  5:30pm
                   
                  3 
               
             
            
              This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.