0

I've been trying to reverse a mp4 file so that it outputs another mp4 file but in reverse. The problem I've been having is that I can only get it to reverse the video by exporting each of the frames as pngs then reimporting them in reverse order, but this doesn't include audio data. Is there a better way to reverse a mp4 file?

Yo Su
  • 1

1 Answers1

0
moviepy.editor.vfx.time_mirror
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
  • 2
    Hi, I have tried using the method you have given, but I am getting the error ``` OSError: MoviePy error: failed to read the first frame of video file video1.mp4. That might mean that the file is corrupted. That may also mean that you are using a deprecated version of FFMPEG. On Ubuntu/Debian for instance the version in the repos is deprecated. Please update to a recent version from the website. ``` – Udit Hari Vashisht Jul 14 '22 at 11:53