Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > DVD2AVI / DGIndex

Thread Tools Search this Thread Display Modes
Old 4th May 2005, 22:08   #1  |  Link
Registered User
jeanl's Avatar
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Problem in DVD2AVI with "emulated SEQUENCE_HEADER_CODE"

Hi guys,
As you may or may not know, the preview part of PgcEdit and Vobblanker uses the original DVD2AVI code that jsoto modified a bit, and which I packaged as a class (called DVDPreview) to be used in, say, MFC apps. This is what PgcEdit and vobblanker (and menushrink) use for their preview.

Recently, blutach found a VOB that simply wouldn't display correctly in the preview (see this). I traced the problem down to a part of the original DVD2AVI code (the function MPEG2Dec(LPVOID n)) where the original author wrote:
// This code is designed to ignore false (emulated) leading
// SEQUENCE_HEADER_CODEs. But it precludes decoding MPEG1
//  because it would trigger this. I'll wait until I see
// how real the issue is before doing anything. So far it is
// just one VOB reported and the notifier no longer even has
// it.
The problem comes from the fact that DVD2AVI thinks it sees a SEQUENCE_HEADER_CODE, but in fact, it's looking inside a navpack (!), see this to see why that is. Of course, from then on, things don't go really well!
The DVDPreview code is based on version 110 of DVD2AVI. I'm wondering if DGIndex offers a solution to the problem, if other people have encountered the issue, and if there's been a workaround.

In nearly 1 year of use as a preview for vobblanker (and a bit less for pgcedit), I think this is the first time the problem has occurred, so it's not really critical.

I welcome any comments/suggestions!
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 4th May 2005, 22:58   #2  |  Link
Join Date: Jan 2002
Posts: 21,923
I replied in the PgcEdit thread.
Guest is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 05:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.