Log in

View Full Version : IfoEdit v0.85 (Angle and Tmpg enhancement)


Derrow
1st February 2002, 19:53
Finaly here's a new Version.

-added: Angles can be removed now with IfoEdit!

-added: New Button: 'Create Tmpg T.'
This will create a template file for the use with TmpgEnc.
It is a .txt file, that will contain the GOP Sequence/Pictures structure of the original movie-vob-files.
So you should be able to transcode a DVD with Tmpg, and it should create a m2v file, with the origianl GOP structure, the could be remuxed with IfoEdit. (This one is beta, please test it).
There might me problems, if a movie containes progressive frames, so we must check this out.

-fixed: small bug in remux-function. Frames has been counted wrong on interlaced movies, what resulted in a stuttering VOB file.
Remux works now for interlaced movies too.

kheops
1st February 2002, 21:31
hi,

this program is really impressive
bravo

+++

vwo
2nd February 2002, 00:19
Fast work as always, Derrow.

Will be trying it out tonight and report in the morning.

GlenC
2nd February 2002, 01:20
Is there any chance of someone publishing a guide on how to use this feature in conjunction with tmpenc?

Thanks

Glen.

Taxidermista
2nd February 2002, 03:50
I have loaded VTS_02_0.IFO from "Matrix" and went to VOB Extras window. Angles options (Remove Angles and Keep Angle) are both disabled. How does it work?

Chumboy
2nd February 2002, 05:19
i'm doing matrix vob_2 now using new ifoedit...i could only check the remove option, the adjust option was grayed out...unselectable.

_____________

ifoedit is doing it's thing now...let you know.

_____________

ifoedit is done, but can't finger out how to get .txt into TMPGEnc. It seems to want a .mcf file as a template. I tried dragging and dropping the text file everywhere no tmpge, no luck.

derrow?

vwo
2nd February 2002, 10:20
@Derrow

Hi, Derrow... doing a test run with a couple of smaller .vob's (only 2 files)...
got the .txt file generated by ifoEdit and inputted it into tmpeg - problem! - seems like tmpeg is not letting me add beyond 32735 pictures (the movie that I am using has 36344 - when trying to add beyond this, I get a message that I can't add any more pictures)...

would you know anything about this?

@everybody - anybody knows a work around? is this a restriction of tmpeg? or am I doing something wrong?

ags
2nd February 2002, 12:21
Hi,
same problems that vwo, after waiting a lot TMPG stops, and the same message, in same frame 32735. I tried with more than one movie. Seems to be a limitation of listbox used in TMPG to load the template file.:(

MickeyNBK
2nd February 2002, 14:37
Has anyone figured out how to just remove the additional angles? I am trying to strip down Father of the Bride 2 (a Touchstone/Buena Vista/Di$ney) title. I have tried selecting "remove angles" and letting it do it's thing but the angles are still there. Since it's a Buena Vista title it has alternate opening and closing credits in English, French and Spanish. Also I think they have all of the extra features imbeded somewhere in the main movie VOB files.

GlenC
2nd February 2002, 20:49
I have tried the tmpgenc extract and it works fine under xp. Could this be an operating system problem for you guys that are having problems?

Cheers

Glen.

rmtaibo
2nd February 2002, 23:45
Maybe your vob file contents 2 mpeg files.

So directshow filters will open only the first part of the vob file in TMPGEnc, so your problem is not related to ifoedit txt file.

Maybe the second part of vob file is a blank screen intro or a company logo presentation (i.e.: disney, warner or dreamworks logo)...

Sometimes I'm unable to use TMPGEnc to encode vobs that contains movie extras like Making of... and other stuff in the same vob.

PD:
Doom9 suggestion: Use DVD2AVI project and load it into TMPGEnc
http://forum.doom9.org/showthread.php?s=&threadid=15727

Equinoxe
3rd February 2002, 08:44
Love your work derrow!! :)

New version 0.85b works like a charm on multi-angle dvds, removes the unwanted angles and gets the movie onto a dvd-r.. tried with unbreakable and worked fine.. just a matter of clicking remove angles and all was sweet.. thanks again.. going to try out the tmpg later with spykids

Eq

ags
3rd February 2002, 10:55
Yep, I tried under W2k and TMPG worked fined,
now I've another problem, the .m2v file was good but after remuxed,
the movie isn't synchronized, and PowerDVD starts playing in a fast speed!

GlenC
4th February 2002, 00:48
Hi Derrow,

First things first, thanks for the excellent program, it's getting better all the time.

Now for the question, whats the deal with progressive movies and the new tmpgenc feature, is it a case of setting force film in dvd2avi, then setting the 3:2 pulldown on playback within tmpgenc?

Does IFoEdit report the gop structure as 23.976, or 29.97?

Has anyone tried this new feature with different types of ntsc encoded movies?

Cheers

Glen.

Derrow
4th February 2002, 11:14
Originally posted by Taxidermista
I have loaded VTS_02_0.IFO from "Matrix" and went to VOB Extras window. Angles options (Remove Angles and Keep Angle) are both disabled. How does it work?

Matrix does not contain angles! I don't know why people came up with the idea, Matrix should have angles. There aren't any, at least not in R2 version.

So, if IfoEdit doesn't find angle-information in the IFO file, then all Angle-options are dissabled, except for 'Remove Angle pointers'.

So if you ripped the DVD with just one Angle, you are still able to remove Angle-pointers out of the VOB files, but of course adjusting them is not possible anymore.

Derrow
4th February 2002, 11:17
Originally posted by Chumboy

ifoedit is done, but can't finger out how to get .txt into TMPGEnc. It seems to want a .mcf file as a template. I tried dragging and dropping the text file everywhere no tmpge, no luck.

derrow?

The created Template-file, is not the normal 'Template' for Tmpg.

It's a txt-file that must be loaded in Tmpg->Mpeg-Settings->GOP Structure -> Force picture type setting.

Derrow
4th February 2002, 11:24
Originally posted by GlenC

Now for the question, whats the deal with progressive movies and the new tmpgenc feature, is it a case of setting force film in dvd2avi, then setting the 3:2 pulldown on playback within tmpgenc?


I'll try to explain the proplem I have with progressive movies.

Lets say we have a GOP that sais it has 12 frames. In a normal movie, when I count them, I'll get 12 frames, like:
IPBBPBBPBB...

So I can create this template file for Tmpg as follow:
1,I
2,P
3,B
4,B
5,P
and so on..

But if it has progressive frames and I count them, I'll only get for example 10 frames instead af 12, cause 2 pictures are repeated.
So I am not sure how to produce this txt-file for Tmpg.
We will have to test this out.

Derrow
4th February 2002, 11:26
Originally posted by vwo
@Derrow

Hi, Derrow... doing a test run with a couple of smaller .vob's (only 2 files)...
got the .txt file generated by ifoEdit and inputted it into tmpeg - problem! - seems like tmpeg is not letting me add beyond 32735 pictures

Damn it. I thought so, this might be a problem.
In that case we could try something else. I'll write only I and P frames into this txt-file, and leave the B-frames away.
That might be a chance.

GlenC
4th February 2002, 11:52
Hi Derrow,

I tried to rip american pie 2, which is a progressive movie. I got IfoEdit to dump the tmpgenc text file, and it had x frames. I then used dvd2avi to save the project with force film, this produced an avi with less frames in than ifoedit produced information for.

I did the same movie in dvd2avi again, only to find dvd2avi produced a movie with far more frames in. In both cases none of the I frames matched up to where they should be.

Maybe your idea about only outputing I and P frames will work, who knows, or maybe in you just dump out of the vobs what you see, ignoring the gop stucture. So in your example output the gop as 10 frames and not 12 as expected.

It's just such a pain that tmpgenc takes nearly an hour to import this file.

Doesn't rempeg display all the gop information when it parses a file. If that works correctly, why not compare your output file with the information displayed by rempeg? Would that work?

Glen.

Derrow
4th February 2002, 12:42
I added now the option to the button 'Create Tmpg T.', where you can select which type of frames should be written to the txt-file.

Stupid, I didn't that earlier.
Here you go now m8tes

GlenC
4th February 2002, 13:32
Hi Derrow,

Quick update on the new version, I've just redone American Pie 2, outputing only I and P frames, Forced film in dvd2avi, and all the I frames now match up with the scene changes. They never used to before.

Good news indeed, now I've only got to wait 16 hours for tmpgenc to do the encode to ensure everything is in sync when I remux the audio back in again!

Will keep you informed....

Many Thanks

Glen.

Derrow
4th February 2002, 14:35
@GlenC

Ey great to hear that. Thank you for the quick report.
Sounds good then so far.

If it doesn't work that well, then I'll quickly implement a new option to do a different counting for progressive frames.

GlenC
5th February 2002, 13:10
well American Pie is totally in sync using the new version, I used ifoedit to extract the i/p info, then used tmpg to re-encode the movie down to 2gig, so that I can fit 2 movies onto 1 dvdr. Works a treat!

Moved onto the next movie, the animal, unfortunately this doesn't work. This dvd has a few interlaced frames at the start, before it runs the rest of the movie in progressive. The I and P frames in this movie do not match up with the scene changes etc.

Anyone have any ideas on what to do with this...Is there any way of chopping out the interlaced frames at the start, ensuring the ac3 and progressive frames stay in sync?

Cheers

Glen.

GlenC
5th February 2002, 14:22
Some more information,

Rush Hour 2 is the same as the animal, it has a few interlaced frames at the start. The I frames do not match on this movie either.

If I go to the last frame according to tmpgenc its 129540, however in the I frames list produced by ifoedit, the movie has 129595, a difference of some 55 frames. This is probably the length of the interlaced frames at the start.

Still looking into it...

Glen.

Derrow
5th February 2002, 14:54
I see, thanx for the report.

Then I'll quickly modify my frame-counting routine to fix that problem.

Derrow
5th February 2002, 15:10
Here's it now with a slight modification for interlaced sequences.

Please try that one.

GlenC
5th February 2002, 15:37
Hi Derrow,

Tried the new version, exactly the same problems, it ifoedit reports 129595 as the last I frame, tmpgenc reports 129540 total frames. Bitrate viewer reports 129597 frames.

Dont know why tmpgenc is showing less frames, unless it is skipping the interlaced section at the start.

Don't really know where to go here, will the ac3 be still synced correctly if the interlaced frames at the start are removed?

I will look into this further, see if I can throw any more light onto the subject.

Thanks

Glen

Derrow
5th February 2002, 16:00
Strange, if IfoEdit reports now the same Frame-count as before, then it doesn't seem to contain interlaced frames.
I guess it must be something different.

Does this front-part have a different VOB-ID ? Then you might could strip it out.

GlenC
5th February 2002, 17:07
Hi Derrow,

Showing my newness to all of this, how do I tell if there are 2 vob id's involved, I did go to vob extras, selected stripvobID's and rebuildpts

1) go to next screen select to keep ac3 audio, remove subcode picture
2) next screen shows 2 vodid's, select vobid 2 to keep, hit the strip button, 2 seconds later an exception occurs and ifoedit closes down.

AppName: ifoedit.exe AppVer: 0.8.5.0 ModName: ifoedit.exe
ModVer: 0.8.5.0 Offset: 0002d520

Glen.

Derrow
5th February 2002, 17:14
Shit, so still a bug on stripping the first VOB-ID.

But most movie's do have 2 VOB-ID's. The second VOB-ID indicates the layer-break on the DVD.
So I don't think, that the first part hast got it's own VOB-ID, so you can forget to strip it away, if it only has 2 VOB-IDs for the whole movie.

GlenC
5th February 2002, 17:28
ok,

So it's not a vobid that is causing the problems. DVD2AVI definately jumps for interlaced to progressive as the studio logo comes onto the screen.

Looking at the vob in bitrate viewer, shows the following info

Gop no.,Timecode,Pic n.,Pictures,Closed,Broken l.,Has SeqHdr,Offset
1,01:00:00.00,1,I,Yes,No,Yes,0000096
2,01:00:00.00,12,IPBPBBPBBPBB,Yes,No,No,0000872
3,00:00:00.00,12,IBBPBBPBBPBB,No,No,Yes,001a1fc
4,00:00:00.00,12,IBBPBBPBBPBB,No,No,Yes,00474f7

Notice how the timecodes jump at the start, could this be a part of the problem?

Glen.

Derrow
5th February 2002, 18:04
Looks weired. Most times Studio-logos have an own VOB-ID.
Did the VOB-ID change in DVD2AVI after the studio-logo was displayed?

But you could try to strip the Studio-logo away with vstrip, by specifing a start and end lba.

First you must identify at which lba the movie vob-unit starts. VobEdit might help.
Then just using this as start-lba, and you can get rid of the logo for the transcoding process.

GlenC
5th February 2002, 23:02
No, the vobid stays the same. Two movies I have tried are identical, The Animal, and Rush Hour2, both from different studios, both have 2 seconds of interlaced movie, then the main movie is progressive!

Has no one else tried this? or am I the only one.

I am going to see if I can work out an offset value, ie match up a few scene changes, to see if I can pick up the I frame offset value, then see where that takes me.

Derrow, do you not have any of these two ntsc movies?

Glen.

Derrow
6th February 2002, 11:41
No, I'm sorry I don't have them.
I only can get PAL movies, but these two aren't released yet in Europe as PAL version.

GlenC
6th February 2002, 12:07
Ok,

Having done quite a bit of research on 'The Animal' last night I have come to the following conclusions

Number of frames in movie 119752. This is reported by bbvinfo and bitrate viewer.

This consists of 326 Interlaced frames, and the rest progressive. The interlaced frames are spread throughout the movie.

IfoEdit generates data for 119752 frames, which appears to be the correct number of interlaced and progressive frames.

DVD2AVI only generates 119681 frames when in force film mode, 149601 when in non forced film mode.

Obviously there is a difference of 72ish frames between dvd2avi and the true number of frames within the mpeg file. This is causing the problems.

Are these random insertions of interlaced frames inserted by movie studios, to throw our sync out?

I think we need to find out which frames are delivered by dvd2avi in order to get the problems sorted!

Anyone got any ideas? Is there another way of frameserver except for dvd2avi?

Cheers

Glen.

GlenC
6th February 2002, 12:21
btw, I'm using 1.76 of dvd2avi by loli.j haven't looked at any of the other versions yet to see if any of them work any better.

Glen.

malzahn
7th February 2002, 04:19
@ GlenC

>Obviously there is a difference of 72ish frames between dvd2avi and the true number of frames within the mpeg file. This is causing the problems.

don't think so. Yesterday I reencoded a film and noticed that Tmpeg missed some frames,too (orig: 163635, Tmpeg: 163434), but these frames
are missing at the end of the film and I have no sync probs at all. It seemes that Tmpeg causes the missing frames , not dvd2avi. I converted the d2v file to a pseudo avi with vfapi and loaded it into CCE to compare the indicated frames and yes,dvd2avi is missing some frames, but only 2 frames at the beginning and one at the end ( this seemes to be a bug in dvd2avi, two ore three frames were missing in all my earlier projects created by dvd2avi). Why do I know this ? What I did was to rip the original film and the new one created by ifoedit again with smartripper in moviemode, because smart ripper creates a *.idx file containing all the GOP information ( You can open these files with a editor ). Comparing the two files I noticed the missing two frames in the first GOP. I checked the files also at some "special points", when a aditional I frame is inserted and compared the frame numbers, the difference in frame numbers was always 2 frames till the end, so it seems that the difference of 2 frames doesn'cause any sync probs. then I reloaded the original and the new vobs into dvd2avi and compared the films at the end and yes, I could see that the frames were missing at the end.
maybe you should do this too, this won't solve your problem,I know, but maybe you can see better what's going wrong.

regards malzahn

andzs
7th February 2002, 09:13
Originally posted by GlenC
Ok,

...
DVD2AVI only generates 119681 frames when in force film mode, 149601 when in non forced film mode.

Obviously there is a difference of 72ish frames between dvd2avi and the true number of frames within the mpeg file. This is causing the problems.
...

Glen.

But what did you expected ? DVD2AVI forced film should work this way.
It should eliminate some frames of those interlaced 29.97 fps portions to get 23.976 fps film rate. Forced film always will contain
smaller frame count than original hybrid source. If source contains more interlaced frames then also difference in frames is bigger.

There probably is no easy way around this. Ifoedit should analyse
original video stream and should know how dvd2avi serves every frame
. According to this info there will be changes necessary in .IFO files
because frames get shifted and pointers should be adjusted accordingly. Generation of frametype export list for tmpegenc also
should reflect the fact that framecount get reduced.

I dont have any clue about the fact how this would affect remultiplexing.

--Andzs

Taxidermista
7th February 2002, 17:27
Originally posted by Derrow


Matrix does not contain angles! I don't know why people came up with the idea, Matrix should have angles. There aren't any, at least not in R2 version.

So, if IfoEdit doesn't find angle-information in the IFO file, then all Angle-options are dissabled, except for 'Remove Angle pointers'.

So if you ripped the DVD with just one Angle, you are still able to remove Angle-pointers out of the VOB files, but of course adjusting them is not possible anymore.


I think I give up with IfoEdit. If R2 "Matrix" does not contain angles then I don't understand nothing. I'm looking at the 15 PGCs (5 of them with 116 cells) in VTS_02_0.IFO and I don't know what can I do with them or with these 6 related (and confusing) vobs. This strange "rip-main-movie-only-with-Smartripper" concept can't fit in my brain. Related VTS_XX_0.IFO & VTS_XX_0.VOB cannot work with "main-movie-only" vobs. Do they can?? I'm missing some deep concept here...I always think that IfoEdit must work with the original files. :confused:

I could not find any way to strip extras also. You can't delete vobs. PrimoDVD does not accept this mutilation, Nero does but Nero copies aren't DVD compliant, they work in some standalones, but don't work in others.

Maybe I need a couple of lessons about DVD internal structure. :) :confused:

Come back to Maestro, CCE, Subrip and a little touch of Photoshop. :D


------------
A detailed 'Matrix' guide will be a wonderful thing. When I said detailed I mean from "insert DVD disk in your drive" to "hit the red circle button in PrimoDVD". Of course I'm interested in the original idea, preserve original contents as much as you can (I think I'm not alone). For "create new ifo and vob" DVDMaestro works much better (works with CCE).