Automatically convert mpg to divx/xvid?

Discussion in 'DivX / XviD' started by blorg, Feb 21, 2006.

  1. blorg

    blorg Member

    Joined:
    Aug 1, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Any suggestions for the easiest way to batch convert mpg to divx/xvid? Ideally I would like to have something I could just point at a directory and it would automatically convert everything based on preset criteria (shrink to 512 pixels wide and encode with quality 50). Currently I am using Auto Gordian Knot which works great but requires me to select each file individually. It's for shrinking TV recordings (hardware MPEG capture card). Thanks for any replies.
     
  2. philraz

    philraz Regular member

    Joined:
    Jan 29, 2006
    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    46
    virtualdub mod using batch encode
     
  3. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    mencoder with a for *.mpg command.
     
  4. blorg

    blorg Member

    Joined:
    Aug 1, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Thanks for those tips, I'll look into them - although my previous experience using virtualdub does involve having to queue every file manually before pressing 'F7' and I'm not sure virtualdubmod is any different.

    "mencoder with a for *.mpg command" sounds pretty automated - by "for *.mpg" I presume you mean use for in a DOS batch file "for %%x in (*.mpg) do mencoder %%x -options", it's not some scripting option in mencoder itself? Thanks again for the tips.
     
  5. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,461
    Likes Received:
    0
    Trophy Points:
    66
    celtic_d I am an expert, and I don't know WTF you're talking about 1/2 the time...
    Could you perhaps elaborate on this brief, cryptic piece of advice (stir your fingers to do some typing if you're going to bother to reply) so we can all learn?
    Blorg and I are trying not to appear stupid...
     
  6. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    blorg got it already. Yeah, no internal batch processing, but being command line based it is easy enought to do. Options can be found in the mplayer/encoder docs.
     

Share This Page