digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Audio Conversion (http://www.digitalfaq.com/archives/audio/)
-   -   BeSweet: Ac3 sound too quiet! (http://www.digitalfaq.com/archives/audio/14148-besweet-ac3-sound.html)

incredible 04-20-2006 11:58 AM

FFdshow is no subject now ;)

But the provided ffmpeg.exe there, means the recent one:
http://ffdshow.faireal.net/mirror/ff....2006.04.19.7z should have been compiled with the patch included as it was applied to the ffmpeg CVS already one Week or more ago ;)

sparskter 04-20-2006 12:03 PM

Quote:

Originally Posted by incredible
FFdshow is no subject now ;)

sure! sorry ^_^

danpos 04-20-2006 09:19 PM

@Inc

Thanks, now I got it. :)

Cheers,

danpos 04-20-2006 09:58 PM

Inc's ffmpeg build works great.
 
@ALL

I do confirm that Inc's ffmpeg build works a treat!!! I just tried it out with a WAV PCM 2.0 which was treated with DVDAudio from Wavegenix Deluxe Mastering Suite. The transcoding was performed without issues and I did listen that volume of audiostream transcoded doesn't lower after all.

Well done, Inc.

I will test new Celtic Druid's build in order to see if the patch was applied.

Cheers,

incredible 04-21-2006 01:56 AM

Thats not a patch applied by me. Its a patch from a member of the ffmpeg-developers community.
I only did .... compile the sources.

Is the volume out of celticdruids build different?

danpos 04-21-2006 08:01 AM

@Inc

From my ears, the audios output for both builds (your and from Celtic Druid) seems the same (with regard the volume).

See ya,

sparskter 04-21-2006 12:17 PM

Someone with good ears(mine are not!!) listen this please. :D

WAV audio:
http://rapidshare.de/files/18584346/...GINAL.wav.html

AC3 SOFTENCODE[448 kbps]:
http://rapidshare.de/files/18585005/...CODE_.ac3.html

AC3 BESWEET 1.5B31[448 kbps]:
http://rapidshare.de/files/18585442/....5B31.ac3.html

AC3 FFMPEG CELTIC DRUID 19-APRIL-2006[448 kbps]:
http://rapidshare.de/files/18585857/...DRUID.ac3.html

if you can download it and rate, please post your opinion :D

incredible 04-21-2006 12:41 PM

There have been already a tests made related to Softencode vs. FFmpeg/besweet and tmpegEncs AC3. Do look here in the forum.
http://www.kvcd.net/forum/viewtopic.php?t=15987

AC3 from ffmpeg (was) too low but freqs where excellent. Same like Softencode ... and better than TmpgEnc which CUTs at approx. 15Khz
http://www.edv-tipp.de/dvd/047_dvd_sound06.htm
http://www.edv-tipp.de/dvd/047_dvd_sound08.htm

Its german, so u have to use an online translator

danpos 04-21-2006 08:36 PM

@sparkster

No surprise that SFSE have provide the 'better' result: SFSE let you normalize volume audio using DRC and you did this. For my ears, ffmpeg by Celtic Druid returned a ac3 audio file with 'same' volume level as original. Besweet returned a ac3 audio file with a lower volume.

A better test should be you get the wave audiostream and into it apply some sort of normalization (the suite that I've mentioned does this using a one-click button :D ) and with this already normalized wave audiostream you should do the trancoding to ac3 format. Or so you should do apply the same normalization values with ffmpeg / besweet as used with SFSE.

My R$ 0,02 ... ;)

See ya,

sparskter 04-21-2006 10:44 PM

@incredible
thanks for the links! That 15khz cut-off is simply surprising as Dialhot said! 8O

@danpos
thank you :D

Quote:

Originally Posted by danpos
My R$ 0,02 ... ;)

:lol:

I normalized it in Soundforge 8:
http://www.digitalfaq.com/archives/i.../2006/04/2.png

I used these(wav->ac3) setting for FFMPEG:
Code:

ffmpeg -i ULTIMATE_AVENGERS_AUDIO_NORMALIZED.wav -ab 448 -ar 48000 -ac 2 -acodec ac3 -y ULTIMATE_AVENGERS_AUDIO_NORMALIZED_FFMPEG_19-APRIL-2006_CELTIC_DRUID.ac3
And these(wav->ac3) on besweet:
http://www.digitalfaq.com/archives/i.../2006/04/3.png

I did convert ac3 -> wav using these settings on besweet:
http://www.digitalfaq.com/archives/error.gif

Result for BESWEET 1.5B31:
http://www.digitalfaq.com/archives/error.gif

Result for FFMPEG 19-APRIL-2006 CELTIC DRUID:
http://www.digitalfaq.com/archives/i.../2006/04/4.png

the files (transcoded from the normalized wav):

http://rapidshare.de/files/18621551/...LIZED.wav.html
http://rapidshare.de/files/18621245/...SWEET.ac3.html
http://rapidshare.de/files/18621265/...DRUID.ac3.html

danpos 04-22-2006 01:01 AM

@sparkster

Well done! :D

See ya,

incredible 04-22-2006 06:25 AM

Forget about besweet/belight in this state now. It uses a very old ac3enc.dll which was build from old ffmpeg sources where the volume-bug-fix still wasnt applied. I did send a PM to DspGuru at doom9 that he should recompile the ac3enc.dll.

Quote:

No surprise that SFSE have provide the 'better' result: SFSE let you normalize volume audio using DRC and you did this. For my ears, ffmpeg by Celtic Druid returned a ac3 audio file with 'same' volume level as original. Besweet returned a ac3 audio file with a lower volume.
DRC is no normalization, but a function which affects the dynamic range compression. DRC is smart where normalizing parses the whole file for the max value. SO for a comparison switch DRC in SFSE off.

My tests:

A comparison between the orig PCM Waveform vs. SoftEncode and FFmpeg:

First the freqs of the PCM waveform:
http://www.digitalfaq.com/archives/i.../2006/04/1.gif

Second the freqs of the Softencode output:
http://www.digitalfaq.com/archives/i.../2006/04/2.gif

Third the freqs of the FFmpeg output:
http://www.digitalfaq.com/archives/i.../2006/04/3.gif

Now lets overlay the output-graph of all three:
http://www.digitalfaq.com/archives/i.../2006/04/4.gif



Also very interesting the phase stablity of both re-le channels.

pcm:
http://www.digitalfaq.com/archives/i.../2006/04/5.gif

Softencode:
http://www.digitalfaq.com/archives/i.../2006/04/6.gif

ffmpeg:
http://www.digitalfaq.com/archives/i.../2006/04/7.gif

remark: the thicker/uneasier the purple-blue line gets the more incorrect is the phase.


Now we know that the ac3 encoder engine of ffmpeg is a very good qaulity engine, but someone who reported issues with the more anxient releases of this core on his SAP should test the output of the recent ffmpeg verrsion - IIRC Zyphon had a SAP which was very sensible.

sparskter 04-22-2006 06:34 AM

@incredible
pretty amazing :!: :!: :D :D :D
What soft (and version x.xx ?) are you using to plot these frequency and phase analysis stuff ?

incredible 04-22-2006 07:01 AM

Adobe Audition (aka cooledit)

danpos 04-22-2006 11:41 AM

@Inc

Very good presentation indeed. So, your and our tests seems to show that ffmpeg (new build with applied patch) is the way to go in treating of free ac3 encoder ... :)

Cheers,

Boulder 04-22-2006 12:17 PM

Inc,

have you had the chance to try any more recent commercial AC3 encoder? My friend has the Sony Vegas 6 suite which contains an AC3 encoder - if you cannot do the test encode, I'll ask if he would do so.

kwag 04-22-2006 02:19 PM

Basically I see both encoders the same, except that ffmpeg cuts of a little higher (about 200Khz), which is good. Phase differences are almost the same in all :)

-kwag

incredible 04-22-2006 06:20 PM

A Remark: I saw that I did encode that stereo Waveform using 448kbits in each encoder! Which is not real condition like!

Now the test shows how those encoders do behave if we do use on that stereo Waveform a 192kbit encode and a 128kbit encode.
192kbit CBR is fully sufficient for a stereo signal at 48000Hz, 16bit seen on a technical point of view.


192kbit - Softencode:
http://www.digitalfaq.com/archives/error.gif

A clean full up to 20.3KHz freq Range.



192kbit - FFmpeg:
http://www.digitalfaq.com/archives/error.gif

Also here up to 20.8Hz freq Range but a phase error which rises from 13Hz. BUT this is minimal -- check if you can recognise it!



128kbit - Softencode:
http://www.digitalfaq.com/archives/error.gif

As shown in the SFSE encoder config settings at 128kbit the encoder forces the Freq being cut at 13.55Khz!



128kbit - FFmpeg:
http://www.digitalfaq.com/archives/error.gif

Full Hz range but a phase error starting at an even earlier Hz point compared to 192!



What do these diagrams say? Very easy:
If you want "no" compromise in stereo AC3 audioencoding then you should go for Softencode at 192kbit as a full very phase-error-free freq range will be provided after decoding the AC3.
If you go for 128kbit AC3 then you have to choose between freq fullrange but minimal phase-errors (ffmpeg) or a limited freq range incl. no errors (SFSE).

Now you should make tests using your ears especiall on the phase errors .... ;) And then you decide what will be your choice.

A point to freq range: dont be affected by reading specs/values! "Normal" human ears wont recognise in a "normal attention" freqs above 16Khz, if so then congrats to excellent ears and for shure mega congrats to an EXCELLENT playback/speaker combination! Audiophile systems which do provide signals in "an accurate db state" so that you can recognise these high freq are very expensive. Shure technical specs of some speakers/Receivers do often mention high freq outputs about 18-22Khz but thats theory and beside this it depends WHAT these high freqs are made of and for shure if they can be provided at a needed db ratio.
BTW: A regular very good TV broadcast in PAL wont exceed 16Khz!

Quote:

Inc,

have you had the chance to try any more recent commercial AC3 encoder? My friend has the Sony Vegas 6 suite which contains an AC3 encoder - if you cannot do the test encode, I'll ask if he would do so.
No sorry, I dont have any other choice. When doing tests be shure NO DRC is set as this will provide an almost untouched range.

rds_correia 06-13-2006 08:38 AM

BUMP! :lol:

Sorry guys but I really can't tell what I'm doing wrong here :(.
Could you please post a step-by-step tutor on how to transcode AC3 with this tool?
BTW screenshots would work wonderfully for me :D.

Cheers

danpos 07-10-2006 11:32 AM

Update: new ac3 encoder based on FFMPEG lib.
 
@Incredible

Take an eye at this topic.

The author (Justin Ruggles) is the same guy that did propose the patch to correct the 'low volume bug' on ffmpeg-devel list ...

JFYI. :)

Regards,


All times are GMT -5. The time now is 08:56 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.