dvdauthor generates corrupted VOBs?

Yuri Lukyanov <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Hello,

I've been trying to make a regular DVD file structure using dvdauthor for
about 1 week and I've still not having any success.

The thing is that dvdauthor makes currupted VOBs started from VTS_01_2.VOB.

What I'm doing:

1) mplex -f 8 -o output.mpg intput.m2v input.m2a
2) dvdauthor -o dvd -t output.mpg
3) dvdauthor -o dvd -T

The result is very strange.
VTS_01_1.VOB looks like a normal VOB file and is played by any software
players.
VTS_01_2.VOB seems corrupted and software players don't play it at all.
The same bad situation with the rest VOBs.

Here's mediainfo on VTS_01_1.VOB:

General
Complete name                    : dvd/VIDEO_TS/VTS_01_1.VOB
Format                           : MPEG-PS
File size                        : 1 024 MiB
Duration                         : 15mn 16s
Overall bit rate                 : 9 372 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Duration                         : 15mn 16s
Bit rate mode                    : Constant
Bit rate                         : 9 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.868
Stream size                      : 979 MiB (96%)

Audio
ID                               : 192 (0xC0)
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 2
Duration                         : 15mn 16s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Stream size                      : 24.5 MiB (2%)

Menu

And mediainfo on VTS_01_2.VOB (look at the video section):

General
Complete name                    : dvd/VIDEO_TS/VTS_01_2.VOB
Format                           : MPEG-PS
File size                        : 1 024 MiB
Duration                         : 15mn 16s
Overall bit rate                 : 9 372 Kbps

Video
ID                               : 224 (0xE0)
Duration                         : 15mn 16s
Bit rate                         : 8 962 Kbps
Stream size                      : 979 MiB (96%)

Audio
ID                               : 192 (0xC0)
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 2
Duration                         : 15mn 16s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Video delay                      : -560ms
Stream size                      : 24.5 MiB (2%)

Menu


So the video stream looks very strange in the second case, like an empty
stream or something.

I was trying dvdauthor-0.6.14 and dvdauthor-0.6.18 on my Ubuntu 10.4. No
differences.

Finally, I decided to look into the source code.
I made some trick to investiage possible reasons of the problem.

Here's src/dvdvob.c, around the line 1132:
       ...
       while(1)
          {
            if (fsect == 524272)
              {
              /* VOB file reached maximum allowed size */
       ...

I changed the code above this way:
       ...
       while(1)
          {
            if (0)
              {
              /* VOB file reached maximum allowed size */
       ...

So I forced dvdauthor to make only one VOB file.
Curiously enough, the file was totally OK, a regular VOB except the size
(more than 1 Gb).

With that said, I suppose that there's some bug in switching to another file
while generating VOBs.

Please, help :)

Just in case, I'm providing you with media info of my input files.

input.m2v:

General
Complete name                    : input.m2v
Format                           : MPEG Video
Format version                   : Version 2
File size                        : 2.79 GiB
Duration                         : 44mn 20s
Overall bit rate                 : 9 000 Kbps

Video
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Duration                         : 44mn 20s
Bit rate mode                    : Constant
Bit rate                         : 9 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.868
Stream size                      : 2.67 GiB (96%)


input.m2a:

General
Complete name                    : input.m2a
Format                           : MPEG Audio
File size                        : 71.0 MiB
Duration                         : 44mn 20s
Overall bit rate                 : 224 Kbps

Audio
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 2
Duration                         : 44mn 20s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Stream size                      : 71.0 MiB (100%)


Thank you.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.