lame -h input.wav output.mp3

       -h     Use  some quality improvements.  Encoding will be slower, but the result will be
higher quality.  The behaviour is the same as the -q 2 switch.
              This switch is always enabled when using VBR.

ffmpeg -i input.wav -ab 64 -ac 1 -ar 44100 output.mp3
Note that the output detailed format is MPEG Layer II.

ffmpeg -i input.wav -ab 64 -ac 1 -ar 44100 output.flac

 Audio Options

       -ar freq
           Set the audio sampling frequency (default = 44100 Hz).
       -ab bitrate
           Set the audio bitrate in kbit/s (default = 64).
       -ac channels
           Set the number of audio channels (default = 1).
       -an Disable audio recording.

       -acodec codec
           Force audio codec to codec. Use the "copy" special value to specify that the raw codec
           data must be copied as is.

2007/10/12 - [computer/linux] - How to convert wmv to flv with ffmpeg and embed in my web site.

posted by citadel
# apt-get install ffmpeg

#  ffmpeg
-i input.wmv -s 640x480 -ar 44100 -b 96 output.flv
ffmpeg -i input.wmv -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 -an output.avi
ffmpeg -i out.ogg -s 1280x764 out.flv


ffmpeg is found in the .

download jw_flv player at

  • copy flvplayer.swf in a directory. (for example
  • should check their pemissions. (755)
  • include the embed code or script code as

more..embed code


more.. script

posted by citadel