Is there a plugin that I need to load in my AviSynth Script when the AVI file has AC3 Audio?
I have an MKV and I Re-Encoded using:
Video:lavc mpeg4 codec
Audioac lavc -lavcopts acodec=ac3:abitrate=128
Now, the AVI file that was rendered was perfect. The problem I encounter is when I drag the Avisynth Script into CCE.
<AVISYNTH>
AVISource("C:\input.avi")
LanczosResize(720,368,0,1,600,336)
AddBorders(0,56,0,56)
ConvertToYUY2()
</AVISYNTH>
I don't get an error but the number of frames and movie time shown in CCE is way short of what it should be, which always indicates an error with the AviSynth Script. Now, when I drag the AVI file into CCE, everything is fine.
Also, just for grins, I Re-Encoded the Audio using mencoder to MP3 and it worked with Avisynth:
-oac mp3lame -lameopts cbr:br=128:mode=0
What am I missing here for AVI files with AC3 Audio?
Also, I know you all will say just Re-Encode the audio to MP3 the first time, but sometimes I get errors doing that depending on how the file was Encoded. The AC3 Codec is very consistent and have not ran into any errors while Re-Encoding MKV files.
+ Reply to Thread
Results 1 to 7 of 7
-
-
Hi-
What am I missing here for AVI files with AC3 Audio?
For a better understanding of anything that might be wrong with a script, open it in VDub(Mod) to see if it's OK, before then opening the script in CCE. It'll give you a better error message. If the AC3 audio is still in the video, I suspect that's the reason.
Also, I know you all will say just Re-Encode the audio to MP3 the first time,
Is there a plugin that I need to load in my AviSynth Script when the AVI file has AC3 Audio?
http://avisynth.org/warpenterprises/files/nicaudio_20070821.zip -
Thanks for the response manono.
I want to make sure I understand you as I have a .Net Application that streamlines all of my conversions and based on what you are saying, I am going to have to change it, which fine.
I have been using CCE for about a year and when I Encode, I always use Avisynth and the AVI File always has the Audio and Video in it.
So are you saying that my AVI file should not have the Audio in it, only the Video?
If yes, I assume I would just do "-oac null" when I just want the Video and "-vo null" when I want to just get the Audio?
Also, what is the NicAudio Plugin for? I would just assume that I would just use Mencoder to Re-Encode the audio to AC3 ? -
Hi-
So are you saying that my AVI file should not have the Audio in it, only the Video?
If yes, I assume I would just do "-oac null" when I just want the Video and "-vo null" when I want to just get the Audio?
AVISource("C:\input.avi",False)
Also, what is the NicAudio Plugin for? I would just assume that I would just use Mencoder to Re-Encode the audio to AC3 ? -
(your post was a bit confusing)
first off,
install ac3acm,
then you won't have the 'problem' with cce.
nicaudio is to specifically import ac3 audio (among others) into avisynth.
you don't need it now.
not my preferred method but i'll make the minimal changes to it:
1. with mencoder use this for the video side of it
Code:-ovc lavc -lavcopts vcodec=mpeg4:vqscale=2:mbd=2:trell
several options, like vdub,
or ffmpeg for commandline
Code:ffmpeg -i input.avi -vn -acodec copy input.ac3
Code:AVISource("C:\input.avi", false) LanczosResize(720,368,0,1,600,336) AddBorders(0,56,0,56) ConvertToYUY2()
5.take elementary mpeg2 from cce, and ac3 audio from avi demux, and author. -
that was just the niggle,
i hope you took the procedural advise on board.
gl
Similar Threads
-
How to Convert AVI to DVD + AC3 with CCE and AC3Machine
By ta2 in forum User guidesReplies: 40Last Post: 21st Jan 2010, 18:01 -
Question re settings in CCE Basic
By eclipse95 in forum Video ConversionReplies: 4Last Post: 6th May 2009, 16:17 -
CCE Gui Question.
By Maikeru-sama in forum ProgrammingReplies: 1Last Post: 11th Jun 2008, 19:42 -
MKV, CCE and AviSynth Question
By Maikeru-sama in forum Video ConversionReplies: 10Last Post: 14th Jan 2008, 16:35 -
AC3 or not AC3, that's my question!
By moviebuff2 in forum Newbie / General discussionsReplies: 4Last Post: 5th Jan 2008, 09:04