How to take snapshot from flash file

Discussion in 'PHP' started by redbayron2006, Sep 21, 2008.

  1. #1
    Hi there can anybody have infos on this:
    I have at about 1000 .swf files and I want to pull out from each of them a snapshot - a thumbnail and I want the snapshot to have the same name as the swf file so I can know which photo belongs to which file. Also I want this to do it via PHP. Is something that possible in any way?
    Or is out there a software that does something like this?
    Thanks
     
    redbayron2006, Sep 21, 2008 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    mayb u can find some infos here:

    i am not allowed to post link =(
    anyway just do a search on google using keyword: swf snapshot
    i remember i saw the word 'freeware' or 'free'
     
    ads2help, Sep 21, 2008 IP
  3. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Did but icant find something, script or software, to take a snapshot from many flash files at once.
     
    redbayron2006, Sep 21, 2008 IP
  4. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #4
    then i guess you have to do it one-by-one..
    =((
     
    ads2help, Sep 22, 2008 IP
  5. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Hi,

    ACDsee can save thumbs of flash movies if you happen to have these offline, it can save your day...
     
    wassim, Sep 22, 2008 IP
  6. candice7683

    candice7683 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if u want to take snapshot from flash file,u can try this tool Moyea Flash Video MX Pro,it can take snapshot from swf file.

    u can try ,hope it can help u.:p
     
    candice7683, Sep 22, 2008 IP
  7. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Guys I need something to take snapshots from 1000 files it cant be done one buy one. Do you know something that can do this?
     
    redbayron2006, Sep 23, 2008 IP
  8. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #8
    JEET, Sep 23, 2008 IP
  9. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #9
    redbayron2006, Sep 23, 2008 IP
  10. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #10
    I think there's a class on that page whichcaptures a frame from swf and saves it as an image. You need to make a script which scans your directory where you have swf stored, and get a frame from each swf, and save it.
    I think ffmpeg can also do this (if installed on your host). It returns a frame from your flash (flv). You can upload all swf on host, get an image using ffmpeg and save it.
    regards :)
     
    JEET, Sep 23, 2008 IP
  11. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #11
    Anyone else something not so complicated?
     
    redbayron2006, Sep 25, 2008 IP
  12. linkexchange1984

    linkexchange1984 Peon

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    linkexchange1984, Sep 25, 2008 IP
  13. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I use this piece of code on .flv files, I don't know about swf files...

    
    exec("ffmpeg -i $video_file_path -ss $screen_shot_seek -t 00:00:01 -s 120x90  -r 1 -f image2 $small_thumb_path 2>&1");
    
    PHP:
    You will need ffmpeg installed:
    http://ffmpeg.mplayerhq.hu/

    You can setup a piece of code to open the folder and read them one by one and use this piece of code to take snapshots...

    http://us.php.net/manual/en/function.opendir.php
     
    hamidof, Sep 25, 2008 IP
  14. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #14

    Thanks my friend but what PHP GD is?
     
    redbayron2006, Sep 26, 2008 IP
  15. redbayron2006

    redbayron2006 Active Member

    Messages:
    173
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #15
    Thanks hamidof,
    Is this a standalone aplication or is something like an add on to an apache server or something like that? (this exec command brings forward something like apache or php)
     
    redbayron2006, Sep 26, 2008 IP