Creating an swf animation with MorphOS
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi all,

    I need to create an swf animation, if possible under MorphOS. I would like transform e. g. an
    avi video to swf.

    Has anyone experience with this and could help me? Are there any tools to do this?

    Any help will be very much welcome.

    Regards

    Christoph
  • »15.01.09 - 19:31
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    roschmyr
    Posts: 207 from 2003/2/20
    From: Oberhausen/Ger...
    @rms

    try mencoder

    mencoder -ofps 15 -of lavf -oac mp3lame -lameopts abr:br=22 -srate 22050 -ovc lavc -lavcopts vcodec=flv:keyint=50:vbitrate=80:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=320:240 "inputfile" -o "outputfile"
  • »15.01.09 - 20:06
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    @ roschmyr

    Thanks for help! I tried your solution but I only get audio, no video, the shell output is:

    ** MUXER_LAVF *****************************************************************
    REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
    INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
    will play these INCORRECT files as if nothing were wrong!
    *******************************************************************************
    OK, exit.


    and then it skipps the frames :-( The result is a file with only audio.

    Any idea?
  • »15.01.09 - 21:05
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    roschmyr
    Posts: 207 from 2003/2/20
    From: Oberhausen/Ger...
    i tried an avi and it works(tm) ;)
    do you have the latest version installed http://fabportnawak.free.fr/mplayer/
  • »15.01.09 - 21:13
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Yes it seems that I do have the latest version, it's the one from the MPlayer-1.0-svn-2008.12.15.lha
    archive which states: MPlayer 1.0 (08.12.2008) [SVN:28114]

    Do you have another version?

    Do you also get the "MUXER_LAVF" shell output?

    Did you try to play the file with FlashPlayer http://aminet.net/gfx/show/FlashPlayer_mos.lha
    or MPlayer?

    With Flashplayer I only can hear the sound but there are on video.

    I need to create a swf which must be playable by a standard swf player on PC. The swf is used for
    an internal video channel.

    I'v got an example what I need to create which is playable by Flashplayer and flash movie info is:
    - frame size is 728 x 576
    - frame rate is 25 / sec.
    - Flash Format Version 6
  • »16.01.09 - 07:38
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    I encoded a mpg video to flv using MenGUI
    and all works fine. I used an old mencoder version and the latest without any problem.
    To see the flv video I used MPlayer itself.
    I even tried to encode a swf video but the resulting file couldn't be read neither with MPlayer nor with FlashPlayerMOS.
    I didn't try any parameters configuration... I'm not so able, sorry... So I suppose it's not a mencoder problem..
    But if you need a flv video MenGUI goes great!
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »16.01.09 - 08:12
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Quote:


    Jambalah wrote:
    To see the flv video I used MPlayer itself.



    This IS the problem! MPlayer plays it ok but Flashplayer doesn't! I need a file which
    plays everywhere without problems.

    And yes I also tried an mpg video as well as avi, both encode ok but seem not to be playable
    by the Flashplayer.

    I also tried older software, like swftools-0.4.4 and his "avi2swf" but it seems not to work
    under MorphOS...

    Any other idea?
  • »17.01.09 - 08:58
    Profile Visit Website