View Full Version : Avisynth piped to Enc_aacplus.exe StdIn
UltraTV
28th November 2007, 21:27
What would be the command line argument to pipe PCM from avisynth to the stdin input in encaacplus? BeHappy generates the following:
enc_aacPlus.exe - "W:\Output.mp4" --rawpcm 48000 2 16 --mp4box --cbr 160000 --lc
Writing PCM data to encoder's StdIn
which uses the - to denote stdin. My assumption is that avisynth needs to be inserted before the enc_aacPlus.exe, however, I can't find any documentation for avisynth command line usage.
squid_80
29th November 2007, 04:31
I think you need to search for avs2wav.
tebasuna51
29th November 2007, 12:26
What would be the command line argument to pipe PCM from avisynth to the stdin input in encaacplus? BeHappy generates the following:
enc_aacPlus.exe - "W:\Output.mp4" --rawpcm 48000 2 16 --mp4box --cbr 160000 --lc
Writing PCM data to encoder's StdIn
which uses the - to denote stdin. My assumption is that avisynth needs to be inserted before the enc_aacPlus.exe, however, I can't find any documentation for avisynth command line usage.
AviSynth is not a executable, need a host soft like VirtualDub, mplayerc, BeHappy, Bepipe, Wavi ... (avs2wav never work for me).
For command line usage (pipe) I recommend you Wavi (http://sourceforge.net/projects/wavi-avi2wav/).
You can use:
wavi "W:\input.avs" - /R | enc_aacPlus.exe - "W:\Output.mp4" --rawpcm 48000 2 16 --mp4box --cbr 160000 --lc
if you know the avs output is PCM stereo 16 bit 48000 Hz.
Maybe more easy with data (48000 2 16) in PCM header:
wavi "W:\input.avs" - | enc_aacPlus.exe - "W:\Output.mp4" --mp4box --cbr 160000 --lc
UltraTV
30th November 2007, 02:37
You guys are awesome. I'll play around with it tomorrow and let you know how it goes.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.