[FFmpeg-user] Extract frames from an AVI and then frames to AVI

Virgil Stokes vs at it.uu.se
Fri Aug 8 20:05:44 CEST 2014

On 08-Aug-14 18:10, Moritz Barsnick wrote:
> Hi Virgil,
> On Fri, Aug 08, 2014 at 17:43:40 +0200, Virgil Stokes wrote:
>> I would like to know a method that could be used to first, extract frames from
>> an AVI file
> $ ffmpeg -i in.avi -f image2 image%05d.png
>> and then reconstruct the AVI from these extracted frames.
> $ ffmpeg -f image2 -i image%05d.png out.avi
> This is just a very simple example.
> Note that it only partially "reconstructs". Sound isn't taken into
> consideration, and you're losing all information about frame timing,
> which is relevant amongst others for fps, variable frame rates, and
> audio sync.
> You also need to tune your video codec and its quality. And possibly
> the fps...
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Thanks Moritz,
I am trying to learn more about the options that might apply to my 
problem. I have looked at the "header" information in my AVIs and 
perhaps with some experimentation, I will be able to reconstruct a 
"close" AVI from the extracted frames.


More information about the ffmpeg-user mailing list