Log in

View Full Version : MPEG audio and DVDAuthoring


katjarella
17th May 2005, 14:48
Hello together,
I test straight MPEG-Audio Encoder and tries to authoren you correctly. However nearly each DVD-Prog. does not recognize this MPEG Audios correctly.

SOURCE = test.wav has 48kHz, and is 03:26,346 (DVD:00:03:26.09/25fps)

MPEGA = toolame.exe -m s -b 224
MPEGB = toolame.exe -m s -b 224 -e
MPEGC = toolame.exe -m s -b 224 -e -v 1
MPEGD = BeSweet + -toolame( -m s -b 224 -e )
MPEGE = BeSweet + -toolame( -m s -b 224 -v 1 -e )
MPEGE = BeSweet + -mp2enc( -m s -b 224 -v 1 -e )

Muxman:
MPEGA = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGB = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGC = 00:06:01.07 / 25 fps [Frames: 9032]
MPEGD = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGE = 00:04:55.01 / 25 fps [Frames: 7376]
MPEGF = 00:04:55.01 / 25 fps [Frames: 7376]

DVDLab:
MPEGA = 00:03:26.22 / 25 fps [Frames: 5172]
MPEGB = 00:03:26.22 / 25 fps [Frames: 5172]
MPEGC = 00:06:01.11 / 25 fps [Frames: 9036]
MPEGD = 00:03:26.22 / 25 fps [Frames: 5172]
MPEGE = 00:04:55.17 / 25 fps [Frames: 7392]
MPEGF = 00:04:55.17 / 25 fps [Frames: 7392]

DVDMaestro:
MPEGA = Media Detection Error (0xc10b0001)
MPEGB = Media Detection Error (0xc10b0001)
MPEGC = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGD = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGE = 00:03:26.09 / 25 fps [Frames: 5159]
MPEGF = 00:03:26.09 / 25 fps [Frames: 5159]

why now does DVDMaestro VBR MPEG recognize as only correctly and does want the toolame CBR not? And why there is a difference between toolame.exe <> toolame over BeSweet?

mpucoder
17th May 2005, 15:21
DVDLab is probably doing what MuxMan does - check the first audio frame and then calculate the time based on filesize. VBR is not supported by Muxman. If you could send me a file I'll put VBR on the to-do list.

Trahald
17th May 2005, 16:10
is vbr allowed in dvd spec?

katjarella
17th May 2005, 16:22
Originally posted by mpucoder
DVDLab is probably doing what MuxMan does - check the first audio frame and then calculate the time based on filesize. VBR is not supported by Muxman. If you could send me a file I'll put VBR on the to-do list.

Please go http://katjarella.gleitz.info/muxman/

TESTA.mp2 - TESTF.mp2, schnipp.ac3 and test_ifo_log_mxp.zip for muxman.log, ifos and Projects.

Thanks mpucoder.

mpucoder
17th May 2005, 18:34
These are the same files? MuxMan shows duration of:
TESTA 1002 fields
TESTB 1002 fields
TESTC 1118 fields
TESTD 1002 fields
TESTE 1354 fields
TESTF 1354 fields

Scenarist rejects TESTA because it has no CRC, all others it accepts and says duration is 19:29 (1198 fields) with following bitrates:
TESTB 224K
TESTC 192K
TESTD 224K
TESTE 256K
TESTF 256K
All projects were NTSC.

katjarella
17th May 2005, 19:36
Originally posted by mpucoder
These are the same files? MuxMan shows duration of:
TESTA 1002 fields
TESTB 1002 fields
TESTC 1118 fields
TESTD 1002 fields
TESTE 1354 fields
TESTF 1354 fields

Scenarist rejects TESTA because it has no CRC, all others it accepts and says duration is 19:29 (1198 fields) with following bitrates:
TESTB 224K
TESTC 192K
TESTD 224K
TESTE 256K
TESTF 256K
All projects were NTSC.

yes, all from same source : http://katjarella.gleitz.info/muxman/testaudio.log

NTSC? NO my Tests all in PAL!

mpucoder
17th May 2005, 20:26
Yes, I know you tested in PAL. I have to revise what I posted. Scenarist tests were NTSC, as that is my default. MuxMan tests were PAL using version 0.15 which has different rules for audio duration (it rounds up if the segment is non-seamless, whereas 0.14 always rounded down). Also Scenarist reports "end time" not duration, so it is necessary to add 1 frame.
With all that in mind, Scenarist accepts all but the file without a CRC and reports the duration as 20:00. MuxMan 0.14 also reports 1000 PAL fields, or 20:00 for TESTA, TESTB, and TESTD. This makes sense as these are CBR.
The reason for testing in Scenarist was to confirm that VBR mpeg audio is allowed.

katjarella
17th May 2005, 20:27
I understand. At least you try to find a solution.
In the German forums noone discusses this.. :(

Test_PCM Source: http://katjarella.gleitz.info/muxman/TEST_Source.rar

I don't understand at all, why Scenarist recognizes every source with 00:00:19.24 length even though they are 00:00:20.00 for sure.

http://katjarella.gleitz.info/muxman/maestro.png

Error DVD specification error.
Error MPEG audio file "E:\xTemp\CHCB\Sourcen\TESTA.mp2" must be encoded with CRC on.
Info 0 file(s) accepted, 1 file(s) rejected
http://katjarella.gleitz.info/muxman/scenarist_testb.png
http://katjarella.gleitz.info/muxman/scenarist_testc.png
http://katjarella.gleitz.info/muxman/scenarist_testd.png
http://katjarella.gleitz.info/muxman/scenarist_teste.png
http://katjarella.gleitz.info/muxman/scenarist_testf.png


Edit Post: I understand mooore :) ( Ok Also Scenarist reports "end time" not duration)

mpucoder
17th May 2005, 20:31
I think I was revising my post as you wrote yours - just add 1 frame to Scenarist "end time". A single frame starts and ends at 00:00:00.00 ;)

mpucoder
17th May 2005, 20:46
Also, it is not possible to get mpeg audio to exactly 20 seconds due to its frame duration of 24ms. 20000/24 = 833.33 The files you used were 834 audio frames, or 20.016 seconds long. If you want an exact duration use a multiple of 3 seconds (eg 21 seconds, 21000/24 = 875)