Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Converting Video files in Linux

    To start with you would need to install "ffmpeg". This program allows you to convert any video or audio file to what you want it to be.

    If you have Debian then you would type in the root terminal :

    apt-get install ffmpeg

    After installing that you will need to plan what you want to convert and what format you want to convert it to. This program is command line and not graphical so you would need to open up your terminal.

    so you need to let the system know that you want to run that program so you would type in: "ffmpeg", then you need to give it the command to run its duty so you put in "-i". Then you give in your input starting with "/home/", then your output starting with "/home/" again.

    so this is how a example command line will look:

    neel:/home/neel# ffmpeg -i /home/neel/Desktop/Famguy/part6.flv /home/neel/part6.avi

    note: I have the file format I inputed and the file format I want to output.

    Punctuation is important, if you miss spell or have a capital where its supose to be lowercase, it will not work.

  2. #2

    converting flv to avi

    Another way to convert would be using this code:


    if [ -z "$1" ]; then
    echo "Usage: $0 {-divx|-xvid} list_of_flv_files"
    exit 1

    # video encoding bit rate

    while [ "$1" ]; do
    case "$1" in
    MENC_OPTS="-ovc lavc -lavcopts \
    vcodec=mpeg4:vbitrate=$V_BITRATE:mbd=2:v4mv:autoas pect"
    MENC_OPTS="-ovc xvid -xvidencopts bitrate=$V_BITRATE:autoaspect"
    if file "$1" | grep -q "Macromedia Flash Video"; then
    mencoder "$1" $MENC_OPTS -vf pp=lb -oac mp3lame \
    -lameopts fastreset=standard -o \
    "`basename $1 .flv`.avi"
    echo "$1 is not Flash Video. Skipping"


    copy and paste it to your text editor and save it as "", This will only convert flv files. I found this code made by some guy through shell scripting. I have not used it but it can get quite handy. Save it to the command directory, which is usually "/usr/local/bin". But could be different in other PC's.

  3. #3
    what about from recorded tv? dv-rms files?

  4. $spacer_open
  5. #4
    Go for Avidemux video editor

  6. #5
    You can also try WinFF a GUI for ffmpeg which automates the procedure of video files convertion in Linux. Check here.

    How to convert any video format in Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts