View Full Version : No audio from FitCD avs script
1576
22nd April 2003, 21:04
Hi guys, Im using the script generated by FitCD to convert a divx .avi file to dvd using cce.(converting from 23.976 fps to 25fps) The reason Im using a script at all is so that I can resize the picture. When I load the .avi into cce, I can get an audio track. When loading the avs script in however, I cant. Im presuming that the fault lies somewhere in the script itself, here it is:-
LoadPlugin("E:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
AviSource("E:\bhd\big.avi")
BicubicResize(720,310,0,0.6,6,0,564,240)
#TemporalSmoother(2,2)
AddBorders(0,133,0,133)
#Trim(0,207647).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
#== If you want this 'fix' permanently, edit the INI-file:
#== Under [AVSscript] set the CCEcrashfix-option to
#== CCEcrashfix=1
I guess what I could do is encode once with the .avi, and then again with the script, but surely there's a simpler way? The audio would be way off if I just stripped it with Virtualdub, as Im doing a framerate conversion, so can anyone give me some pointers please?
Thanks
DDogg
23rd April 2003, 19:30
Your post has many facets to it because of the different ways Avisynth and CCE inter-react with each other based upon their respective version numbers. What versions of mpeg2Dec to use, etc., It gets kinda complicated.
1> So first thing would be to ask you for the version numbers of the CCE and Avisynth programs you are using.
/edited out bad information
2> You may well find it is more effective just to do the video separately and mux in a corrected mp2. That would be considered the standard way.
Hope this helps some.
wotef
24th April 2003, 02:55
add this line for simple speedup
assumefps(25)
don't know why you get no audio, though saving the wav out from vdub and only encoding an elementary (video only) stream in cce is, as pointed out, the foolproof way
i'd use besweet/2lame for the audio
you can also sod all this and just use dvd2svcd's avi2svcd wizards
1576
24th April 2003, 10:18
Thanks for your input guys. I was originally under the impression that I had to do a framerate conversion in order for the end file to play on my standalone. Then I discovered Pulldown.exe, and that has made life very much easier!!!!!
What I find now is that I can get an mpa audio file with cce that isnt just 250MB worth of silence, using the avisynth script from FitCD. I thought that I would get fewer synch problems from doing it this way rather than extracting the wav in VirtualDub.
However, Maestro threw out a warning saying that the audio had to be decompressed to work, so it looks like Im going to have to go down the VirtualDub route in the end. No big deal, but my audio file is going to be a lot bigger, right?
By the way, Im using CCE 2.66, and Avisynth 2.08
@DDog, can you please explain what you mean by a corrected mp2? Do you mean decompressed? Which would be the application of your choice for that process? Wotef has mentioned BeSweet. Is that the way to go? Taking the wav out with VDub and turning it into a 480000kb/s mp2?
Thanks in advance. Im so near, yet so far.
wotef
24th April 2003, 14:02
well if you open the avi in vdub via the avisynth script with the assumefps(25) command inserted, avisynth will already have sped up the audio to 25fps, which you can then save out to wav from vdub, and then transcode to mpa using besweet; there will be no sync or filesize problems if you do it this way
DDogg
24th April 2003, 16:32
All I can speak to is an alternate method of encoding audio in CCE that does not require BeSweet. This assumes you have a WAV file that is in sync with your video. I can't help you with that. If the BeSweet part causes you a hassle (it is best way but a little complicated for some) you may want to try this alternate method since audio encoding via an external wave will work with AVS 2.08 and CCE 266.01.07 and is generally not known or discussed very much:
Load your avisynth script into CCE. Press the "Setting" button and a sub window will open. Double click on the file name you see there and another sub window will open. Check "Input audio from another file" and give it the path to your external wav file. Exit all sub-windows and encode normally leaving "audio file" checked.
You will end up with a MPV file and a MPA file which can be muxed with TMPG tools or BBMplex.
Again, the BeSweet method of encoding MP2 audio is preferred, but this is less complicated and can be used for a quick and simple test.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.