install before: libx264 libtheora libvorbis libvpx

    git clone git://git.ffmpeg.org/rtmpdump
    http://git.chromium.org/webm/libvpx.git
    git://git.videolan.org/x264.git



    ./configure --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvpx --enable-libx264 --enable-libvorbis --enable-nonfree --enable-librtmp