+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Dec 2008
    Location: Spain
    Search Comp PM
    Hello all,
    I wonder what's the best tool to convert MPG files to AVI (encoded with DIVX or XVID) from the command line?

    thanks
    Last edited by ziptip; 19th Feb 2013 at 16:36.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    Search Comp PM
    Quote Quote  
  3. Member
    Join Date: Dec 2008
    Location: Spain
    Search Comp PM
    That's true, thanks.
    Convert to DIVX:
    "C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i in.mpg -vcodec mpeg4 -vtag DIVX -b 2500k -acodec copy out.avi

    Convert to XVID:
    "C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i in.mpg -vcodec mpeg4 -vtag XVID -b 2500k -acodec copy out.avi

    Convert to WMV:
    "C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i in.mpg -vcodec wmv2 -b 2500k -acodec wmav2 out.wmv

    (change 2500k compression bitrate according to your needs)
    Quote Quote  



Similar Threads

Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools