I did a lot of research and I discovered the ffmpeg-php estension which I thought would solve the problem. But, unfortunatly I can only get it to work with avi, mpeg, mov etc. and NOT with swf or flv.
I thought about publish it as an new operator extension here if there would be any interest for it. Shout if there is..