View Single Post
Old 17th February 2017, 02:17   #15  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
I figured it out 12 hours ago. The fix file is written in more or less the same format as the D2V files themselves. As per the dgindex instructions, each line roughly corresponds to one GOP, and the first seven information slots per line are for information about that GOP or its i-frame. Each two-character combination after that is a frame. I haven't yet figured out what all of the first characters mean, and I'm not 100% sure that they matter for the purpose of correcting illegal field order transitions. The second characters, however, are always in the range of 0-3, and they often occur in long repeating 0-1-2-3-0-1-2-3-0-1-2-3 patterns, which means that they're the TFF/RFF flags. So, when you have a fix file that says this...

Quote:
Field order transition: 2 -> 0
900 5 0 1086896128 0 3 4 73 70 d1 f2 f3 e0
900 5 0 1087176704 0 3 4 71 72 d2 f3 f0 e1 f2 f3 e0 f1 f2 f0 f1 e3 f3 f0 e1 f2 f3 e0 f1 f2 e3
corrected...
900 5 0 1086896128 0 3 4 73 70 d1 f2 f3 e0
900 5 0 1087176704 0 3 4 71 72 d2 f3 f0 e1 f2 f3 e0 f1 f3 f0 f1 e3 f3 f0 e1 f2 f3 e0 f1 f2 e3

Field order transition: 3 -> 3
900 5 0 1086896128 0 3 4 73 70 d1 f2 f3 e0
900 5 0 1087176704 0 3 4 71 72 d2 f3 f0 e1 f2 f3 e0 f1 f3 f0 f1 e3 f3 f0 e1 f2 f3 e0 f1 f2 e3
corrected...
900 5 0 1086896128 0 3 4 73 70 d1 f2 f3 e0
900 5 0 1087176704 0 3 4 71 72 d2 f3 f0 e1 f2 f3 e0 f1 f3 f0 f1 e2 f3 f0 e1 f2 f3 e0 f1 f2 e3
...what you can do is copy the part that says "1087176704" (or whatever), open up the D2V file in Notepad - fixed or un-fixed, it doesn't matter - use the "find" function to locate the illegal line, and then make manual corrections. You'll often want to do this because DGindex is kind of dumb when choosing what automatic corrections to make. In the above example, this line...

1-2-2-3-0-1-2-3-0-1-2-0-1-3-3-0-1-2-3-0-1-2-3

...got automatically "corrected" to this...

1-2-2-3-0-1-2-3-0-1-3-0-1-2-3-0-1-2-3-0-1-2-3

..when anyone with a functioning brain can see that the result should be this...

1-2-3-0-1-2-3-0-1-2-3-0-1-2-3-0-1-2-3-0-1-2-3

Such corrections can be made without having ANY idea what the images look like or where they are in the video.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote