View Full Version : avisynth 2.56 & cce 2.50
I'm having a problem trying to load an avisynth 2.56 avs file into cce 2.50.
Here is my script (which may very well be wrong):
--------------------------------------
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
MPEG2Source("geisha.d2v")
ConvertToYUY2()
ResampleAudio(44100)
--------------------------------------
I used to use an older version of avisynth on my old system, but now that I have a new system I wanted to try an updated version (ie. v 2.56).
Whenever I try to drag the avs file onto CCE 2.50, CCE just closes. The script plays fine in Media Player Classic. I remember having similar problems when I tried using a 2.5* version of avisynth a few years ago ... which is why I switched to an older version.
Can anyone help me out?
Thanks in advance
First try using the latest DGDecode (http://neuron2.net/) version of Mpeg2Source(), this fixes many problems with older versions.
Second Avisynth 2.57 Alpha 3 (http://forum.doom9.org/showthread.php?t=110315) has some diagnostic debugging built in just for these sort of problems. Please download (http://prdownloads.sourceforge.net/avisynth2/AviSynth_220406.exe?download) and install this version and the debugview utility (http://neuron2.net/dbgv.zip).
Start debugview and set it to log to a file. Start CCE, make it crash and burn. Close debugview. Post the logfile in this thread.
Boulder
15th May 2006, 11:39
I think the crash happens because ResampleAudio doesn't work the same way that it used to a long time ago.
Try searching for the function called AddAudio, it'll fix things.
Wilbert
15th May 2006, 11:45
http://www.avisynth.org/AddAudio
alfixdvd
15th May 2006, 12:51
Try this script
LoadPlugin("C:\dvdtools\Dvd2AviDg\\MPEG2Dec3Dg.dll")
video=MPEG2Source("VTS_01_1.d2v",idct=5)
audio=BlankClip(video,audio_rate = 48000, sixteen_bit=true)
audiodub(video,audio)
ConvertToYUY2()
Hmmm, lack of audio causing the crash. Definitely someone needs to show me the log file I have asked for.
Wilbert
15th May 2006, 15:41
@IanB,
I don't have CCE 2.50, so I can't check it. But for clarity this behaviour is happening since avs v2.08 or so.
Unrelated, you also might want to try AC3ACM v1.3 when checking the multichannel stuff (in VDub) again. The older one had problems with the channel ordening:
http://forums.virtualdub.org/index.php?act=ST&f=3&t=12260
Hi everyone. Thanks for the replies. I tried to post my own reply last night to say that I solved the problem with AddAudio function (that someone has since suggested) but something happened to my connection and I wasn't able to post it for somereason.
I was able to successfully encode the file. The only thing is, my mpv file has the movie audio in it even though I set CCE not to process audio.
I don't know if that AddAudio function is what caused it, but I didn't pass the function a filename. Maybe it just used the first ac3 file in the folder with the d2v file or maybe DVD2AVIdg was set to link the audio with the d2v file somehow or something. Anyone have ideas?
Boulder
16th May 2006, 08:48
What program did you use to playback the file?
@Wilbert,
V2.08, about the time someone fixed ResampleAudio() from inventing an audio track when there was none. ;)
Possibly Audio Filter could throw an exception when there is no Audio Track. Thoughts?
Wilbert
16th May 2006, 10:52
V2.08, about the time someone fixed ResampleAudio() from inventing an audio track when there was none.
Yep. I actually meant that this behaviour happens with all avs versions, not just with avs v2.57 alpha. But i guess you knew that already.
Possibly Audio Filter could throw an exception when there is no Audio Track. Thoughts?
Makes sense :)
What program did you use to playback the file?
I was using Media Player Classic
@Wilbert,
V2.08, about the time someone fixed ResampleAudio() from inventing an audio track when there was none. ;)
Possibly Audio Filter could throw an exception when there is no Audio Track. Thoughts?
Even if the AddAudio function was automatically linking an audio file (cause I certainly wasn't passing it one), shouldn't setting CCE not to process audio prevent the outputted MPV file from having an audio track?
Seems strange.
Will I need to demux the MPV file to get rid of audio or can I load the MPV file (after running pulldown and renaming to .m2v) into scenarist even with the audio and then just load the ac3 files I want to use in the different audio tracks?
Boulder
17th May 2006, 08:51
I was using Media Player Classic
IIRC Media Player Classic will automatically play the audio file when you try playing the video if the naming is the same. So there's nothing to worry about regarding muxing.
Hey Boulder,
You were right. It seems MPC was loading the audio stream on its own. When I loaded it in another viewer there was no audio.
I do have another question. For a progressive 23.976 fps file, do I need to use pulldown on it? If so, what for?
Thanks
Boulder
17th May 2006, 19:44
If you want to use the video on DVD, you must do that.
Hey Boulder,
Thanks. Do I need enable the drop frame flag if my file is 23.976 fps progressive? Or do I only need to do that when my source is 29.976 fps interlaced?
Thanks again.
Boulder
18th May 2006, 18:23
I don't know anything about that, my knowledge of NTSC stuff is very limited..
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.