Jump to content

Simple batch scripting


Recommended Posts


I want to create a batch script to run mencoder on WinXP, to convert some video files,

mencoder.exe "FILENAME.MPEG" -ovc xvid -oac copy -xvidencopts pass=1 -vf scale 512:288 -o pass

mencoder.exe "FILENAME.MPEG" -ovc xvid -oac copy -xvidencopts pass=2:bitrate=300 -vf scale 512:288 -o filename.avi

using 2-pass this script works fine, however I want to start mencoder with priority BelowNormal, but when I attach "start /belownormal" to the start of each command the batch just starts both the 1st pass and 2nd pass at the same time, So how can I make it wait for 1st pass to finish before starting 2nd?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...