I have created 4 cylinder linear IC Engine with Mechanism in Catia.. But I Don't know how to create its gif file. plz somebody help me

I would like show its motion in gif file format..