Re: Batch encode mpeg to wmv for ppc

From: Neil Smith [MVP Digital Media] (neil_at_nospam.com)
Date: 01/19/05


Date: Wed, 19 Jan 2005 23:33:25 GMT

Well, in the SDK there are 2 batch encoders - a .NET project (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmencode/htm/batchencodingsample.asp)
and a VB command line tool (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmencode/htm/commandlinesample.asp)

Both are reasonably well documented, the command line tool does have a
/? switch which tells you the options which are supported.

Once you understand that it's just really `calling a script which runs
the encoder on your behalf`, all you need to do is set up a .bat (MS
DOS batch file), using notepad.

And on each line, put the same command but vary the input and output
file names. This should only take a few minutes to cut+paste together
once you've got the the basic technique sorted -

Just get the command line parameters (profile file, input file and
output filename) correct once to try it out, then cut/paste the lines
together, save as encode.bat (say) and type encode.bat at the MS DOS
prompt.

HTH
CHeers - Neil

On Wed, 19 Jan 2005 17:51:38 GMT, "Martin Willanger via
PocketPCJunkies.com" <forum@PocketPCJunkies.com> wrote:

>The windows media encoder serves me well for converting .mpeg to PPC friendly .wmv 320x240 res. BUT it can only convert one file at a time.
>
>As I have a lot of videofiles I am looking for a script to batch convert a folder of mpeg file into wmv ppc sizefreindly format. It is described in the WME help file how to compile one, but with my scripting skills it would probably take the better part of 2 months to compile one :s
>
>Has anyone seen such a script, available for download somewhere ?



Relevant Pages

  • Re: cmd problem
    ... Panel>add/remove programs/add utilities from my XP disk. ... Try this command, but change the X: ... Can't open input file: filename. ...
    (microsoft.public.windowsxp.basics)
  • Re: findstr, for, or other command to do this?
    ... >> thoughout the file. ... >> command gets me close but its not a unique list. ... > Input file in.txt: ... > REM Parse thru the sorted temp file and compare each ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Nero AAC encoder front-end
    ... I think this is actually an issue with Nero and Windows ME, ... I can't seem to get it to work from the command line either, ... You could try some older Nero encoder and decoder files if the ... I even put the executable in the same folder as the input file 003.wav ...
    (alt.radio.digital)
  • Re: Nero AAC encoder front-end
    ... The command prompt window simply opened and then immediately closed ... I think this is actually an issue with Nero and Windows ME, ... You could try some older Nero encoder and decoder files if the latest ones aren't working with ME. ... I even put the executable in the same folder as the input file 003.wav and ran a batch file containing the following commands. ...
    (alt.radio.digital)
  • Re: opening existing files with OPEN()
    ... was getting the program to read this format correctly. ... Command Prompt, I see both the executable AND the input file when I do ... no matching symbolic information found. ...
    (comp.lang.fortran)

Loading