Converting videos from iPhone for PowerPoint 2010

I had the prob­lem of how to prop­er­ly embed a video into Pow­er­Point 2010 run­ning on Win­dows 7. I used the insert video com­mand but a nor­mal h264 video from my iPhone with a .mov exten­sion did not work. So the video had to be con­vert­ed into a dif­fer­ent for­mat.

If you ever want­ed to con­vert video, there is an almost omnipo­tent tool ffm­peg, which can do the job. And also in this case the solu­tion was to con­vert the file into some ancient wma codec using the fol­low­ing ffm­peg com­mand:

ffmpeg -i InFile.mov  -q:v 9 -c:v wmv2 -c:a wmav2 -async 1 -b:a 256k OutFile.avi

The .avi file gen­er­at­ed this way can be insert­ed eas­i­ly into Pow­er­Point 2010 and will be embed­ded into the pre­sen­ta­tion. On the slide the video can be con­fig­ured to play auto­mat­i­cal­ly when the slide appears or after being clicked.