Log in

View Full Version : Doing Dolby & DTS Encoding the Freeware Way


xbox360
25th August 2006, 14:19
Hello to Everyone, this is my first Post, I hope everyone help's:

Question's:

1. What should I use to encode Dolby the Freeware way.

2. Ok, so now I can encode Dolby 2.0 but there is distortion noise, how do i fix it ?

3. I heard u need to UpMix before encoding in Dolby 5.1, What should I use to UpMix the Freeware way?

4. Ok, now what should I use & how do I encode Dolby 5.1 the Freeware way.

5. What should I use & how do I encode DTS 5.1 the Freeware way.

6. Are there specific setting's for DTS & Dolby when I UpMix ?

xbox360
25th August 2006, 14:21
Question's from Question's:

1. Can you please explain in detail how to use Aften GUI or Comandline for Dolby 5.1 encoding using 6 mono wav files as source ?

2. Howdo I set Aften to auto UpMix to 48khz from any source ?

tebasuna51
25th August 2006, 14:53
1. What should I use to encode Dolby the Freeware way.
Use Aften 0.05 (http://forum.doom9.org/showthread.php?t=113074)
2. Ok, so now I can encode Dolby 2.0 but there is distortion noise, how do i fix it ?
Use sources without distortion and encode with enough bitrate (192 for 2.0, 448 for 5.1)
3. I heard u need to UpMix before encoding in Dolby 5.1, What should I use to UpMix the Freeware way?
Stereo-to-Surround Conversion Guides (http://forum.doom9.org/showthread.php?t=83752)
4. Ok, now what should I use & how do I encode Dolby 5.1 the Freeware way.
Use Aften (2.0 or 5.1 or ...) & How To Properly Encode Dolby Digital Audio (AC3) (http://forum.doom9.org/showthread.php?t=56020)
5. What should I use & how do I encode DTS 5.1 the Freeware way.
AFAIK don't exists a free DTS encoder.
6. Are there specific setting's for DTS & Dolby when I UpMix ?
Warning with 90 degrees phase shift (http://forum.doom9.org/showthread.php?p=837667) for surround channels

check
25th August 2006, 15:02
:goodpost: thanks for all that info!

ursamtl
25th August 2006, 17:27
3. I heard u need to UpMix before encoding in Dolby 5.1, What should I use to UpMix the Freeware way?Stereo-to-Surround Conversion GuidesFor the Converting stereo to 5.1 surround for FREE (http://forum.doom9.org/showthread.php?p=768141#post768141) guide, I just updated the links with a new Bridge plugin that is compatible with the latest Foobar v0.9x releases. I'll update the rest of the guide in the coming days, plus I'm working on some other new stuff that's pretty cool (and 100% free as well).

By the way, I haven't had time to try Aften yet but it looks very promising. How have the results been so far?

Regards,
Steve.

Rockaria
25th August 2006, 17:53
Warning with 90 degrees phase shift for surround channelsI wonder what your clear point is..;) Don't need the 90 deg stuff for encoding on multichannel(DTS, AC3), 2ch DPL(II) or both?

I believe, for discrete multi channel encoding, the 90 deg. phase shift(optionally for later decoder downmixing) has some negative effects especially on highly center-correlated surround images. But for the DPL II encoding, it is a basic requirement on not that highly correlated original multi channel clips.

Preprocessing
...
-Surround channel processing->90 degree phase shift
-Surround channel processing->3 dB atenuation
http://forum.doom9.org/showthread.php?p=851005#post851005
Why you & softencode think they OPTIONALLY need the 90 deg phase shifts for the surround channels, for any control on the rear diffusion effect against center?

All the existing DPL(II) simple invert-only solutions I have tested(surprisingly except the ATSurround's new DPL II encoding) replayed the unbalanced fronts(not proper seperations). ATSurround's DPL II clips also have inverted one side rear channel but slightly different images than other invert mix, wonder what kind of DSP is used, but what is important is it does not cause the unbalanced playback. http://www.andrewlabs.com/atsurround/processingmodes.php
It's not as good as the 90deg phase shift solution but I think the invert-only closest emulation ever(& with some rear-mixed decoding : I suspect it is mixed with less than 3dB sound pressure coef ratio).

My preferred(tested) Foobar 2k v0.9.3.1 encoding DSP chain(with optionally RG enabled) :
(resampler)->Channel Mixer(upmix-off, LFE volume control)->ATSurround Processor(DPL II encoding)->Advanced Limiter(hard limiter) or Winamp DSP bridge:Stereo Tool(DRC/DN...)

The suggested aften ac3 encoder also can be integrated into foobar's cli transcoding setup, which also has both inquired decoder plugins(AC3, DTS).
The mentioned ATSurround also has two upmix DSPs proved themselves quite good to me, for dynamic upmix playback only, why upmix encode...
http://www.hydrogenaudio.org/forums/index.php?showtopic=42730

raquete
26th August 2006, 07:50
hi Rockaria
..they OPTIONALLY need the 90 deg phase shifts for the surround channels...it's for when you want (old way) dolby matrix surround decoder looking for rotated 90 degrees?new decoders don't put all "in-phase"? :confused:

Advanced Limiter(hard limiter)do you really like hard limiter?
i don't use foobar but i "hate" any(or all)hard limiter because it change(mess:devil: ) the whole dynamic of the music..(or not?)

Rockaria
26th August 2006, 09:29
it's for when you want (old way) dolby matrix surround decoder looking for rotated 90 degrees?new decoders don't put all "in-phase"? :confused: What is the old way vs. new way? What is the relations between the 'dolby matrix decoder' and DPL(II) decoder? What is the 90deg rotation vs. in phase? I unfortunately could find any resonable connections between the words you used all throughout your posts to understand to help to resolve the issue.

do you really like hard limiter?
i don't use foobar but i "hate" any(or all)hard limiter because it change(mess:devil: ) the whole dynamic of the music..(or not?)
Why you need dialnorm for AC3 and why other codec users want to use Replay Gain?
If clippings are expected, what is your remedy keeping the average loudness and good fidelity?
Why they want to develop and use the limiters, DRC, Dynamic Normalizations and similar DSPs?
What flexibilities from the source do you expect to lose by transcoding?

Whether you are asking or debating, I guess we seem to need some clearer basis in reasonable words than :confused: s and :devil: s .

raquete
26th August 2006, 10:31
Whether you are asking or debating, I guess we seem to need some clearer basis in reasonable words than :confused: s and :devil: s .
oh.....:rolleyes: ...... :goodpost:

What is the old way vs. new way?Dolby Digital includes several similar technologies.
What is the relations between the 'dolby matrix decoder' and DPL(II) decoder?none?
Many(not all?) Dolby Digital decoders are equipped with downmixing functionality to distribute encoded channels to available speakers. This includes such functions as playing surround information through the front speakers -->if<-- surround speakers are unavailable, and distributing the center channel to left and right if no center speaker is available. When outputting to separate equipment over a 2-channel connection, a Dolby Digital decoder can optionally encode the output using Dolby Surround to preserve surround information.
What is the 90deg rotation vs. in phase?differences in phases,i'm sure! (lol)
in phase:
http://upload.wikimedia.org/wikipedia/en/3/31/Sine_waves_same_phase.png
....now turn 90 degress and you get 90deg rotation. (lol again)
Why you need dialnorm for AC3..for ac3(standard) is needed but...and why other codec users want to use Replay Gain?maybe they want low levels in "everything" or mess his albuns(?) ...better ask they all, i really don't know why they want louder whispers and lower drumms.If clippings are expected, what is your remedy keeping the average loudness and good fidelity?i don't expect for clips,i only use good sources.Why they want to develop and use the limiters, DRC, Dynamic Normalizations and similar DSPs?who knows? maybe they use bad sources or like to listen mp3 in celular(lol)...have taste for all.What flexibilities from the source do you expect to lose by transcoding?
only what i can't hear. :p

regards and.........why you seems so "nervous" ? :script: :p

edit: typos and some more "lol"

Rockaria
26th August 2006, 11:48
Those unsufficiently answered checkpoints are the requirements you needed to check supposing they are not just lolling: there are reasons seriously thought & discussed here and there, dealing with different sources, tools,,, and decodings.

BTW, just for an example, do you really believe you are not getting any clippings(or undesirable volume fluctuations) when you apply differently measured dialnorms regardless of the quality of the sources considering the purpose of dialnorm or RG?

I am just trying to discuss the issues that I am interested in.
/the downstairs just have different cultures

raquete
26th August 2006, 12:36
I am just trying to discuss the issues that I am interested in.
/the downstairs just have different cultures
i was lolling too you and not from you.
you need "downstairs"? and i need to "upstairs" to follow the discuss that only interest you?
as we are in different levels,are you really interested in what i "believe" in where are seriously reasons?
in what i "believe" is not a serious reason and "undesirable volume fluctuations" is too vague and takes me use the imagination as measure(how much/if any)!
seems that you don't understood: i don't use RG.
i only want to change informations and not to be right or better than anyone.

thanks to "post your script".

Rockaria
26th August 2006, 13:21
No, I am practically living in the 2nd floor. The downstairs using different languages send me earthquakes every once in a while if you remember.

I understand the RMS is used to determine the dialnorm(AC3) and RG(generic), correct me if I am wrong. True, because of using the RG and limiters, it does not mean they are stupid, wrong or worse, they just have reasons.

And I do not get :confused: nor feel :devil: because of the differences or preferences. I am trying to mutually respect even if they slam the doors by some different attractive(?)symbols. ;)

Thanks.

raquete
27th August 2006, 20:05
Rockaria,
in my mind don't have doors to slam or close and i learn lots with you:helpful: ,i will that you had read my pm from days ago,did you?

in another thread,you answer me that to AC3,from -15 to -20 are good options.
now i have one question,for example:what do you think if i use RG in one album and later encode AC3 to "none" and -31?

i deserve one answer? ;)

:thanks:

Rockaria
27th August 2006, 22:30
Well, so, many things not in common...

I do not dare to have a professional home made per-channel-amplifiers partially because I expect a hard time to sync the speaker phases(polarity).
Like many other noobs and references haven't been that useful in resolving your professional dialnorm issue, I also expect no success as long as you stick to your own way or belief disregarding the hints given. So please believe me you are no longer a newbee and fully responsible of the expressions with emocons and such. Maybe yourself or sombody else can help resolving the issue.

And as per the ac3 bit size, I believe what he said is right.

raquete
27th August 2006, 23:14
to your own way or belief disregarding the hints given.oh,excuse,i forgot to post(see?..i'm still newby) that using your hint from -15 to -20dB is very good when .wav sources have from -1dB to 0dB.
but using RG the general level is lower then i did that question.

regards.

Rockaria
27th August 2006, 23:24
OK. one thing, IIRC, I've never given you the -15~20dB hints myself, but from the dolby's doc.
Why don't you give more of your eyes on the mechanism of RMS scan and the clipping/pre-gain control.