Alex Rivera | Logout

encode video in reverse?

Asked 2010-03-31T13:50:11.720
19

Does anyone know if it is possible to encode a video using ffmpeg in reverse? (So the resulting video plays in reverse?)

I think I can by generating images for each frame (so a folder of images labelled 1.jpg, 2.jpg etc), then write a script to change the image names, and then re-encode the ivdeo from these files.

Does anyone know of a quicker way?

This is an FLV video.

Thank you

Edit
Report

1 Answer

11

I've created a script for this based on Andrew Stubbs' answer

https://gist.github.com/hfossli/6003302

Can be used like so

./ffmpeg_sox_reverse.sh -i Desktop/input.dv -o test.mp4
answered 2013-07-15T20:46:04.160

Your Answer