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?
+ Reply to Thread
Results 1 to 11 of 11
-
-
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 -
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.
-
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 -
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.
-
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.
-
-
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
-
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?
Similar Threads
-
avisynth to fade audio but not video
By adom in forum Video ConversionReplies: 9Last Post: 5th Oct 2011, 15:51 -
How to join 2 avi files into one? together with Audio with avisynth + megui
By squall0833 in forum EditingReplies: 7Last Post: 11th Jul 2010, 09:47 -
Video/audio not synced problem. (Avisynth)
By michcio in forum AudioReplies: 0Last Post: 18th Jan 2010, 12:43 -
Trimming the audio to go along with the video cuts in avisynth?
By mt123 in forum Newbie / General discussionsReplies: 0Last Post: 10th Jan 2010, 03:23 -
Avisynth stackhorizontal Audio possible from the RIGHT video?
By dererik in forum EditingReplies: 3Last Post: 19th Jul 2008, 10:47