PDA

View Full Version : Error When trying to encode to wmv


ABOOABOO
24th May 2007, 15:07
C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU>cscript.exe "C:\program files\windows media
components\encoder\wmcmd.vbs" -input
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\program files\windows media components\encoder\wmcmd.vbs(558, 2) Microsoft VB
Script runtime error: Subscript out of range: 'intIndex2'

C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU>"C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\Audio
AndVideo.avs" -output "C:\YourMovie.wmv" -v_codec WMV9 -v_mode 2 -v_bitrate 6000
000 -v_keydist 30 -v_buffer 10000 -v_quality 100 -v_preproc 1

Thats the error message i get when i run the .bat file

Also AudioAndVideo.avs file opens in notepad!!

bluesk1d
24th May 2007, 16:10
You'll also need to post the contents of your avs file in order to troubleshoot.

ABOOABOO
24th May 2007, 19:35
video = import("C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\Video_Only.avs")
audio = import("C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\Audio_Only.avs")
AudioDub(video,audio)[/SIZE]

Directshowsource("C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\Audio_Only.GRF",audio=true,video=false)[/SIZE]

Directshowsource("C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\Video_Only.GRF", fps=23.976, audio=false,
seekzero=false, seek=true).trim(0,165992)

cscript.exe "C:\program files\windows media components\encoder\wmcmd.vbs" -input
"C:\Movies\HD-DVD\BOURNE_SUPREMACY_EU\AudioAndVideo.avs" -output "C:\YourMovie.wmv" -v_codec WMV9 -v_mode - v_bitrate 6000000 -v_keydist 30 -v_buffer 10000 -v_quality 100 -v_preproc 1[/SIZE]

foxyshadis
24th May 2007, 20:04
Don't crosspost, pick a place and a mod will move it if the problem lies elsewhere. Anyway, the fix was given in your other thread so this one is redundant.