VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Sep 2012
    Location
    United States
    Search Comp PM
    Is there any way to encode AAC audio from an Avisynth script that just contains Avisource("clip1.avi")++Avisource("clip2.avi") with PCM audio? I'm trying to make a script to automatically encode and combine fraps files, however the audio part is what I do not get.
    Quote Quote  
  2. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    A scripted way?
    I use wavi to stream audio from AVS files to Aften to encode AC3, like this:

    Code:
    for %%I in (%1) do (
    wavi %%I - | d:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3
    )
    (the %1 is the avs filename)

    Get wavi at http://sourceforge.net/projects/wavi-avi2wav

    I assume you could use ffmpeg to encode to AAC, it seems to do everything.

    You could just use wavi to make a WAVE file and then convert that if you prefer, though I think streaming is more efficient.
    Quote Quote  
  3. Or save (export) audio from Virtual Dub as wav then use any aac encoder You like to create aac file - later You can mux video with audio to required/proffered container
    Quote Quote  
  4. Member
    Join Date
    Sep 2012
    Location
    United States
    Search Comp PM
    Wow... why did I not think of using virtual dub... thanks!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!