Thread: DG NV tools
View Single Post
Old 30th November 2009, 05:18   #605  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
In some previous versions I used to reject packets with transport_error_indicator set. The latest version ignores it.

For frame detection:

Wait for a picture coding extension and then:

Code:
if (picture_structure == 3 ||
    (top_field_first && picture_structure == 1) ||
    (!top_field_first && picture_structure == 2))
{
  // New frame.
}
Note that the frame lines in the index file are sorted into display order per sequence before being printed to the DGM file. To do that I have to accumulate a full sequence before outputing it.

Last edited by Guest; 30th November 2009 at 05:24.
Guest is offline   Reply With Quote