title: FFMPEG with moviepy
body: <p>I'm working on something that concatenate videos and adds some titles on through moviepy.</p>
  <p>As I saw on the web and on my on pc moviepy works on the CPU and takes a lot of time to save(render) a movie. Is there a way to improve the speed by running the writing of moviepy on GPU? Like using FFmpeg or something like this?</p>
  <p>I didn't find an answer to that on the web, so I hope that some of you can help me.
  I tried using <code>thread=4</code> and <code>thread=16</code> but they are still very very slow and didn't change much.</p>
  <p>My CPU is very strong (i7 10700k), but still, rendering on moviepy takes me for a compilation with a total of 8 minutes 40 seconds, which is a lot.</p>
  <p>Any ideas?Thanks!
  the code doesnt realy matter but :</p>
  <pre><code>def Edit_Clips(self):
  
      clips = []
  
      time=0.0
      for i,filename in enumerate(os.listdir(self.path)):
          if filename.endswith(&quot;.mp4&quot;):
              tempVideo=VideoFileClip(self.path + &quot;\\&quot; + filename)
  
              txt = TextClip(txt=self.arrNames[i], font='Amiri-regular',
                             color='white', fontsize=70)
              txt_col = txt.on_color(size=(tempVideo.w + txt.w, txt.h - 10),
                                     color=(0, 0, 0), pos=(6, 'center'), col_opacity=0.6)
  
              w, h = moviesize = tempVideo.size
              txt_mov = txt_col.set_pos(lambda t: (max(w / 30, int(w - 0.5 * w * t)),
                                                   max(5 * h / 6, int(100 * t))))
  
              sub=txt_mov.subclip(time,time+4)
              time = time + tempVideo.duration
  
              final=CompositeVideoClip([tempVideo,sub])
  
              clips.append(final)
  
      video = concatenate_videoclips(clips, method='compose')
      print(&quot;after&quot;)
      video.write_videofile(self.targetPath+&quot;\\&quot;+'test.mp4',threads=16,audio_fps=44100,codec = 'libx264')
  </code></pre>