digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2AVI: .d2v Problems in TMPGenc (http://www.digitalfaq.com/archives/encode/9021-dvd2avi-d2v-problems.html)

dcshoekid1 04-08-2004 05:30 PM

.d2v Problems in TMPGenc
 
Ok, I posted in KVCD questions, but then found this topic.

I have a .d2v, and tmpgenc doesn't read it. It says it is an invalid format or it's an unsupported file type. I have tried numerous versions. But the funny thing is, it worked earlier, but I needed to format. Now I re-installed the EXACT same version, but now suddenly, it doesn't want to work. Anyone got any advice on this topic or if not, does anyone have any sugggestions to whom I can/could contact?

Thanks.

kwag 04-08-2004 06:14 PM

What version of DVD2AVI did you use :?:
Try 1.77.3 :idea:

-kwag

Encoder Master 04-09-2004 03:18 AM

I think 1.76 is the better choise.

kwag 04-09-2004 10:39 AM

Quote:

Originally Posted by Encoder Master
I think 1.76 is the better choise.

Actually, 1.77.3 is better, because it corrects many internal bugs and it's also faster.
I haven't used 1.76 now for about a year, and never experience any problems with 1.77.3

-kwag

Prodater64 04-09-2004 12:15 PM

I'm sorry to be repetitive, but, which is better, 1.77.3 or 1.77 dg?

kwag 04-09-2004 01:06 PM

1.77.3

Encoder Master 04-09-2004 02:06 PM

@kwag

Have you a link for this version?

@kwag again

Better Avatar. :wink:

kwag 04-09-2004 02:16 PM

Quote:

Originally Posted by Encoder Master
@kwag

Have you a link for this version?

http://arbor.ee.ntu.edu.tw/~jackei/dvd2avi/
Quote:


@kwag again

Better Avatar. :wink:
:)
-kwag

Encoder Master 04-09-2004 02:26 PM

THX, kwag. :wink:

dcshoekid1 04-10-2004 01:55 AM

Lol, I have version 1.77.3. Also, another thing has messed; it now recently stopped loadin vobs, and when I do, then press 'Ok', it freezes. But what I mainly need help on is the TMPGenc problem first. Thanks.

Encoder Master 04-10-2004 03:09 AM

Which TMPGEnc version did you have?

Perhaps go to the envirolment settings of TMPGEnc and set the d2v file reader with a higher priority.

rds_correia 04-10-2004 07:40 AM

Quote:

Originally Posted by Prodater64
I'm sorry to be repetitive, but, which is better, 1.77.3 or 1.77 dg?

Quote:

Originally Posted by kwag
1.77.3

@Kwag
I'm sorry kwag but isn't neuron2 version 1.77.3dg?
Quote:

Originally Posted by Neuron2
DVD2AVIg is baselined off DVD2AVI version 1.77.3. MPEG2DEC3dg is baselined off MPEG2DEC3 1.10

If so isn't it on the same level as 1.77.3 that you pointed us on the link.
Bottom level: is 1.77.3 better than neuron2's 1.77.3dg?
If so can you explain us why?
TIA
Cheers

kwag 04-10-2004 07:46 AM

I have never tested 1.77.3dg :!:
Because 1.77.3 has never failed on me, I never needed to try that version.
Now I ask: What does 1.77.3dg has to offer, that 1.77.3 doesn't :?:


-kwag

jorel 04-10-2004 07:47 AM

Quote:

Originally Posted by kwag
1.77.3

Kwag....correia is asking:

you swear :?:

:rotf:

rds_correia 04-10-2004 07:56 AM

From the readme.html of decodefix100.zip

Quote:

Introduction
The widely used tools DVD2AVI and MPEG2DEC suffer from serious problems, including frame loss. This can cause serious problems with audio sync and authoring with some tools. Not only that, but random frame access is not handled correctly and incorrect frames can be returned when navigating on the timeline via MPEG2DEC (and its clones).
There are three causes for the frame loss in the faulty versions.


DVD2AVI fails to flush out the final frame's digit to the D2V file before writing the 9 and closing. This causes one frame to to be lost at the end.

MPEG2DEC cuts two frames from the frame count as a workaround for 3 below. This is a kludgy hack that should not be necessary. Thus, thanks to this and 1 above, 3 frames will always be lost. They are lost at the end.

If the opening GOP has B frames before the first P frame (IBBPBBP...), then DVD2AVI generates an incorrect D2V file, in which the first digits for the orphaned B frames and some remaining digits are written out of place. Also, MPEG2DEC cannot decode the B frames prior to the first P frame, and so discards them. A number of frames will be lost equal to the number of B frames prior to the first P frame. They are lost at the beginning.
So, for example, if you edit a VOB and the resulting file has an IBBPBBP... opening GOP, you will lose a total of 5 frames, with 2 lost at the start and 3 lost at the end.

In addition to the lost frames, MPEG2DEC does not implement random frame access correctly. In fact it always throws away the first B frames in the GOP prior to the first P frame. If they are (say) frames 12 and 13 (in display order) and you try to seek to 12, MPEG2DEC will toss them and return frame 14 to you, without any warning or indication about it.

Finally, when 3 above applies the TFF/RFF flags in the D2V file are misaligned to the frames.

I have created fixed versions of DVD2AVI and MPEG2DEC3 that solve these problems. I modified MPEG2DEC to not truncate B frames prior to the first P frame and to not unconditionally reduce the frame count by two. I rewrote the decoding and random access code to work correctly with the D2V files generated by the fixed DVD2AVI.

For DVD2AVIdg, if your input stream starts with an open GOP, a message box will pop up warning you that the first few frames may not be decoded properly, but the frames will be retained. To avoid this problem, always cut your VOBs on cell boundaries. Do not make arbitrary VOB cuts with a binary splitter (such as VOBSplit).


Notes
Given a stream with an open first GOP, the correct frame count is returned and seeking works, but the orphaned B frames will be replaced with copies of the first decodable frame. That seemed the best thing to do. If the first GOP is closed, everything is perfect.
These fixes currently apply only when Save Project is used in DVD2AVIdg and then MPEG2DEC3dg.dll or DVD2AVIdg.vfp (VFAPI) is used for decoding. Future versions may add support for DVD2AVI's Preview and Save AVI features.

DVD2AVIdg and MPEG2DEC3dg are intended to be used as a pair. If you use faulty versions of either of them, incorrect and/or undefined behavior may result.

DVD2AVIg is baselined off DVD2AVI version 1.77.3. MPEG2DEC3dg is baselined off MPEG2DEC3 1.10.



--------------------------------------------------------------------------------

Copyright (C) 2003, Donald A. Graft, All Rights Reserved.

rds_correia 04-10-2004 07:58 AM

Quote:

Originally Posted by jorel
Quote:

Originally Posted by kwag
1.77.3

Kwag....correia is asking:

you swear :?:

:rotf:

No, I'm not :D
I just want to get to the bottom of it :)
I've seen so many releases available...
Imagine what newbies go through...
Maybe we can all agree on which to use/recommend.
Cheers

Encoder Master 04-10-2004 10:29 AM

@kwag

I've tested it again with the DVD2AVI Version 1.77.3 and the same results:
AviSynth 2.5x can't read the D2V File.
So I use again 1.76 without any problems. :wink:

jorel 04-10-2004 11:07 AM

one time i had problems with 1.77.3 too, don't remember details !
:?

i'm using 1.77.3dg and (more)176 d2s modified .

dvd2avi FAQ draft from hakko504 have good explanations about each version:
http://forum.doom9.org/showthread.ph...614#post267614

rds_correia 04-10-2004 12:51 PM

Quote:

Originally Posted by Encoder Master
@kwag

I've tested it again with the DVD2AVI Version 1.77.3 and the same results:
AviSynth 2.5x can't read the D2V File.
So I use again 1.76 without any problems. :wink:

Hya,
EM you could try 1.77.3dg and save the project as 1.76.
You'll find that option in the File menu.
BTW make sure you copy the Mpeg2Dec3dg.dll that comes with it to the Avisynth\plugins folder.
And be sure to delete/move all other Mpeg2Dec3.dll from that folder.
Keep only the one that comes with 1.77.3dg.
It worked for me...
Cheers

Encoder Master 04-10-2004 02:44 PM

Yes, but that's not the point.
As kwag said the version 1.77.3 works perfekt for him and not for me. :cry:

dcshoekid1 04-11-2004 09:24 PM

Ok, I think my problem is, that I changed the priority level. Its now currently at When Active - High Priority | When not Active - Idle Time Only. The version I am using is TMPGEnc-2.56.39.143-Plus-EN. If anyone know what my priority levels should be . . .

Uhhhhhh, I gots another question; when I tried to convert a DivX .avi movie file, to a .m1v | .mpg, the first 5 seconds play, but then the picture just frozen. The audio is fine, but the picture is frozen. Is it the original file, or no?

Thanks peeps, been real helpful. :D

Dialhot 04-11-2004 09:30 PM

First problem : priority has nothing to do with all reported before. So that is not the source of your problem.

Second : do you have this with all Divx or did you tried only one ?
That can be due to the codec you use on your pc to READ the mpeg1.

Note: sorry, I didn't read your problem before ! It has NOTHING to do with dvd2avi version. It' a codec matter !

You must install a YV12 codec (like Xvid) on your PC to be abble to use script with mpeg2dec3 into tmpgenc.

dcshoekid1 04-11-2004 09:37 PM

Ok, so priority didn't do anything...Gotcha. This was the first time it has done it with a DivX, but, almost ALL DivX/XviDs I use, it estimates the file size and time totally off. Even though when it's done, its not nearly what it says it is, but it still comes out WAYYYY too big.

Example: I coded a 56 min part of a film, and, 5 hours later, it came out to 650mb and 235 min. But when I started, the DivX was only 310mb. This also confused me.

Thanks for the codex advice. :D

P.S. - So you don't have any advice there on the .d2v loading? hehe, sorry, sorta tired. :cry:

Dialhot 04-11-2004 09:49 PM

Quote:

Originally Posted by dcshoekid1
P.S. - So you don't have any advice there on the .d2v loading? hehe, sorry, sorta tired. :cry:

Tired, it's true :-). Tomorrow morning, read again my advice in bold and you will see that I refer to Xvid codec to be installed to use MPEG2DEC3 ! In other words : I was actually talking about yourt D2V problem.

Let me put this black on white : an xvid codec is necessary to read a DVD source. :-D

Note : a 56 min source always gives a 56 min target or there is a big issue somewhere in your process !

Note2 : size of the target has nothing to do with size of the source. Never.

dcshoekid1 04-11-2004 09:51 PM

Yeah, much betta in B & W. Thanks, I'll try her, and let er run overnight. I'll check in tha mornig. Thanks guys!!!!

Oh, and bout the convert problem, then it must be terribly f00ked up. The size, I know, is usually never close, but I thought it was sorta . . . weird, how a 320mb file, KVCD'd (which, I was TOLD made em smaller, but kept mosta tha quality) more than doubled. I'll probably have to find a different tool, then try it again.

Dialhot 04-11-2004 10:01 PM

All is matter of settings. You can have a KVCD ten times bigger than the Divx if you want (actually, you don't you that but it's possible :-)).

The same way I have KVCDs half the size of the original Divx with the same quality.

Settings, settings, settings...

dcshoekid1 04-11-2004 10:15 PM

Ok, thanks. Do you think you could give me a URL of where I could find YV12? Cause I can't seem to find it, but maybe it's just me . . .

Dialhot 04-11-2004 10:20 PM

Quote:

Originally Posted by dcshoekid1
Ok, thanks. Do you think you could give me a URL of where I could find YV12? Cause I can't seem to find it, but maybe it's just me . . .

www.codec-download.com

The place where you go when you want to download a codec :-)
Note : YV12 ius not the name of the codec. It's Xvid the name ! Did you copy that ? ;-)

dcshoekid1 04-11-2004 10:21 PM

Heh, didn't know that such a great place would have such a simple URL. :oops:

muaddib 04-11-2004 11:31 PM

XviD-1.0-RC4 is already out: http://roeder.goe.net/~koepi/xvid.shtml

dcshoekid1 04-21-2004 10:49 PM

Ok, well, the .d2v still is making me work, but that doens't matter; I figured out how to fix that weird time problem I was talking about in TMPGenc, like when it says the time is like wayyyy off.

Example:

235 mins 10 seconds
Est. File Size - 2500mb

All you need to do, is go to Enviromental Settings > VFPAI Plug-In > Direct Show Multimedia File Reader. Its probably currently at -1. I reset it to +2, and now she tells me the right time on a DivX or XviD movie. To do this, just Right Click > Higher Priority Level. Jus do that til its at +2.

P.S. - This problem only happened, when I tried to convert a DivX or XviD movie to a KVCD/(S)VCD, DVD-/+R, etc. It didn't happen to all of them just one here or there. :D

Thanks mauddib for the XviD release!

coolitalian707 04-22-2004 11:39 AM

actually i have problem loading the .d2v in tmpgenc using dvd2avi
1.77.3 ...i also get an error sayin it is unsupported...

Encoder Master 04-22-2004 02:09 PM

With the Version 1.76 you haven't any problems. :wink:

dcshoekid1 04-22-2004 10:01 PM

Hrmm, yeah, DVD2AVI still gives me some problems, and now I can't even load vobs or anything, cause it freezes everytime. I think I'll try 1.76.

centella 06-25-2004 04:59 PM

Hi all
I use DVD2AVI 1.76 downloaded from:

http://www.dvd2dvd.org/
or
http://www.dvd2dvd.org/DVD2AVI%201.7...ine%201.05.zip

I have many problems with DVD2AVI 1.77.3 and 1.77 and 1.8x

1.76 is running for me very good...

I use AviSynth 2.5.4 and TMPGENC 2.521.58.169

Good day


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

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