[NTLUG:Discuss] Converting video to Flash (.swf/.flv)

steve sjbaker1 at airmail.net
Sat Mar 10 16:09:41 CST 2007


Hi!

  I need to convert an AVI or MPEG video into one of the flashplayer 
formats (.swf or .flv I guess) so it can be played in shockwave.

  All of the documentation seems to point to a tool called FFmpeg -
which talks about using libavcodec to do the work but it vague
about precisely which options to use.  Well mplayer/mencoder also
uses libavcodec - but I can't figure out which particular set of
command line options are going to do the job.

mencoder movie.mpg -ovc lavc -lavcopts vcodec=flv -o movie.flv

...looks like it ought to work - and but according to 'file movie.flv'
the resulting file is an AVI file - snd the flash player won't
play it.

Any clues?




More information about the Discuss mailing list