| Author |
Message |
Ariel
Guest
|
Posted:
Sat Dec 17, 2005 1:30 am Post subject:
Help. I can't command-line encode! |
|
|
I must be doing something (obviously) wrong, because cmd-line encoding should
be easy, right?
But I can't get it to work.
SO, I copied and pasted from the cmd window to here:
C:\Program Files\Windows Media Components\Encoder>cscript.exe wmcmd.vbs
-input E:\MS_AVI -output E:\WMV -a_mode 2 -a_setting Q50_44_2_16 -v_mode 2
-v_quality 60 -v_framerate 29.97 -author "John Smith" -copyright "John
Smith, Inc." -description "A nice movie" -rating G
and it returns this:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Invalid parameter: -input
But, the input and output folders exist, and the input folder is filled with
avi's (with a non-proprietary codec). So, why can't I get this to work?
Thanks,
Ariel
|
|
| Back to top |
|
 |
Ariel
Guest
|
Posted:
Sat Dec 17, 2005 1:30 am Post subject:
RE: Help. I can't command-line encode! |
|
|
So,
I saved the commands as a .bat file, put it in the encoder's directory and
launched it, but I get an error saying that my .avi's are an invalid file
format. This is strange to me because I can encode them just fine from the
Windows Medie Encoder 9 program.
What am I doing wrong?
"Ariel" wrote:
| Quote: | I must be doing something (obviously) wrong, because cmd-line encoding should
be easy, right?
But I can't get it to work.
SO, I copied and pasted from the cmd window to here:
C:\Program Files\Windows Media Components\Encoder>cscript.exe wmcmd.vbs
-input E:\MS_AVI -output E:\WMV -a_mode 2 -a_setting Q50_44_2_16 -v_mode 2
-v_quality 60 -v_framerate 29.97 -author "John Smith" -copyright "John
Smith, Inc." -description "A nice movie" -rating G
and it returns this:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Invalid parameter: -input
But, the input and output folders exist, and the input folder is filled with
avi's (with a non-proprietary codec). So, why can't I get this to work?
Thanks,
Ariel |
|
|
| Back to top |
|
 |
Guest
|
Posted:
Wed Dec 21, 2005 9:30 am Post subject:
Re: Help. I can't command-line encode! |
|
|
Hi Ariel,
I encountered exactly the same issue that you did, as have many others
apparently.
The cause of this issue is bizarre, and rather hilarious, actually.
As another user wrote to this newsgroup back on Aug 29, 2004:
"Eureka. The answer is simply that en dashes (ANSI 150) have been used
in the help file rather than true minus signs (ANSI 45). Commands
copied and pasted from the help file will fail."
So, in other words, simply delete the "-" characters shown in your
command line and replace them with new "-" characters typed from your
own keyboard, and the commands should work fine for you.
I can confirm that it just worked for me.
Good luck. : )
|
|
| Back to top |
|
 |
|
|
|
|