Results 1 to 3 of 3

Thread: [SOLVED] How to use swfextract?

  1. #1
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    [SOLVED] How to use swfextract?

    I got an swf file containing a nice soundtrack I'd like to get.

    For extracting the soundtrack, I tried swfextract, from swftools.

    Ran the command swfextract file.swf -m but I get no output.
    Can't find anywhere any audio files. Maybe somebody knows how to do it?

    Thanks.

    Edit: That swf file turned out to be invalid.
    Last edited by crazyfuturamanoob; November 1st, 2008 at 09:14 PM.
    Keyboard not found!

    Press any key to continue...

  2. #2
    Join Date
    Oct 2009
    Location
    Europe
    Beans
    10
    Distro
    Ubuntu Studio 9.04 Jaunty Jackalope

    Re: [SOLVED] How to use swfextract?

    Let's rack up an old thread.
    I almost have the same question,
    How to axtract a file?
    i use this as a code:
    Code:
    swfextract -i ~/file.swf
    And this is my result:
    Code:
    You must supply a filename
    Can somebody explain what i'm doing wrong? been using Ubuntu for a week now

  3. #3
    Join Date
    Oct 2007
    Beans
    5

    Re: [SOLVED] How to use swfextract?

    From http://www.swftools.org/faq.html:
    First list all extractable items:

    swfextract myfile.swf

    The result is something like:

    Objects in file myfile.swf:
    [-i] 3 Shapes: ID(s) 1-3
    [-i] 5 MovieClips: ID(s) 4, 5, 8, 10, 12
    [-j] 3 JPEGs: ID(s) 69, 116, 447
    [-p] 1 PNG: ID(s) 318
    [-s] 3 Sounds: ID(s) 28-30
    [-f] 10 Frames: ID(s) 0-10

    Now you can extract a shape using

    swfextract -i 2 myfile.swf -o shape.swf

    a sound using

    swfextract -s 28 myfile.swf -o sound.wav

    a PNG image file using

    swfextract -p 318 myfile.swf -o file.png

    etc.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •