convert quicktime to flash (swf)

January 26th, 2009
Tags: ffmpeg mencoder quicktime flash video swf ubuntu Posted in Linux :-)Say something

Used Kodak camera to shoot some video, and wanted to convert them from the .mov (quicktime format) to flash, so I can share them online easily.

I've seen somewhere that people mentioned ffmpeg can do this job, and I know mplayer is very powerful in any sense. So I decided to give it a try. However I have no luck with the mediubuntu version of ffmpeg, since I really want to avoid compiling from source. And the complain is:

Unknown codec 'libmp3lame'

So I decided to compile from souce and with libmp3lame support, with the instruction from a drupal site.

And unluckily, then I ran into the issue of "Audio resampler only works with 16 bits per sample, patch welcome". There is patch available, but not in svn yet.

So I decided just to give mencoder a try, just installed from repo, and with following command, I can happily start to work today:

mencoder input.mov -oac mp3lame -ovc lavc -srate 8000 -o output.swf

 

cvs get trunk change into branch»
«javascript document location

我要留言

5+5=