Log in

View Full Version : DGIndex Feature Request: Record Clipping Time in the d2v file


CarlEdman
26th July 2011, 01:08
If you clip the beginning or the end of a source in dgindex, dgdecode from that d2vfile will only serve the frames between the clipping points. That is right and good.

The problem is that sometimes you need to extract other information (for example VobSub or SRT subtitles) from the same source material, but these will be timed on the basis of their position in the whole file, rather than in the dgindex clip. Therefore, you need to manually resync the subtitles, which requires human intervention and some time and effort.

But if dgindex could record in the d2vfile, along with all the other parameters, from where to where it clipped the original material, preferably as floating-point seconds, the whole resyncing could be automated.

Please consider adding this feature to DGIndex. I--and I'm sure others--would very much appreciate it.

Overdrive80
27th July 2011, 19:05
Would be wonderful, implements function for create d2v using pgc info, and can extract by episodes. ^^

CarlEdman
27th July 2011, 20:29
That would be nice. However for DVDs extracted using MakeMKV (the best DVD extractor for most purposes today, I think, and still under development), I created a little python script (attached) to chop up an MKV at specified chapters (or any timecodes) which seems to work fairly well.

Remove the ".txt" extension after download. Requires Python 2.6 (2.7?) and current mkvtoolnix. Only tested under Windows 7, but should work under Mac and U*ix too.

Overdrive80
28th July 2011, 02:41
I dont know makemkv, i use pgcdemux or vob2mpg.

CarlEdman
29th July 2011, 13:25
MakeMKV is really excellent (and free). http://makemkv.com/ It rips a DVD and all its contents (video, languages, subtitles) into highly accurate mkv files which can be played themselves, but are rather large (as MKV does no transcoding). For me, it has almost completely replaced my old standbys, DVDDecrypter and DVDFab.

That python script I posted (and before anybody complains, I realize that it contains some unnecessary code and imports--the imports and some functions were just copied from a larger python project with needed all that and I did not want to change them) is very useful for easily and accurately splitting MKVs from DVDs which contain a whole bunch of episodes of a series as a single track, but not the individual episodes as separate tracks (very common with anime DVDs).

For example, if the MKV contains multiple episodes, each of which has six chapters (i.e., the second episode begins at chapter 7) and the episodes in this MKV begin at, e.g., episode 8, the posted python script will turn the multi-episode MKV into single episode MKVs like this:

mkvchop SeriesVol3.mkv "Series Ep. {:02d}.mkv" --start 8 7 +6

And the result will be episode files "Series Ep. 08.mkv", "Series Ep. 09.mkv", etc.