digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: Calcumatic d2v error (http://www.digitalfaq.com/archives/encode/13191-bitrates-calcumatic-d2v.html)

darkeye 01-14-2005 03:58 AM

Calcumatic d2v error
 
When I click on Source in Calcumatic and try to open my d2v file, I get the error "File is not a valid DVD2AVI file". I'm using the newest DGIndex that came with the newest Gordian Knot to make my d2v file. Does anyone know why I'm getting this error? Has anyone else had that same problem? I'd appreciate any help.

Another question, is there an updated tutorial anywhere on how to use the newest CQMatic with Tmpgenc, as in a full tutorial? Half the information on these forums is outdated, and last time I came here it took me 5 hours just to find anything new worth reading.

Thanks

rds_correia 01-14-2005 04:07 AM

Hya :),
Have you made that specific d2v project file using this specific release of DGMPGDec?
Please note that DGMPGDec is not backwards compatible!
And please check under tmpgenc>Options>environment>VFAPI that you have a DGIndex.dll registered properly otherwise it won't decode your project.
Cheers

darkeye 01-14-2005 04:12 AM

I think I'm more lost than I thought. Last time I encoded a kdvd was almost a year ago. Yes I have DGMPGDec 1.0.0 registered with tmpgenc, I just checked. As for making the file with DGMPGDec, no I didn't. I made it with DGIndex. Can you tell me what I'm doing wrong? This is the optimal script I'm using. Thanks

## DLL Section ##
#
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\grip.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("G:\Below_d2v\Below.d2v")
#
undot()
asharp(1, 4)
GripCrop(720, 480, overscan=1, source_anamorphic=true,

dest_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional

to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter(

-(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften(

fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

Dialhot 01-14-2005 04:18 AM

Quote:

Originally Posted by darkeye
I think I'm more lost than I thought.

Let's clarify the things then : Calcumatic is not compatible with DGIndex's d2v files.
But it's not a problem, you just need to enter manually the length in minutes of the movie.

No there is no guide, but there is no real difficulty either.

darkeye 01-14-2005 04:20 AM

Thanks so much, you saved me hours of pulling my hair out. What program do I need to make the .d2v file that can be read by Calcumatic, CQMatic, and Tmpgenc, so that Tmpgenc doesn't freeze on the "preparing" phase?

darkeye 01-14-2005 04:22 AM

I just saw that I'm missing the DGIndex.dll file in Tmpgenc as well. Do you know where I can find that, since I'm using the .d2v file made in DGIndex in my optimal script.

Dialhot 01-14-2005 04:23 AM

DVD2AVI 1.76 (and not 1.83) and for DGIndex.dll it is installed with the DGMPGDec package, so you should reinstall it (or see if the dll is in the DIIndex directory and copy it manually to the plugin directory of avisynth)

darkeye 01-14-2005 04:48 AM

DVD2AVI 1.76 isnt available anymore. The only thing I can find on most sites is this upgrade/update called dgmpgdec1012.zip that doesn't come with a DGIndex.dll file. Since CQmatic can only read the d2v files made with v.1.76, I'm stuck. Does anyone have a link to an older version, or a way to get this to work with this newer version that uses DGDecode.dll?

Thanks for all the help you've been giving me guys. It's appreciated.

Dialhot 01-14-2005 04:53 AM

It is still available on the official site of avisynth :

http://www.avisynth.org/warpenterprises/
(bottom of the page).

ATTENTION: There is no DGIndex.dll, the dll is named DGDecode.dll and the exe is called DGIndex.exe. That's an error from Rui that we just repeated ;-)

darkeye 01-14-2005 05:04 AM

Ok, I got DVD2AVI v.1.76 from that site you told Dialhot and made a .d2v file. When I open in it in Calcumatic I get an erroneous time of 16 minutes and some odd seconds. Then when I try to open the same optimal script in a mediaplayer I now get an error saying "Couldn't open source file, or obsolete D2V" where before it would just play.

Dialhot 01-14-2005 05:12 AM

Quote:

Originally Posted by darkeye
Ok, I got DVD2AVI v.1.76 from that site you told Dialhot and made a .d2v file. When I open in it in Calcumatic I get an erroneous time of 16 minutes and some odd seconds. Then when I try to open the same optimal script in a mediaplayer I now get an error saying "Couldn't open source file, or obsolete D2V" where before it would just play.

You have to choose beetween DVD2AVI and DGIndex because they can't work together. If you choose DVD2AVI (in order to work with calcumatic) then you must remove the DGDecode.dll file from the plugin directory.

I don't understand why you don't just type the time manually...

darkeye 01-14-2005 05:34 AM

Let me try and explain, Calcumatic isn't an issue anymore since you and Rui told me I can just type the time in manually. What is an issue though is CQmatic freezing oo the "preparing" phase. Now that I changed the dlls in avisynth from DGDecode.dll to MPEG2Dec3dg.dll, CQmatic does run through the preparing phase but then dies with an "Illegal Stream" error. I noticed that previously when I ran DGIndex to make the d2v file, it read the source as 29 frames/sec 99% FILM, on DVD2AVI it reads it as 23 frames/sec NTSC. One of them has to be wrong, and one of them has to be causing CQMatic to crash. Dialhot, what settings and dlls do you personally use to get this all to work? Am I doing something with TMPGenc? Is there some setting in the OPTIONS>Environmental Settings> VFAPI that I need to change? Change the order maybe?

Dialhot 01-14-2005 06:08 AM

Quote:

Originally Posted by darkeye
What is an issue though is CQmatic freezing oo the "preparing" phase.

Okay. This is an opened issue not resolved yet (see:http://www.kvcd.net/forum/viewtopic.php?t=15477); But perhaps this has to deal with dll version.

Quote:

it read the source as 29 frames/sec 99% FILM, on DVD2AVI it reads it as 23 frames/sec NTSC
Do you have 'force film" mode activated in both cases ? It must be.

Quote:

Dialhot, what settings and dlls do you personally use to get this all to work? Am I doing something with TMPGenc? Is there some setting in the OPTIONS>Environmental Settings> VFAPI that I need to change? Change the order maybe?
We don't care about these lines in TMPGENC because we do not read the d2v in tmpgenc, we read an avs script ! So either with no lines in tmpgenc, all is supposed to work. They are irrelevant here.

Currently I use DGIndex, so I have DGDecode.dll in my plugin directory and I removed mpeg2dec3.
In Tmpgenc I have a reference to "DMPGDec 1.00 D2V Reader" that points to the file "DGVfapi.vfp" delivered with Dgindex. I also have a line "DVD2AVI Project Reader 1.76" that points to DVD2AVI.vfp delivered with my old DVD2AVI 1.76.
I never saw that I had both lines cheked, and obviously the one for DVD2AVI should be unchecked. But everything works correctly like this.

darkeye 01-14-2005 07:10 AM

CQMatic and tmpenc error
 
Well I followed the advice and finally got CQMatic to finish the preparing phases and start tmpgenc, but when Tmpgenc starts I get the error "Illegal Stream" error. When I click OK on the tmpgenc error, instead of crashing, tmpgenc starts encoding the source normally with the standard template, instead of using the final CQ value that CQMatic just calculated. Has anyone else gotten this "illegal stream" error? Does CQMatic start Tmpgenc with the CQ values it just calculated? or is the user supposed to type in the CQ before encoding and start tmpgenc manually? How long does CQ usually take to calculate CQ, because it seems to calculate it a bit too fast to be right, takes about 1 minute at most for me.

Dialhot 01-14-2005 08:22 AM

Post your CQMatic logfile.

Prodater64 06-19-2005 08:05 PM

It is possible that Calcumatic don't support m2v files produced by last dgdecode?
I get an error, something like "bad d2v file".
I went back to dvd2avi and all is ok.

Dialhot 06-20-2005 02:45 AM

Quote:

Originally Posted by Prodater64
It is possible that Calcumatic don't support m2v files produced by last dgdecode?
I get an error, something like "bad d2v file".
I went back to dvd2avi and all is ok.

Read my first post in this thread, Pro.

Prodater64 06-20-2005 04:21 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Prodater64
It is possible that Calcumatic don't support m2v files produced by last dgdecode?
I get an error, something like "bad d2v file".
I went back to dvd2avi and all is ok.

Read my first post in this thread, Pro.

Sorry. :oops:

Dialhot 06-20-2005 04:39 AM

Quote:

Originally Posted by Prodater64
Sorry. :oops:

:lol:. You're welcome :)


All times are GMT -5. The time now is 07:27 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.