Log in

View Full Version : Field order swap during a show?


Turtleggjp
2nd December 2007, 08:45
I was working on my encode of an episode of Survivor this weekend (the episode was from about 2 weeks ago) and I noticed something rather odd. CBS is a 1080i channel, so I use DGBob to deinterlace the video to 60fps. I jumped to the end of the episode to make sure everything was ok, and I was shocked to find that the field order was incorrect. I jumped back to the beginning, and it was correct again! After some tracking down, I found that the order changed about half way through the show. I have 6 Trim commands to take out the commercials, and it turned out that the first three were the usual field order, but the last three were the opposite field order. For those wondering, if you Bob with the wrong field order, you get frames out of order (2, 1, 4, 3, 6, 5, etc.) which causes bad stuttering.

I was able to work around this by splitting up my Trim commands. Here is the script for those that would like to see:

LoadPlugin("DGDecode.dll")
Loadplugin("dgbob.dll")

mpeg2source("E:\HDTV\Survivor\Survivor 1509.d2v",idct=5,upConv=1)

Crop(252,14,-262,-14)

clip1=Trim(2193,-10497) + \
Trim(18483,-14694) + \
Trim(38661,-13168)

clip2=Trim(57288,-15970) + \
Trim(79948,-21276) + \
Trim(104919,-1361)

DGBob(clip1,order=1) + \
DGBob(clip2,order=0)

BiCubicResize(720,540)

Has anyone else ever run into this when working with HD shows? I remember seeing this just one other time, during an episode of The Tonight Show. I didn't capture the entire show, just one segment, and it switched right in the middle of the show! It was at a scene change, but still right in the middle of the show. I was just wondering how common of a problem this is, because I do quite a bit of work with shows from 1080i channels, but have only run into this problem twice.

Matt

Guest
2nd December 2007, 14:13
Does the field order change within the untrimmed stream? If so, the latest version of DGIndex should have notified you and offered to correct that for you. If you run an earlier version, you may have to run Tools/FIx D2V manually.