Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2005
    Posts
    435

    swf to avi on linux?

    Any recommendations on how to proceed this?

    First I tried going from swf to mpg by using http://www.unixuser.org/~euske/vnc2s...2swf.html#edit

    and I was thinking of going from mpg to avi using ffmpeg. The problem is that swf to mpg ran up with an error. I was wondering if anyone know of the best way to proceed with this.

    There is also audio on the swf files.


    Thanks for reading!

  2. #2
    Join Date
    Nov 2003
    Location
    Marylebone, London, UK
    Posts
    526
    How about going via flv instead:

    edit.py -o output.flv input.swf

    ffmpeg -i output.flv output.avi

  3. #3
    Join Date
    Oct 2005
    Posts
    435
    that works.. the only problem is that when I run the edit.py it only does 1 frame. Comes out way too small. Is this a bug? or am I suppose to give more information on that?

  4. #4
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    Are you sure everything you want is in the .swf? The more common situation is to have some kind of player.swf pulling video.flv from the server, in which case, of course, you'd need to convert video.flv instead.

    If it really is .swf conversion you need and you're willing to go to the dark side, there are plenty of Windows converters...
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  5. #5
    Join Date
    Oct 2005
    Posts
    435
    thanks for that. I will double check on that.

    Can you give some tips on the windows option if we do that route?

  6. #6
    Join Date
    Oct 2005
    Posts
    435
    Does anyone know if that edit.py only converts uncompressed swf file? I'm thinking perhaps its because the file I'm using is compressed? It seems there is no way to convert swf to avi on linux. How unfortunate.

  7. #7
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    To uncompress the file you could try flasm:
    Code:
    flasm -x file.swf
    Sorry I've no experience with any of the Windows programs but GIYF
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  8. #8

    swf to avi

    in windows swf2avi worked.

    for linux, i've tried to convert swf to avi by using FFMPEG with the Xvid library. For example, the following command should do the trick:
    Code:
    ffmpeg -i SomeVideo.swf -vcodec libxvid -vtag DX50 -qscale 4 -acodec copy SomeVideo.avi
    Last edited by fsmj; 12-22-2009 at 11:06 PM.

  9. #9
    I prefer 2 use Flash To Video Encoder(4 win) or Macvide FlashVideo Converter(4 Mac OS)!

  10. #10
    You may try iDealshare VideoGo to convert SWF to AVI, MP4, WMV, MOV, FLV, GIF, etc video format

  11. #11
    Join Date
    Mar 2015
    Posts
    36
    Try this

    ffmpeg -i file.swf file.avi

Similar Threads

  1. Linux Tech Networks - Experienced, Reliable Linux Administration
    By whmcsguru in forum Employment / Job Offers
    Replies: 0
    Last Post: 01-18-2007, 09:32 AM
  2. Linux Tech Networks - Affordable, Reliable Linux Admin
    By whmcsguru in forum Employment / Job Offers
    Replies: 0
    Last Post: 03-06-2006, 04:51 PM
  3. Replies: 3
    Last Post: 05-10-2005, 06:12 PM
  4. Replies: 35
    Last Post: 12-31-2004, 06:04 AM

Posting Permissions

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