Log in

View Full Version : AC3 to Mp3 conversion problem by BELIGHT


pleo1
3rd July 2007, 14:54
Help me!
I'm converting file AC3 to MP3 by Belight, but conversion finishes after 59 seconds, with a normal ending...
The file input AC3 is 1h 27m 9s long.
Here the Belight log:

BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using lame_enc.dll v1.32 (8/8/2003), Engine 3.90 <http://www.mp3dev.org/>.

Logging start : 07/02/07 , 11:18:24.

BeSweet.exe -core( -input D:\Documenti privati\Film\Film\AudioFile_80.ac3 -output D:\Documenti privati\Film\Film\AudioFile_80.mp3 -logfile D:\Documenti privati\Film\Film\AudioFile_80.log ) -azid( -s stereo -c normal -L -3db ) -ota( -hybridgain ) -lame( -b 192 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\Documenti privati\Film\Film\AudioFile_80.ac3
[00:00:00:000] | Output: D:\Documenti privati\Film\Film\AudioFile_80.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | PostGain normalize to : 0.97
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 2/0, Bitrate: 192kbps
[00:00:00:000] | Output Stereo mode: Stereo
[00:00:00:000] | Total Gain: 0.000dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 192
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:00:38.714] E31: Compositely coded 3-level value >26
[00:00:59.802] E31: Compositely coded 3-level value >26
[00:00:59:808] Gain of 22.5dB had been asserted to file.
[00:00:59:808] Conversion Completed !
[00:00:59:808] Actual Avg. Bitrate : 192kbps
[00:00:04:000] <-- Transcoding Duration

Logging ends : 07/02/07 , 11:18:28.
-------------------------------------------------------
Who can help me to understand don't convert all file AC3?

Thank you!

pleo1

Kurtnoise
3rd July 2007, 15:04
The problem comes from your AC3. How did you create/demux this stream ?

Try to fix it with delaycut (http://jsoto.posunplugged.com/tools/delaycut_1212_exe.zip).

btw, you can also update lame_enc.dll...;)

pleo1
5th July 2007, 08:06
Dear Kurtnoise13,
I've demuxed the stream with PgcEdit.
Then, as you suggested, I've fixed AC£ with delaycut.
Here the relative log:
--------------------
[Input info]
Bitrate=192
Actual rate=192.000000
Sampling Frec=48000
TotalFrames=163432
Bytesperframe= 768.0000
Filesize=125516160
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=01:27:09.840
Channels mode=2/0: L+R
LFE=LFE: Not present
[Target info]
StartFrame=0
EndFrame=163431
NotFixedDelay= 0.0000
Duration=01:27:09.824
====== PROCESSING LOG ======================
Time 01:27:09.824; Frame#= 163433. Uncomplete frame...SKIPPED
Number of written frames = 163432
Number of Errors= 1
--------------------
I've also update lame_enc.dll
but the result is the same... 59 seconds! Why?
Here the belight log output:
----------------------------
BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using lame_enc.dll v1.32 (22/12/2005), Engine 3.97 <http://www.mp3dev.org/>.

Logging start : 07/05/07 , 08:44:37.

BeSweet.exe -core( -input D:\Documenti privati\Film\Film\AudioFile_80_fixed.ac3 -output D:\Documenti privati\Film\Film\AudioFile_80_fixed.mp3 -logfile D:\Documenti privati\Film\Film\AudioFile_80_fixed.log ) -azid( -s stereo -c normal -L -3db ) -ota( -hybridgain ) -lame( -b 192 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\Documenti privati\Film\Film\AudioFile_80_fixed.ac3
[00:00:00:000] | Output: D:\Documenti privati\Film\Film\AudioFile_80_fixed.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | PostGain normalize to : 0.97
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 2/0, Bitrate: 192kbps
[00:00:00:000] | Output Stereo mode: Stereo
[00:00:00:000] | Total Gain: 0.000dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 192
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:00:38.714] E31: Compositely coded 3-level value >26
[00:00:59.802] E31: Compositely coded 3-level value >26
[00:00:59:808] Gain of 22.5dB had been asserted to file.
[00:00:59:808] Conversion Completed !
[00:00:59:808] Actual Avg. Bitrate : 192kbps
[00:00:05:000] <-- Transcoding Duration

Logging ends : 07/05/07 , 08:44:42.
-----------------------------------
Is there a solution?
Thank you

pleo

tebasuna51
5th July 2007, 09:11
Seems Azid detect a unusual error in:
...
[00:00:59.802] E31: Compositely coded 3-level value >26
...
and crash at 59 sec.

This internal error isn't detected by DelayCut.
Maybe others decoders don't crash with this error, try with Foobar2000(foo_ac3.dll), BeHapy/Bepipe-AviSynth(NicAudio.dll) or GraphEdit(ffdshow)

Kurtnoise
5th July 2007, 10:53
I've demuxed the stream with PgcEdit.
Then, as you suggested, I've fixed AC3 with delaycut.
As you can see, there is an error at the end of the delaycut process. So, I'd say : try to demux your ac3 stream with DGIndex instead of PgcEdit...

tebasuna51
5th July 2007, 15:24
As you can see, there is an error at the end of the delaycut process.
DelayCut only dectect the last incomplete frame, less than 32 ms at end of file (16 ms here). Is a normal issue.
DelayCut check two CRC's (at begining and at the end of each frame of 768 bytes) and don't detect problems at 59 sec.
Seems a encoder-decoder problem, not a demuxer problem, but ...
So, I'd say : try to demux your ac3 stream with DGIndex instead of PgcEdit...
Of course you can try with DGIndex, I always use DGIndex.