Log in

View Full Version : Incomplete audio encoding


mancer
28th April 2002, 21:58
Hi!

I've got the following problem: When encoding the movie "Enemy of the state" with DVD2SVCD (127 min (pal) on 3 CDs, encoded on NTFS, 2 audiotracks (48 / 128) and 4 subtitles), the first compressed audiotrack has a length of 114:39 min. and the second one has 74:01. The extracted AC3 files appear to be complete, as they are both aprox. 356 MB. The log reads:


--------------------------------------------------------
- 28.04.2002 16:55:46
- Free on drive J: 9116.67 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: J:\SVCD\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "J:\SVCD\Extracted_audio_1.ac3" -output "J:\SVCD\Encoded_audio_1.mp2" -logfile "J:\SVCD\Encoded_audio_1.log" ) -azid( -L -3db -c normal -g max ) -2lame( -e -b 128 -m s )
Audio conversion of J:\SVCD\Extracted_audio_1.ac3 finished.


Converting Audio to MP2. Filename: J:\SVCD\Extracted_audio_2.ac3
Executing BeSweet. Commandline:
"C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "J:\SVCD\Extracted_audio_2.ac3" -output "J:\SVCD\Encoded_audio_2.mp2" -logfile "J:\SVCD\Encoded_audio_2.log" ) -azid( -L -3db -c normal -g max ) -2lame( -e -b 128 -m s )
Audio conversion of J:\SVCD\Extracted_audio_2.ac3 finished.

Audio conversion finished.

--------------------------------

Has anyone got a clue whats going wrong there?

Thanx for your help, guys :)

markrb
29th April 2002, 01:44
Post your BeSweet log as well.

Mark

mancer
29th April 2002, 07:45
I tried to convert the audio again over night, but this time using BeSweetGUI itself and not DVD2SVCD. This time the second language (german) is complete, but the first language is just as short as before (ends after 114:39 -> aprox. 12 min. missing. The log says somthing about CRC errors at the times, both files ended at the second encoding. Buf have a look for yourself:

BeSweet v1.3b9 logfile.
--------------------------
Logging start : 04/28/02 , 23:55:30.

C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe -core( -input J:\SVCD\Extracted_audio_1.ac3 -output j:\SVCD\Extracted_audio_1.mp2 -logfilea C:\Programme\DivX\BeSweetGUIv0.5\BeSweet.log ) -azid( -z1 -b1 -c normal -g max ) -2lame( -m j -b 128 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : J:\SVCD\Extracted_audio_1.ac3
[00:00:00:000] | Output: j:\SVCD\Extracted_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Output Stereo mode: Dolby surround compatible
[00:00:00:000] | Total Gain: 15.3dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR 0.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] +-------- 2LAME ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[01:54:39.648] E7: CRC error
[01:54:39.648] E6: Illegal frame size
[01:54:39.648] E6: Illegal frame size
[01:54:39.648] E6: Illegal frame size
[01:54:39.648] E6: Illegal frame size
[01:54:39:648] Conversion Completed !
[01:54:39:648] Actual Avg. Bitrate : 128kbps
[00:31:27:000] <-- Transcoding Duration
Logging ends : 04/29/02 , 00:26:57.

BeSweet v1.3b9 logfile.
--------------------------
Logging start : 04/29/02 , 00:26:57.

C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe -core( -input J:\SVCD\Extracted_audio_2.ac3 -output j:\SVCD\Extracted_audio_2.mp2 -logfilea C:\Programme\DivX\BeSweetGUIv0.5\BeSweet.log ) -azid( -z1 -b1 -c normal -g max ) -boost( /b=5 /l=0.95 ) -2lame( -m j -b 128 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : J:\SVCD\Extracted_audio_2.ac3
[00:00:00:000] | Output: j:\SVCD\Extracted_audio_2.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Output Stereo mode: Dolby surround compatible
[00:00:00:000] | Total Gain: 16.2dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR 0.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] +-------- BOOST ------
[00:00:00:000] | Algorithm by : LigH
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.95
[00:00:00:000] +-------- 2LAME ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[01:14:01.024] E7: CRC error
[01:14:01.024] W1: Found sync after 1056 bytes
[02:06:44:800] Conversion Completed !
[02:06:44:800] Actual Avg. Bitrate : 128kbps
[00:39:20:000] <-- Transcoding Duration
Logging ends : 04/29/02 , 01:06:17.

markrb
29th April 2002, 09:25
DSPGuru would be better than me on this, but until he has a look try these things.

1. Make sure you have Azid 2 pass checked on the audio tab
2. Download and replace BeSweet with the latest beta
3. Try raising the audio bitrate to 192 on both streams.

BeSweet Homepage http://dspguru.notrace.dk/

Worth a shot if nothing else.

Mark

mancer
29th April 2002, 13:56
Okay, thanx, I'll give it a shot.
If I select 192 in DVD2SVCD, I get the message that the total bitrate is too high and the CD might not be playable on all players, so I thought to be sure I'd rather lower the audio.
Anyway, I'll try it and give you response.

markrb
29th April 2002, 19:02
You need to drop your video bitrate MAX if you increase the audio bitrate. Make sure to keep the Max Avg at least 120 points below the MAX too. The warning you see if for the combined audio and video bitrates.

Mark

DSPguru
29th April 2002, 19:37
looks like the ac3 streams are corrupted. try to use another ripper/demuxer.

btw,
i've noticed that you're using TWO dynamic-range-compressors :
-azid( -c normal ) -boost( ... )

imho, the sound quality should suck after compressing it twice.

mancer
29th April 2002, 21:34
@ markrb: If I lower the max video bitrate, doesn't the image quality in faster scenes get lower, too? Can you tell me how low I can set it without puking while watching the movie ;) ?

@ DSPguru: I used the newest beta of beSweet (kick-ass programm, btw) and it worked fine: I still got the error messages but the prog rides over it and I can't hear any error-signals in the final file.
I stopped counting the times I encoded this file... :o After all, the sound after 2 compressions kinda, well, sucked :rolleyes:

Anyway, thanx for your quick help.

markrb
29th April 2002, 22:18
It's all about compromise. I think 128k audio bites and never do any audio below 192. If your player can handle it uncheck the warning on the bitrate tab and set everything where you want, but your player must support this.
A drop of 70 points in Max is not all that noticable anyway unless you are at a very low bitrate to start.

Do a few test encodes using CBR and CDRW discs to see what you player works with. CBR ensures you are always at the bitrate you set so there is no need to find high bitrate scenes.

Mark

mancer
30th April 2002, 07:43
Okay, I'll check it out.

Once again a big 'thank you' for helping a SVCD newbie like me.

DSPguru
30th April 2002, 15:15
enjoy :D.