PDA

View Full Version : Surcode Pad 0's


specise_8472
13th September 2003, 21:06
To DSPGuru

One nice feature I have found in Surcode.
When encoding to DTS at the DVD suggested rate of 768 kb/s, if you set the pad 0's flag in the registry to 0, surcode honors it and produces a filesize of approx 50% smaller.
Only works at this bitrate - as all dts:confused: movies are encoded at this rate. Industry standard.

DSPguru
13th September 2003, 21:52
thanks!
BeSweet already sets this key to 0 ;)
try for yourself..

bitsnbytes
13th September 2003, 21:57
http://home.clear.net.nz/pages/adbarr/page1.html


"It would be preferable from an audiophile perspective for 754kbps DTS's use to be restricted to longer duration films (ie over 160 min) that requires 754kbps in order to be presented on a single disc."
"Digital Theatre Systems themselves have stated that 754kbps DTS is not "Transparent", a claim they make for 1509 and 1235bps DTS"

So yes it is A industry standard for movies but only for time/length issues.

specise_8472
14th September 2003, 06:05
DSPGuru
Is there any chance to incorporate into Besweet an option to change the Bitrate encodings.

REG KEY - DTS BITRATE INDEX is the one you need
0 = 44.1 / 1.234
1 = 48 / 1.536
2 = 48 / 768

The encoding (wav/dts) as far as I can tell is based upon the filename extension.

specise_8472
14th September 2003, 09:08
Found more interesting things for Besweet:D

Add Reg entry (if not already there from loading the ssf file).
Use these codes and Surcode will only offer to load the files shown. The non used ones are greyed out. Interesting is a suround only mode - no left/right surround

AUDIO CODE MODE
1 = Center only
2 = LF, RF
3 = LF, RF, C, LFE
4 = LF, RF, LFE, SURROUND
5 = LF, RF, C, LFE, SURROUND
6 = LF, RF, LFE, LS, RS
7 = LF, RF, C, LFE, LS, RS (The normal 5.1)

DSPguru
14th September 2003, 12:10
Originally posted by specise_8472
DSPGuru
Is there any chance to incorporate into Besweet an option to change the Bitrate encodings.

REG KEY - DTS BITRATE INDEX is the one you need
0 = 44.1 / 1.234
1 = 48 / 1.536
2 = 48 / 768

The encoding (wav/dts) as far as I can tell is based upon the filename extension. this is already offered by BeSweet, please read q2 in the BeSweet FAQ.

Originally posted by specise_8472
Found more interesting things for Besweet:D

Add Reg entry (if not already there from loading the ssf file).
Use these codes and Surcode will only offer to load the files shown. The non used ones are greyed out. Interesting is a suround only mode - no left/right surround

AUDIO CODE MODE
1 = Center only
2 = LF, RF
3 = LF, RF, C, LFE
4 = LF, RF, LFE, SURROUND
5 = LF, RF, C, LFE, SURROUND
6 = LF, RF, LFE, LS, RS
7 = LF, RF, C, LFE, LS, RS (The normal 5.1) very nice, but what's the use for BeSweet users ?

specise_8472
14th September 2003, 12:50
Originally posted by DSPguru
this is already offered by BeSweet, please read q2 in the BeSweet FAQ.

very nice, but what's the use for BeSweet users ?

Not everybody wants to encode 5.1 channels. What about if converting 2 or 4 channel AC3 to DTS. (As some people do.). Or converting your music cd's to DVD. For the purists out there that do not want to convert to Ambisonics or other scheme. Knowing that the bit-packing is done on a set frame-size it figures that if ignoring unneeded channels, there is more space for needed channels, therefore less compression, better quality.
DTS offers good quality at reduced bitrate. Mind you, not as good as pure PCM, but better than AC3 bitrates.
Also I think I have found a way to get Surcode to encode so as to use perfect reconstruction of the signal at the decoder, as oppossed to non-perfect as is now. Am testing now.

bitsnbytes
14th September 2003, 18:28
Originally posted by specise_8472
Not everybody wants to encode 5.1 channels. What about if converting 2 or 4 channel AC3 to DTS. (As some people do.). Or converting your music cd's to DVD. For the purists out there that do not want to convert to Ambisonics or other scheme. Knowing that the bit-packing is done on a set frame-size it figures that if ignoring unneeded channels, there is more space for needed channels, therefore less compression, better quality.
DTS offers good quality at reduced bitrate. Mind you, not as good as pure PCM, but better than AC3 bitrates.



Good Call! DTS sends full bandwith... no attenuation...Just seperated the channels on a .wav i resampled to 32/48 put them in fr left and fr right selected solo on both, and hell yeah 2 channel sweetness. 67mb audio track 5:42.46
hmm dvd with surround version and 2 channel version... I likes it alot mwha mwhaha mwhahahahha


Another evil Idea add LFE and 2 fronts :devil:

bitsnbytes
17th September 2003, 00:05
I really have to say I love the 2ch + LFE.
I'm of the mind now that A 2ch+LFE setting is A must have!

DSP Guru you still need A sample of .dts files that work and dont work in dvd authoring?

species u have some more info on all the reg settings? there are quite a few.

I see LFE Filter is on. I'm gonna test at "0"

specise_8472
17th September 2003, 02:12
Originally posted by bitsnbytes

species u have some more info on all the reg settings? there are quite a few.


If you loaded a SSF file, there will be a lot of reg settings. 90% of these are no good as they are AC3 settings. Yes, the surcode program is written upon an AC3 encoder of theirs. Also used to be command line driven. Most of the old code is still there, but not much use.
Am playing around with other settings from time to time. If I dig up anything of note will post.
What I do know is that the Frame Header they are using is not the one in the ETSI Specs. Have changed some around. Also hidden (not public) flags are being used.

(Perhaps I should find all the new stuff - re-patent it - and charge them royalties:devil: )

bitsnbytes
6th October 2003, 23:18
Lo species,

Is there a way to load just say LF LR and LFE
I find it cries about bitrate or something.
When I use besweet and just us ethe solo button
on the 3 it works... but filesize is the same as 5.1.... just trying to cut filesizes... I want to do 2.0 and 2.1 in dts.



Lataz

specise_8472
7th October 2003, 00:09
--Is there a way to load just say LF LR and LFE--

Look above, if you are happy to play around in the registry then change the Audio Code Mode to what you want. These are the only options that can be used. When you use these, surcode will only ask for the channels that you have requested - the rest are greyed out.

--I find it cries about bitrate or something.--

Check your input files, make sure they are what is needed by surcode.

--When I use besweet and just us ethe solo button--

All the solo and mute buttoms do are control what you hear when previewing the audio. Nothing else.

--on the 3 it works... but filesize is the same as 5.1.... just trying to cut filesizes... I want to do 2.0 and 2.1 in dts.--

By changing the pad 0 to 0, you get smaller sizes by the fact that surcode dosen't pad out each frame with 0's to make a set frame size. get ~50% smaller with this. Be careful with this one, as when surcode loads in it sometimes changes it back to 1, don't know why. Just seems to be random.

What I do is have the regedit window open, then load surcode, then regedit F5 (refresh) to see what has been changed, if anything. Then reset Pad 0 back to 0 if needed.

The interesting settings are

4 = LF, RF, LFE, SURROUND
5 = LF, RF, C, LFE, SURROUND

5 is basically the same as Dolby Digital 4.1 (Actually the same as PRO LOGIC 1.)
When you use these 2 settings, surcode asks specifically for the SURROUND channel. I think of SURROUND as the same rear channel as Dolby ProLogic 1 ie. mono. I find these to be very useful when transcoding the odd DD AC3 tracks eg 4.0 4.1.

bitsnbytes
8th October 2003, 02:47
what i find interesting comes from dts text file surcode generates at random

DTS DVD:

Core Bit Rate = 1536000 bps
Frame Size = 512 samples
Pad zeros at end of frame= Yes
Channel Layout = 3/2/.1
Sampling Frequency = 48000 Hz
Bits Per Input Sample = 24
QMF Filter = Nonperfect reconstruction << this one
Rear channel attenuation = 0 dB
HDCD = No
ES = No <<And This One

PHD_1976
14th March 2005, 13:18
To specise_8472 and DSPguru
I've tried your solution to set PAD_ZERO to zero.
I'm creating a 768 kbps file, like the original one.
I've also tried both methods via Besweet and .mux file and via Surcode itself. They both created a dts stream very close size to the original with PAD_ZERO set to "0". But....
This output file hangs all mediaplayers and Scearist doesn't accept it.
Please help with this one.

abero
28th May 2005, 20:11
Originally posted by specise_8472
To DSPGuru

One nice feature I have found in Surcode.
When encoding to DTS at the DVD suggested rate of 768 kb/s, if you set the pad 0's flag in the registry to 0, surcode honors it and produces a filesize of approx 50% smaller.
Only works at this bitrate - as all dts:confused: movies are encoded at this rate. Industry standard.

sorry, to bring this old thread up, but can u explain me, which registry setting you're talking about ?

It doens't matter if i encode to 768kbit or to 1.5mbit... the file's alwas the same size...so maybe this will help me.