converting mpg to flv in ubuntu


if you have a video file that has an mpeg extension, you can change it into flv with the following command.

jacobian@jacobian-laptop:~$ ffmpeg -i fais.MPG -ab 56 -ar 22050 -b 500 -s 320×240 video.flv

5 comments on “converting mpg to flv in ubuntu

  1. sushanth says:

    Thanks man !!!

  2. johnalphen says:

    Why do we get Big-Fish.flv: I/O error ? I’m not really sure how to get flv to work…

  3. metodos says:

    excelente!!

  4. tuzi says:

    Hey thanks for the command. Worked great.
    Modified it a bit to increase the frame size.
    Also used xargs so that every movie file in a given directory gets done.
    Cheers!

    ls | xargs -i ffmpeg -i ‘{}’ -ar 22050 -s 640×480 ‘{}’.flv

  5. gui says:

    Beside terminal use, what is the GUI alternative?

Leave a comment