Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows Media Encoder
#1
Windows Media Encoder 9 can be controlled through the command prompt. How can this be done through QuickMacros?

Here is the example from the help file:
Quote:To encode a file
Open a command prompt window.
At the command prompt, type the path to the folder where the file Wmcmd.vbs is located. For example:
cd \program files\windows media components\encoder
Type the following command, and then press the ENTER key:
cscript.exe wmcmd.vbs –input drive:\Path\Input_file_name -output drive:\Path\Output_file_name
- or -

cscript.exe wmcmd.vbs –input drive:\Path\Input_file_name -broadcast port_number
For example:

cscript.exe wmcmd.vbs –input C:\My-clips\Myfile.avi –output C:\My-clips-coded\Myfile.wmv
- or -

cscript.exe wmcmd.vbs –input C:\My-clips\Myfile.avi -broadcast 9090
Notes

If you do not specify a file name extension for the output file, an extension is automatically appended to the file name.
Enclose file names that have spaces in quotations. For example, "my sample.avi".

How would this work in QM?

Thanks,
Jimmy Vig
#2
Also there is theWindows Media Encoder SDK...

Any information or examples on how to use this in QM?

Thanks,
Jimmy Vig
#3
did you try run?

run "C:\Windows\System32\cscript.exe" "wmcmd.vbs –input C:\movie.wmv –output C:\newmove.avi"
#4
Tried run like that. Couldn't get it to work to do anything.

There is probably too much here with this WME9 to tackle right now. I've got a lot of research to do.

Thanks,
Jimmy Vig


Forum Jump:


Users browsing this thread: 1 Guest(s)