VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member spiritgumm's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Would like to edit some AVI (which are usually mpeg and mp3) with Avisynth, and keep the output in same audio/video formats. Avs2avi doesn't do audio. Virtualdubmod converts the audio to PCM. I haven't been able to get audio from the proxy mode in Avidemux (which accepts an Avisynth script).
    What do I use to get an interleaved avi from avisynth?
    Quote Quote  
  2. avisynth will decompress everything, so you have to use compression, otherwise everything will be exported as uncompressed. If you want everything in the same A/V format you have to specify that in the encoder, you also have to pass audio along in the .avs script. Type info() and it will report if you have specified audio

    You could feed your .avs script into vdub/vdubmod, but if you don't specify compression it will be PCM wav (i.e. uncompressed), same with video compression. Newest versions of avsproxygui for avidemux support audio, older versions do not
    Quote Quote  
  3. Member spiritgumm's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Oh, I see the compression option in Vdub now. I see Vdubmod has the audio filter window where you have to click on the image to get it recognized - so that works.
    My version of Avidemux is 2.52 (the newest version is 2.53), so the problem is my script not specifying audio output. I previously tried Soundout() but that doesn't connect to Avidemux. How do I specify outputting audio in Avisynth script?
    Are there other free mpeg4 encoders that would interleave the audio?
    Last edited by spiritgumm; 12th Jun 2010 at 16:41.
    Quote Quote  
  4. Neither will have audio, if you don't specify it in the script. Post your .avs script. Did you check info() ?

    I would try to get vdub working, it's a lot faster (avidemux has some weird overhead issues using the avsproxygui, and it uses a lot more memory)

    In vdub , audio=> full processing mode, audio=>compression . If you want mp3, for example, you need lamemp3 acm installed
    Quote Quote  
  5. Member spiritgumm's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I was just going to ask what I needed to get the mp3 option to go on. Downloaded the Lame mp3 codec, and to test it, I'm loading an AVI directly into Vdub, but the mp3 option isn't kicking in when I tick it. How do I get Vdub to recognize the Lame MP3 codec?

    This is my script so far, but I'll be adding a few more lines to tweak the video. I know you can add "true" to a frame-per-second filter so the audio will be in sync, but I don't need to use that filter.

    LoadCplugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    AVISource("C:\DVDs\last tycoon.avi")
    Yadif(Mode=0,Order=1)
    greyscale
    trim(6100,6500)

    Are you asking me to add INFO to make sure I have audio? If so, I don't need to, as there is audio. Vdubmod initially converted it to PCM until I clicked on the audio image thing in the filter window to get the original mp3 format.
    Last edited by spiritgumm; 12th Jun 2010 at 17:19.
    Quote Quote  
  6. Originally Posted by spiritgumm View Post
    I was just going to ask what I needed to get the mp3 option to go on. Downloaded the Lame mp3 codec, and to test it, I'm loading an AVI directly into Vdub, but the mp3 option isn't kicking in when I tick it. How do I get Vdub to recognize the Lame MP3 codec?
    What do you mean when you tick it?

    Does it show up on the audio compression list? did you right click the .inf and install?

    Are your versions matching? i.e. 32-bit os, 32-bit vdub, 32-bit lame mp3 acm ?
    Quote Quote  
  7. Member spiritgumm's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    In Vdub/Vdubmod, when you select COMPRESSION, I thought there was a checkbox next to each audio format option which you would tick to select. Anyway, I assume you're suppose to click on whichever one you want to use (which is what I meant by tick).

    The lame3.98.4.zip folder didn't have the .inf file. There is an Lame exe file, but I'm not sure how that links up with Vdub. I then downloaded the Lame GUI (LamedropXPd) and ran that, but it doesn't seem to link up with Vdub.
    Tried putting Lame_enc dl into the Vdub folder just for the heck of it, but didn't help.

    While I got mp3 from Vdubmod with an avi loaded, it will only give me PCM audio with the Avisynth script loaded.
    Last edited by spiritgumm; 12th Jun 2010 at 17:45.
    Quote Quote  
  8. it's lameACM

    there is a zip file WITHIN the zip file, you need the acm version, not the .exe (which is directshow)


    extract the 2nd zip file (lameACM-3.98.4.zip), extract the whole folder, right click the inf and install

    LameMP3 should then show up on the compression list
    Image Attached Thumbnails Click image for larger version

Name:	1.jpg
Views:	1309
Size:	109.6 KB
ID:	2253  

    Quote Quote  
  9. For future reference (if you wanted to use avsproxygui with avidemux), use the custom tab , and load your avs with audio into there (if you click show details, it will show the audio information, channels, sampling rate etc...). When it's passed into avidemux, you can press file=>information to see that audio is passed through as well. But it really is slower than using .avs through vdub
    Quote Quote  
  10. Member spiritgumm's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    For the record, I downloaded the same LAME zip twice, I guess from different sources, and the first one does not have the other zipped folders, etc. This 2nd one did, I installed it, and the Lame MP3 shows up on the COMPRESSION list (THANK YOU for the pic, I kept selecting the other MP3 option). Btw, reason I was getting mp3 from Vdubmod earlier was I had it on Direct Stream.

    As for Avidemux, I think you described what I've been doing. I run the Proxy GUI in the Avidemux folder, click on Custom, browse and load my Avisynth script, hit "Create proxy." Avidemux runs with the video loaded. In the Proxy GUI Details, there's nothing specific about audio; only what looks like video info. In Avidemux, file->info only shows video; audio is greyed out. Something's not right.

    Are there other free mpeg4 w/audio encoders?
    Quote Quote  



Similar Threads

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