+ Reply to Thread
Results 1 to 4 of 4

SWF conversion for M6 with audio : Freewares only

This is a discussion on SWF conversion for M6 with audio : Freewares only within the General Meizu M6 forums, part of the miniPlayer M6 / SL category; converting Shockwave Flash videos for the M6 can be very simple or get tricky For the simple case (the more ...

  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SWF conversion for M6 with audio : Freewares only

    converting Shockwave Flash videos for the M6 can be very simple or get tricky

    For the simple case (the more often) it is straightforward , and we do have some full --freeware solutions

    one is using any SWF freeware Ressource tool (decompiler) to extract the sound track ( generally an mp3 file ) , the second is using the Audacity audio freeware and capture the stereo mix coming from your soundcard ; since Audacity is yet also a powerful sound editor as well it is rather very easy to get a perfect duration soundtrack setting correct begin/end points ; that is a duration that simply matches the video part ...

    this one (swf animation to avi ) is also easy to get with any adhoc freeware ; Swf2Avi is a good simple candidate , for instance

    then use Vdub or any other software you are confortable with for your M6 videos

    so here is the simple SWF case (uno exotische medley btw !) :

    the SWF source : MEGAUPLOAD - The leading online storage and file delivery service
    the M6 .avi file : MEGAUPLOAD - The leading online storage and file delivery service

    (some audio capture glitches I know coming from my ...Terratec DMX6 Fire which makes me mad given its reputation ! a known bug of this sound card ; anyway the Hi-Fi aspect is not the point here )

    now the bad SWF case ...

    if we get some interactive SWF file with such kind of below action script , we are in trouble with recording the audio playback since when the SWF animation stops (at a given frame) , heck...Audacity keeps recording ! so can we use a Ressource tool and get the full mp3 audio ? not sure at all ...since it may simply not match the "animation duration" , according to the Action Script ; for instance , interactive entries getting to different sound parts upon your answer ; in the end this produces a longer sound track than the strict 'linear' duration of the animation

    not to mention that there are here even two sound tracks : a musical short one at the begining ( the vibraphone intro) and then the main dialog soundtrack

    so unless you are willing to edit furiously such SWF file ( il will take long !) you better give up , imho

    here is such a 'tricky' SWF case : MEGAUPLOAD - The leading online storage and file delivery service

    I would have loved to have the courage to edit this one for the M6, since these characters are quite funny (imho) ; it's old stuff , some 8 years ago I would say

    now , fortunately, many Flash/Swf animation are easy to transcode for the Meizu M6 , since they only feature a given number of images/frames and one sound track ; both we can extract with free softwares



    // Action script...

    // [Action in Frame 1]
    _level0/:showTotal = 800;

    // [Action in Frame 2]
    _level0/:showTotal = 800;
    getURL("../intro/loader.swf", "_level7");

    // [Action in Frame 238]
    ifFrameLoaded(800)
    {
    stopAllSound();
    gotoAndPlay(240);
    } // End of ifFrameLoad

    // [Action in Frame 239]
    gotoAndPlay(237);

    // [Action in Frame 384]
    stopAllSound();
    gotoAndPlay(400);

    // [Action in Frame 399]
    stopAllSound();
    stop();

    // [Action in Frame 1326]
    ifFrameLoaded(1623)
    {
    gotoAndPlay(1330);
    } // End of ifFrameLoad

    // [Action in Frame 1329]
    gotoAndPlay(1327);

    // [Action in Frame 1407]
    gotoAndPlay(1386);

    // [Action in Frame 1462]
    tellTarget("_level1")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1463]
    gotoAndPlay(1518);

    // [Action in Frame 1513]
    tellTarget("_level2")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1514]
    gotoAndPlay(1518);

    // [Action in Frame 1518]
    ifFrameLoaded(1652)
    {
    gotoAndPlay(1521);
    } // End of ifFrameLoad

    // [Action in Frame 1520]
    gotoAndPlay(1518);

    // [Action in Frame 1607]
    gotoAndPlay(1594);

    // [Action in Frame 1650]
    tellTarget("_level1")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1651]
    gotoAndPlay(1697);

    // [Action in Frame 1693]
    tellTarget("_level2")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1694]
    gotoAndPlay(1697);

    // [Action in Frame 1697]
    ifFrameLoaded(1825)
    {
    gotoAndPlay(1700);
    } // End of ifFrameLoad

    // [Action in Frame 1699]
    gotoAndPlay(1697);

    // [Action in Frame 1764]
    gotoAndPlay(1742);

    // [Action in Frame 1815]
    ifFrameLoaded(2103)
    {
    gotoAndPlay(1817);
    } // End of ifFrameLoad

    // [Action in Frame 1816]
    gotoAndPlay(1815);

    // [Action in Frame 1819]
    tellTarget("_level1")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1823]
    gotoAndPlay(1989);

    // [Action in Frame 1865]
    ifFrameLoaded(2103)
    {
    gotoAndPlay(1867);
    } // End of ifFrameLoad

    // [Action in Frame 1866]
    gotoAndPlay(1865);

    // [Action in Frame 1869]
    tellTarget("_level2")
    {
    nextFrame();
    } // End of TellTarget

    // [Action in Frame 1873]
    gotoAndPlay(1989);

    // [Action in Frame 1925]
    gotoAndPlay(2103);

    // [Action in Frame 1985]
    gotoAndPlay(2103);

    // [Action in Frame 2027]
    gotoAndPlay(2103);

    // [Action in Frame 2098]
    gotoAndPlay(2103);

    // [Action in Frame 2320]
    stopAllSound();

    // [Action in Frame 2324]
    stop();
    Last edited by trane; 02-28-2008 at 06:19 PM.

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe it's time to recall that you can get SWF animations on your M6 , as .avi videos, using simple (freeware ) solutions

    basically via SWF2AVI as for transforming an .swf file to an AVI image file , and either Audacity to get the audio mix of your PC card or (better) any available .swf decompiler which will extract the original .mp3 soundtrack (one, most of the time)

    then it is very straigthforward to get an .swf animation to your M6

    for instance this ad' may appeal to your kid , or even ...to you , lol

    the original site with the ad' : vente-privee.com
    direct link to swf: MEGAUPLOAD - The leading online storage and file delivery service

    (for the speedy ones here is the final .avi ! MEGAUPLOAD - The leading online storage and file delivery service )

    so here how you do :

    1) you get the .swf file from your browser cache

    2) you export it as an AVI (video only) file using SWF2AVI

    SWF AVI Convert - Free Flash to Video Batch Converter - Homepage

    here you may have to guess the better resize ratio which ends in... cropping (!) the bottom here , great ! no need to go though painful tweaking from the swf decompiler

    3) you get your soundtrack either way you favor ; you may have to tweak the appropriate duration to match any new image frame rate you favor ;
    I did this here since I used of 25fps ( could have used 20 or 30 anyway , or the orginal frame rate)

    4) the easy part : encode all this in VDub

    and here it is : MEGAUPLOAD - The leading online storage and file delivery service (800Ko)

    ( it is here a PC version, with no rotation and 25fps ; would indeed be very easy to encode it according to M6 requirements )

    guess Batman could easily add it to its features

    still ... remember that swf animations can also be complex and then a straight conversion would fail ; and getting a correct conversion can turn to some nightmare , according to the complexity of the script ; luckily many such ads' are rather simple; enjoy
    Last edited by trane; 11-26-2008 at 04:12 PM.

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts
    >> guess Batman could easily add it to its features

    oops, just thought of it and wondered why it was not yet available ; guess it has to do with getting audio out some 'easy' way ; possibly ...

    there maybe somewhere out there some obscure swf2wav !?

  4. #4
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    Hi, you revive an old topic here. I have had no luck with the audio part when I tried to find appropriate software for converting swf. If you can somehow assemble a batch that can do the trick, I can make a batman plugin out of it.
    Unfortunately, I don't have much spare time at the moment (project Daughter1.0 ..)
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.


 

Similar Threads

  1. Conversion Vidéo ...
    By Tenshije in forum French
    Replies: 16
    Last Post: 12-14-2007, 04:02 PM
  2. Video to M6 conversion
    By evad in forum General Meizu M6
    Replies: 0
    Last Post: 12-01-2007, 03:18 AM
  3. Ogg conversion question.
    By ManduChu in forum Technical
    Replies: 8
    Last Post: 11-12-2007, 08:04 PM
  4. Conversion Issues
    By delmastiff in forum Video and Imaging
    Replies: 6
    Last Post: 10-05-2007, 08:42 PM
  5. video conversion
    By wolfie12k in forum Technical
    Replies: 3
    Last Post: 09-15-2007, 08:05 PM