Actually a subject. How to get a thumbnail of a swf file using php and get a jpg (or png) file at the output?

2 answers 2

1) In PHP, to work with swf-files, there are functions Shockwave Flash and Ming

2) You can look towards converting swf2avi and ffmpeg

  • Exactly what is needed! Thank you very much! - HOSTGAME 2:47 pm

Export JPEG with Flash / PHP

In this tutorial, we will focus our attention on the BitmapData.gePixel() method in order to transform part of a flash movie into JPEG format (created using PHP / GD).

Search words: swf to jpg php.

To extract pictures from a video, you can also use ffmpeg :

 ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg 

This will extract one frame per second from the video and output them to files named foo-001.jpeg , foo-002.jpeg , etc.

  • Can you please link - HOSTGAME 5:46 pm
  • Khm And the first line in the answer is it not a link? :) - Nicolas Chabanovsky
  • Google> swf to jpg php> first result> "How I convert swf to jpg, jpeg using php"> There they send it to another forum or tutorial> At the forum they send it to another forum> on this forum they send to Google%) There are more This option is sephiroth.it/tutorials/flashPHP/print_screen, but as far as I understand it, this is done by ActionScript. Maybe I'm lazy, but for that I came here. Can you please link to the working result. - HOSTGAME 5:26 pm