Re: Problems with command line encoding

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ariel (Ariel_at_discussions.microsoft.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 13:13:06 -0800

The program returns that it failed to load the profile.
Here is the text of the batch file (saved as EVMS_VLL_Batch.bat in the
encoder's folder):
cscript.exe wmcmd.vbs -wme C:\a\13.wme
cscript.exe wmcmd.vbs -wme C:\a\15.wme
cscript.exe wmcmd.vbs -wme C:\a\16.wme
cscript.exe wmcmd.vbs -wme C:\a\19.wme
cscript.exe wmcmd.vbs -wme C:\a\21.wme
cscript.exe wmcmd.vbs -wme C:\a\24.wme
cscript.exe wmcmd.vbs -wme C:\a\26.wme
cscript.exe wmcmd.vbs -wme C:\a\30.wme
cscript.exe wmcmd.vbs -wme C:\a\31.wme

Here is a copy of what my command window reads after executing the batch
file (and making no WMV's):
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\My Name>cd\program files\windows media
components\encoder

C:\Program Files\Windows Media Components\encoder>EVMS_VLL_Batch

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\13.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\13.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\15.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\15.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\16.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\16.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\19.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\19.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\21.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\21.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\24.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\24.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\26.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\26.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\30.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\30.wme

C:\Program Files\Windows Media Components\encoder>cscript.exe wmcmd.vbs -wme
C:\a\31.wme
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Loading the session (.wme) file failed: C:\a\31.wme

C:\Program Files\Windows Media Components\encoder>

So, I must be missing a simple step here.
Where am I going wrong?
Ariel

"Maxwell" wrote:

> If you have some programming experience then you could create a 'template'
> wme,
> For each avi file, search & replace the video file in the .wme & then run
> the encoding session.
> Do this until all files are encoded.
>
> If you are not into progamming,
> Once you have the wme files for each of the avi files.
> You can add the add them to a batch file and run it overnight.
>
> The batch file might look like:
> Wmcmd.vbs -wme Encode1.wme
> Wmcmd.vbs -wme Encode2.wme
> Wmcmd.vbs -wme Encode3.wme
> Wmcmd.vbs -wme Encode4.wme
>
>
>
>



Relevant Pages

  • XP MCE 2004 Despcription
    ... A current case in point is Microsoft ... Windows XP Media Center Edition 2004, ... But with MCE 2004, Microsoft did the most significant work on the TV ... and PVR (personal video recorder) sections. ...
    (microsoft.public.windows.mediacenter)
  • Re: Microsoft and CableLabs Enable HD Programming on Windows PCs
    ... Future Versions of Media Center PCs to Receive Digital Cable Programming ... Microsoft Corp. and Cable Television Laboratories Inc. announced they have reached an agreement that will allow Microsoft and PC manufacturers to bring to market digital-cable-ready WindowsMedia Center-based PCs in the holiday 2006 time frame. ... Microsoft is working closely with CableLabs to document final approval of Windows MediaDigital Rights Management as a content protection technology for OpenCableproducts that receive one-way cable content under the terms of this agreement. ...
    (microsoft.public.windows.mediacenter)
  • Re: Media Center refusing to show video
    ... I would think that Microsoft would at least chime in and say that there may ... FILES error’ in the Media Center forum. ... > It is up the OEM to guarantee that their installation is done correctly, ... > OEM and ask them for a solution. ...
    (microsoft.public.windows.mediacenter)
  • Re: Media Centre not looking very useful in the UK
    ... Media Center is a bit like a chocolate teapot :-( at least outside the USA ... Microsoft do not support DVB-S officially in either MCE 2005 or even Vista's ...
    (microsoft.public.windows.mediacenter)
  • Re: OMG, END of WMPlayer? ReAd ThIs!!!
    ... Microsoft MVP - Digital Media ... > numerous problems with the media player doesn't improve, ... > Ending Windows Media Player may help level the ...
    (microsoft.public.windowsmedia.player)