PDA

View Full Version : How to: AVS > WMEncoder -the commandline way


squadjot
26th April 2009, 16:35
Hi!

I'd like to be able to encode WMV through AVS scripts, but WMEncoder dos not take AVS as input.. =/

I found NicsWMEncoder wich seems to take AVS, but gave me an eror with a very simple AVS, secondly it does not support commandline.

So, is there a good way to do it?

Dark Shikari
26th April 2009, 16:38
wmcmd.vbs

squadjot
27th April 2009, 00:35
That's odd, i cannot convert a AVS with that!..it works with avi.

The error that the script returns:
Prepare to encode failed with error -1072882832 Cannot find a valid output stream from the source.

I tested the AVS in payer and works.. and i use complete paths in all cases.. (as said; if i swith sfile parameter to avi instead, it works.)

I also tried to enable/disable ffdshow..

buzzqw
27th April 2009, 08:08
create a "fake avi" with your avs script, using "makeAVIS.exe" (check your ffdshow installation folder)

BHH

squadjot
27th April 2009, 14:09
Thanks for sticking with me =)

Oke, MakeAvis, i will check that out when i get home..

Questions:

1. "Fake" - i suppose it does not require encoding?
2. makeAVISs is commandline friendly?

buzzqw
27th April 2009, 14:22
1) yes, no reencodoing , it will create an avi of few kb
2) yes
MakeAVIS options:
-i <file> Input AviSynth script
-v <file> Output video file (- = stdout)
-a <file> Output audio file (- = stdout)
-c <int> Colorspace (0:YV12/1:YUY2/2:YVYU/3:I420)
Default: original (4:RGB555/6:RGB565/7:RGB24/8:RGB32)
-f <int> Interlacing (0:Interlaced/1:Progressive), default: original
-p Store PCM uncompressed audio
-s <int> Store script: 1:by filename inside script/2: in output file
-V Write progress info

BHH

squadjot
27th April 2009, 14:46
buzzqw > thanks..

You might be the one solving my problems for good =)

I will definately try this out!

buzzqw
27th April 2009, 14:51
hope the best :)

BHH