View Full Version : Cell Type Flag Question (Using PGCEdit)
Video Dude
15th November 2005, 02:04
I have a DVD where each chapter is in a separate VOB-ID. The cell type flag is 2 (src discontinuity) between each VOB-ID. I found this unusual since most non-angle DVDs I have seen with each chapter in a different VOB-ID has had a cell type flag of 10 (src discontinuity and seamless joint). Its a simple dvd structure with a single PCG and no cell commands.
Would this cause a slight pause between chapters since it is not marked as seamless?
mpucoder
15th November 2005, 05:19
Yes, it will cause a pause. You can try changing the flag to 10 to mark it as seamless, but many players will still stutter or stop completely if the multiplex itself is not seamless. The biggest problem with playback is caused by the presence of a sequence end in the video and the accompanying vobu_se_ptm value. These two things tell the decoder to stop at a particular time. Other aspects of seamless joints have less impact.
Using VobEdit 0.6 first look at the NAV pack of each vob and zero out "End PTM of VOBU if Sequence_End_Code". It's at offset 41, just double click it and enter the new value of 0. Then look at the last video pack of each vob using the hex editor (double click the line in the left pane) scroll down to where the padding is (lots of ff bytes) and look just before that for 01 b7. Setting those 2 bytes to 00 00 will remove the sequence end and allow the decoder to keep running.
Video Dude
15th November 2005, 14:22
Thank you mpucoder.
Using VobEdit I found the entries you referred to at the end of each VOB.
For example at the end of VOB 3:
[0041] End PTM of VOBU if Sequence_End_Code 69061224 [041dca68]
25 38 60 1E C0 00 00 01
B7 00 00 01 BE 04 39 FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
I'll take note of the LBA addresses of each vob start/end and then zero the two entries out for each VOB in VobEdit.
I'll post tomorrow how the dvd came out.
:thanks:
blutach
17th November 2005, 03:02
This would be the perfect little addon for something like VobBlanker, PgcEdit or even a little standalone app. It is a very vexing thing and for DVDs with manu cells would involve a bit of manual labour to do.
Regards
Video Dude
17th November 2005, 04:48
I discovered a much less time consuming method to zero out the 01 B7 in the last video pack of each vob.
I noticed the pattern:
00 00 01 B7 00 00 00 01 BE
Using a hex editor to search the .vob file I found that the number of times the pattern appears is equal to the number of VOB-ID.
Using the Hex Editor's Find/Replace All feature, I was able to do it in a few seconds. This saves a whole lot of time searching for the LBA of the end sectors and zeroing them out individually in VobEdit.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.