Quantcast Bitrates: Calcumatic D2V Error - digitalFAQ.com Forums [Archives]
  #1  
01-14-2005, 04:58 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-14-2005, 05:07 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
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
__________________
Rui
Reply With Quote
  #3  
01-14-2005, 05:12 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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
}

#
####
Reply With Quote
  #4  
01-14-2005, 05:18 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
01-14-2005, 05:20 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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?
Reply With Quote
  #6  
01-14-2005, 05:22 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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.
Reply With Quote
  #7  
01-14-2005, 05:23 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Reply With Quote
  #8  
01-14-2005, 05:48 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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.
Reply With Quote
  #9  
01-14-2005, 05:53 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10  
01-14-2005, 06:04 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to 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.
Reply With Quote
  #11  
01-14-2005, 06:12 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #12  
01-14-2005, 06:34 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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?
Reply With Quote
  #13  
01-14-2005, 07:08 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #14  
01-14-2005, 08:10 AM
darkeye darkeye is offline
Free Member
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to darkeye Send a message via MSN to darkeye
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.
Reply With Quote
  #15  
01-14-2005, 09:22 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Post your CQMatic logfile.
Reply With Quote
  #16  
06-19-2005, 08:05 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #17  
06-20-2005, 02:45 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #18  
06-20-2005, 04:21 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #19  
06-20-2005, 04:39 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Sorry.
. You're welcome
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: Calcumatic not calculating right? The Untouchable Video Encoding and Conversion 7 06-26-2005 06:23 AM
Bitrates: Error in Calcumatic neptune Video Encoding and Conversion 1 07-30-2004 07:27 AM
Bitrates: CQMatic/Calcumatic? Blubear Video Encoding and Conversion 6 07-17-2004 08:53 PM
Bitrates: Need an introduction to CalcuMatic... muhali3 Video Encoding and Conversion 1 10-01-2003 03:29 PM
Bitrates: CalcuMatic kwag Video Encoding and Conversion 13 08-26-2003 08:04 AM

Thread Tools



 
All times are GMT -5. The time now is 12:29 PM  —  vBulletin © Jelsoft Enterprises Ltd