Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
29th July 2007, 22:43 | #2 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
I'm not sure if this can help you, but I use this:
avs2avi one.avs -c null -q -e to execute only the SoundOut plugin without other output. The line help from avs2avi is: Code:
AVS2AVI v1.39x (c) 2002-2004: Christophe Paris, David Leatherdale, int21h, Moitah http://www.avs2avi.org/ Usage: avs2avi avs_filename [destination_filename] [switches] destination_filename is relative to avs_filename, if omitted it will be the same as avs_filename but with the proper extension. Switches: -w : Overwrite destination file if it already exists -P <passes> : Enable multi-pass encoding mode -p [0-2] : Priority (0: Idle, 1: Normal, 2: Above Normal) -s <file> : Save codec parameters to <file> -l <file> : Load codec parameters from <file> -c <4cc> : Use codec <4cc> with default settings ("null" for no recompression) -e : Exit after codec selection (for use with -s) -q : Enable quiet mode for more speed -o [format] : Output format (a: AVI (default), l: Log, n: Null) -x [a,l] : Wait until XviD status window is closed (a: for all passes, l: only for the last pass) |
29th July 2007, 22:57 | #3 | Link |
Registered User
Join Date: Sep 2006
Location: UK
Posts: 416
|
Thanks for the answer, I'll see if that's any better, I do need to run through the video though.
I realised I can do this: script.vcf: Code:
VirtualDub.Open("Z:\\New Folder (2)\\no.avs","",0); VirtualDub.RunNullVideoPass(); Although that doesn't output fps, but that not too important. Edit: Yeah using the avs2avi method doesn't run through the video. Right now I'm just wanting to use the avisynth SSIM filter. Last edited by mitsubishi; 29th July 2007 at 23:04. |
22nd July 2008, 18:25 | #9 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
http://members.optusnet.com.au/squid_80/avsutil.zip
That's the current build that I use. I think I modified it to report script errors properly. |
22nd July 2008, 18:29 | #10 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
tnx, any clues under what license that is?
( related http://forum.doom9.org/showthread.ph...53#post1161653 )
__________________
certain other member |
22nd July 2008, 18:57 | #11 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
I just uploaded the latest source code to match (http://members.optusnet.com.au/squid...vsutil_src.zip).
I think the code is simple enough to fall under public domain however the avisynth error checking may mean it has to be GPL. It doesn't rely on avisynth to run (it still works with plain avi files, although it doesn't decompress) so it's not a derived work, but it doesn't communicate with avisynth solely with the interfaces defined in avisynth.h and hence doesn't seem to fit the allowed exceptional case. Either way, personally I don't care how it is used. |
23rd July 2008, 07:17 | #14 | Link | |
Registered User
Join Date: Jul 2006
Posts: 120
|
Quote:
Code:
avs2yuv -frames 1 sd-audio.avs -o NUL Code:
DirectShowSource("sd.avi") SoundOut(output="ac3", filename="sd.ac3", cbrrate=192, acmod=2, autoclose=true, wait=0, overwritefile="Yes", silentblock=false) |
|
28th July 2008, 01:57 | #15 | Link |
Registered User
Join Date: Jun 2007
Location: Washington, DC
Posts: 130
|
Considerations for a Command Line AVS processor
I usually use HCEncoder for invoking SoundOut (or anything along those lines, something that processes a/v but doesn't create it), but only because that's the one I saw used in a sample script showing how to do it.
Question: If doesn't need the output of a script, what considerations are the for the "best" on to use? Are they all equally as fast? Roughly the same resources? I'm guessing the biggest consideration would be that the final output could be directed to null (so there's not wasted disk wriging), are there any other considerations? Tac |
28th July 2008, 02:01 | #16 | Link | |
Registered User
Join Date: Feb 2007
Location: ::1
Posts: 1,236
|
Quote:
|
|
|
|