Problems with MPEG2DEC
I would like to read an SVCD mpeg2 via and AVS script so as to be able to do file prediction.
The D2V can be read without problems with TMPEG using the apropiate VFAPI plugin. But when trying to load it via avisynth, I got the following error message: Unrecognized Exception! The script is very simple, and is as following: LoadPlugin("MPEG2DEC.dll") mpeg2source("crystal.d2v") If somebody can help me, I will very much appreciate it. Gaudi |
Hi Gaudi,
Try creating a .d2v from that mpeg file with DVD2AVI. Then process the .d2v as usual with a FitCD created .avs :wink: -kwag |
I could not make it work.
I continue getting the error: "Unrecognized Exception!" Might it be a problem with DVD2AVI parameters? Many thanks Kwag. Gaudi |
Re: Problems with MPEG2DEC
Quote:
|
Hi Gaudi,
Gaudi wrote: Quote:
loadplugin("C:\mpegedec.dll") and your .d2v file has no directory. Is this a typo in your sample script. :?: The script is very simple, and is as following: LoadPlugin("MPEG2DEC.dll") mpeg2source("crystal.d2v") -black prince |
Thanks.
Quote:
Quote:
Have tried moving to a folder without spaces, tried other mpeg2dec filters and still could not manage to open the file. LoadPlugin("C:\Archivos de programa\acp\MPEG2Dec\MPEG2DEC.dll") LoadPlugin("C:\Encoding\AviSynth Filters\fluxsmooth.dll") LoadPlugin("C:\Encoding\AviSynth Filters\blockbuster.dll") LoadPlugin("C:\Encoding\AviSynth Filters\legalclip.dll") LoadPlugin("C:\Encoding\AviSynth Filters\sampler.dll") Mpeg2Source("C:\Documents and Settings\Gaudi\Escritorio\Pruebas KVCD\Cristal\crystal.d2v") LegalClip() LanczosResize(512,446,0,6,480,564) FluxSmooth() Blockbuster(method="dither", variance=.5, seed=1) Blockbuster(method="sharpen", detail_min=20, detail_max=90, strength=7) AddBorders(8,17,8,17) AssumeFPS(23.976) LegalClip() Sampler(length=24) ## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ## version() It is very unconvenient for me, because without the avs sript I cannot apply filters nor do file prediction beforere encoding. Any help will be welcomed. Many thanks. Gaudi |
Two questions:
1) Does the error message state any line where the unrecognized exception occurs? Avisynth usually does this. 2) Why do you add 17 pixel borders? I think you should resize to 512x448 and add 16 pixel borders. |
Quote:
|
@Gaudi,
Gaudi wrote: Quote:
try commenting out script commands leaving just: LoadPlugin("C:\Archivos de programa\acp\MPEG2Dec\MPEG2DEC.dll") LoadPlugin("C:\Encoding\AviSynth Filters\fluxsmooth.dll") LoadPlugin("C:\Encoding\AviSynth Filters\blockbuster.dll") LoadPlugin("C:\Encoding\AviSynth Filters\legalclip.dll") LoadPlugin("C:\Encoding\AviSynth Filters\sampler.dll") Mpeg2Source("C:\Documents and Settings\Gaudi\Escritorio\Pruebas KVCD\Cristal\crystal.d2v") If you get an error or exception then the problem has to be with DVD2AVI. Check the version for DVD2AVI and if it's not 1.76 then get this version :) -black prince |
The error is in line 7.
For sure the problem is with DVD2AVI, because if I strip all the other lines from the script, I still get the same error. The addborders has an odd size because it is a test, not the final I use for encoding. I tried it because of kwag suggestion of using FitCD to create the script. If remember, the version I am using is 1.77 (could that be?). Will check and if so will go back to ver 1.76. Many thanks. Gaudi |
Quote:
Your problem is probably DVD2AVI related. I've noticed that v1.76 is the only one to use. |
Quote:
|
Solved!!!
Finally solved the problem.
I downloaded several versions of DVD2AVI as per Boulder suggestion: Quote:
Quote:
Created the .d2v with this older version and everything is fine now. Many many thanks. Gaudi |
Re: Solved!!!
@Boulder
Quote:
|
How can we do that?
Quote:
Or should I send him an e-mail reporting the problem? |
Quote:
I'm sure dividee already knows about this but as it's considered a well-known bug, it seems that it's of low priority on his todo-list. Might be worth asking though. |
Quote:
Quote:
|
Ok, I will then continue using v1.76.
For that matters is the same. Many thanks. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.