Log in

View Full Version : Subpic data with a padding stream in the middle!


jeanl
9th June 2008, 18:04
People,
Just FYI, a DVDSubEdit user sent me a VOB file that DVDSE can't open without throwing an error, but which plays fine in media player classic for example. As it turns out, the subpicture data (the encoded bitmap) has a padding stream smack in the middle of it, with useful data before and after the stream! Apparently this is legit (but DVDSE fails to deal with that).

I'm wondering if anybody has seen that before! In any case, for you programmers, it might be useful to make your code handle that (if it does not already).

Jeanl

setarip_old
9th June 2008, 18:36
@jeanl

Hi!

Despite my limited knowledge in this area, I'm curious to understand what would necessitate such placement of a padding stream?

jeanl
9th June 2008, 19:14
I don't know, but this happens with DVDs created by the softward ConvertXtoDVD ... From what I see in the data, they do that so the subpicture takes two packs instead of just one (it looks like it would fit in just one pack without the stuffing stream). Perhaps they allocate two packs by default, and don't want to have to change that? Or perhaps it's one case where the data would not quite fit in 1 pack, and so they stuff it to fit in two packs, although the normal way to do that is to put a stuffing pack at the end of the data (i.e., after the commands) (and they also do that, so it's quite strange, there's a stuffing stream in the middle, then another at the end)...
Not too sure why...
Jeanl

setarip_old
9th June 2008, 21:25
this happens with DVDs created by the softward ConvertXtoDVDSo, if I understand, it DOESN'T occur with regard to commercial DVDs?

If that's the case, I don't think you should concern yourself with it, as I believe that software is not used to create commercial DVDs...

jeanl
9th June 2008, 23:06
If it's legit, I have to concern myself with it!
Jeanl