HydrogenAudio

Digital Audio/Video => Movie/Multichannel audio => Topic started by: David Nordin on 2003-11-24 21:02:11

Title: AC3/DTS Talk
Post by: David Nordin on 2003-11-24 21:02:11
AC-3 is most common at 448kbps, in some countries 384kbps. At cinemas it's 640kbps.
DTS is most common at 141xbkps and is VBR capable, altho uncommon. It's clearly not useful in this context - AC3 is far more likely to candidate.
Title: AC3/DTS Talk
Post by: 2Bdecided on 2003-11-25 10:20:46
Quote
AC-3 is most common at 448kbps, in some countries 384kbps. At cinemas it's 640kbps.

IIRC it's only 384kbps in cinemas because that's as much information as they could fit between the film sproket holes.

Cheers,
David.
Title: AC3/DTS Talk
Post by: David Nordin on 2003-11-25 11:12:29
yes, my mistake - I must have mixed it it with something else, altho I'm pretty sure the format is 640 capable, blah.
Title: AC3/DTS Talk
Post by: rjamorim on 2003-11-25 11:12:55
Quote
IIRC it's only 384kbps in cinemas because that's as much information as they could fit between the film sproket holes.

On cinemas: 640kbps
On laser discs: 384kbps
On DVDs: Usually 224, 384 and 448kbps
http://www.mp3-tech.org/ac3.html (http://www.mp3-tech.org/ac3.html)

IIRC, AC3 isn't recorded inbetween sproket holes. SDDA is.


One thing worth mentioning here is that AC3 doesn't cope well with VBR. Although the standard allows it, several decoders choke on VBR streams.

I did a test at doom9 once: Using a patched ac3enc.dll (thanks to S_O) that outputs VBR streams (it just randomizes the bitrates), I encoded a multichannel stream and tested it with several decoders.

ac3dec worked
liba52 (valex's filter) worked
azid didn't work (error message, IIRC)
Dolby decoders (CyberLink, Intervideo) didn't work (crash)

I couldn't get anyone to test it on a receiver.

Regards;

Roberto.
Title: AC3/DTS Talk
Post by: seanyseansean on 2003-11-25 11:44:13
Quote
Quote
AC-3 is most common at 448kbps, in some countries 384kbps. At cinemas it's 640kbps.

IIRC it's only 384kbps in cinemas because that's as much information as they could fit between the film sproket holes.

Cheers,
David.

I think you're right, DTS doesn't have this limitation being delivered on CDs along with the film.
Title: AC3/DTS Talk
Post by: Lefungus on 2003-11-25 12:37:45
But dts store synchronisation informations between the film sprocket holes
Title: AC3/DTS Talk
Post by: seanyseansean on 2003-11-25 13:03:50
Quote
But dts store synchronisation informations between the film sprocket holes

Yes, it stored timecode there.
Title: AC3/DTS Talk
Post by: 2Bdecided on 2003-11-25 13:26:50
Well, Dolby seem to think they store AC-3 data between the sprocket holes...
http://www.dolby.com/tech/m.ot.0006.Filmgo...goerFAQ.html#q3 (http://www.dolby.com/tech/m.ot.0006.FilmgoerFAQ.html#q3)


Can anyone provide another reference for the bitrate of AC-3 on film prints? i.e. a reference that says "Dolby" at the bottom, rather than "Gabriel"  (no offence Gabriel - maybe you can just let us know where you took your information from).

Cheers,
David.
Title: AC3/DTS Talk
Post by: niktheblak on 2003-11-25 14:46:44
SDDS is stored in the outer edge of the film, outside the sprocket holes. AC3 is stored between sprocket holes.

www.brooklyncenter.com/cinema/wdts.htm (http://www.brooklyncenter.com/cinema/wdts.htm)
www.sdds.com (http://www.sdds.com) / What is SDDS?
www.mkpe.com/articles/1999/Multichannel/multichannel.htm (http://www.mkpe.com/articles/1999/Multichannel/multichannel.htm)
Title: AC3/DTS Talk
Post by: AgentMil on 2003-11-25 14:49:24
DTS, Dolby Digital and DVD (http://home.clear.net.nz/pages/adbarr/page1.html)

What is Dolby Digital (AC-3) (http://www.geocities.com/SiliconValley/7804/ac-3.htm)

(Qoutes from the second link)
"In order to retain an analog track so that these prints could play in any cinema, it was decided to place the new digital optical track between the sprocket holes, a key factor in defining its maximum practical bit-rate."

"Data rates range from as low as 32 kb/s for a single mono channel to as high as 640 kb/s..."

This allows us to determine that 640kbps is the maximum allowed bitrate for Dolby Digital on film prints, as Dolby Digital was designed for cinema first then the home market second. Also tells us that the optical track was placed between the socket holes.

Another note to mention the standard viable bitrate for Dolby Digital on film prints is 320kbps.

(Quote from first link)
"The more aggressive compression system utilised by Dolby's system allows a 5.1-channel soundtrack to function with a recommended minimum bitrate of only 320kbps. That's a compression factor of 15:1 (at 20-bit/48kHz), an extremely impressive technical feat."

The first link will tell you that DTS soundtrack is located on an optical medium and the timestamps held between the optical soundtrack and picture area for synching.

(Quote from first link)
"DTS, unlike AC-3, is not recorded on the film itself. Instead, DTS is stored on CD-ROM and synchronised with the film using standard SMPTE time codes, located between the film's optical soundtrack and picture area."

All of this is 99% accurate based on the data that I have located and interpreted.

BTW There is a film manual in PDF format that was located on Dolby's website that seems to have ALOT of information in it based on a few websites that I have found directly quoting from it. The file name is "encodvw.pdf" and the title "The Dolby Professional Encoding Manual", please post any information if you managed to find or have a copy of it.

**EDIT**
Looks like Dolby just rearranged their site so here is the Encoding Manual direct link.

The Dolby Professional Encoding Manual (http://www.dolby.com/tech/L.mn.0002.DDPEG1.pdf) PDF Format Optimised for Screen Viewing.

Regards

AgentMil
Title: AC3/DTS Talk
Post by: rjamorim on 2003-11-25 15:07:27
Quote
I did a test at doom9 once: Using a patched ac3enc.dll (thanks to S_O) that outputs VBR streams (it just randomizes the bitrates), I encoded a multichannel stream and tested it with several decoders.

In case someone is wondering, here is the thread:
http://forum.doom9.org/showthread.php?s=&t...&threadid=33966 (http://forum.doom9.org/showthread.php?s=&threadid=33966)

I can upload the patched AC3enc DLL is someone is interested.

Also, I would like to invite anyone with a receiver to test VBR decoding

This is the VBR stream, from "The Wall" DVD:
http://pessoal.onda.com.br/rjamorim/Test.ac3 (http://pessoal.onda.com.br/rjamorim/Test.ac3)

You'll notice some times the quality drops badly. You'll understand why if you read the thread at doom9 :B

If you test it, please report:
-Brand and model of receiver
-What you used to send the stream over S/PDIF. I know Moonlight Odio Dekoda can decode VBR, but I don't know if it can send it over S/PDIF.

Thanks.

Regards;

Roberto.
Title: AC3/DTS Talk
Post by: Gabriel on 2003-11-25 16:05:02
Quote
(no offence Gabriel - maybe you can just let us know where you took your information from)

It was from Dolby. But it was something like a "white paper", not a technical paper. As you know, white papers sometimes have a marketing taste.
Title: AC3/DTS Talk
Post by: 2Bdecided on 2003-11-25 16:58:57
The reason I asked is because I thought I'd heard Dolby people say 384kbps.

Now I've looked it up, the 1994 Amsterdam AES paper "AC-3: Flexible Perceptual Coding for Audio Transmission and Storage" by C C Todd et al (I have a pre-preprint, so don't have the actual preprint number) says 320kbps...

"It was determined that 320 kb/s of error corrected audio data could be reliably placed and extracted from the film are between the sprocket hole perforations on one side of the 35mm film."

later, discussing (promoting?) the expected widespread use of AC-3 outside the cinema, it start...
"The requirement which AC-3 had to meet to satisfy the cinema application are straightforward. AC-3 only has to support one bit-rate (320 kb/s) and audio coding move (5.1 channels)."

So unless the six authors of this paper let this through by accident, or the specification was later ammended, it seems to be 320kbps.

I find that strange. I always thought the reason so many DVDs ended up with 384kbps tracks was because they were copied from the original film, but that could be totally wrong.

I think I might just ask them...

Cheers,
David.
Title: AC3/DTS Talk
Post by: sthayashi on 2003-11-25 19:01:29
[Note to admins: this message should be split as well as the one from Roberto]

I tested Roberto's VBR-AC3 file with my receiver, a Yamaha HTR-5590.  I tested with both PowerDVD 5 and Foobar 2000.  Fb2k had a problem displaying time, and doesn't properly do S/PDIF out (at least not with directSound  ), but the actual playback great (it just sounds like it's been downmixed to stereo).

I used PowerDVD 5 to output the AC3 via S/PDIF optical to my receiver.  It appeared to be perfectly capable of handling the S/PDIF without a problem.  The receiver certainly played it back without causing a problem.

I would encourage anyone who can to test out their system and report the results.  Thanks.
Title: AC3/DTS Talk
Post by: Krobar on 2003-12-12 21:08:03
Id be happy to test the files on my Pioneer multi channel amp, just point me to where they are (The link appears broken).

The 640KB/sec is the max for dolby, D-Theater tapes run Dolby at this rate, on decent systems there is an improvement over the standard 448 DVD rate.

Edit:
Fixed the DTS prob.
Title: AC3/DTS Talk
Post by: plonk420 on 2004-03-29 15:38:03
Quote
Quote
But dts store synchronisation informations between the film sprocket holes

Yes, it stored timecode there.

incorrect, DTS timecode is between the picture frame and the Dolby SR (analog) tracks.

edit: shit .. bumped an old post

anywho, as i work at a theater, DD is stored between a sprockets and supposedly is "highly" encrypted (according to a tech i asked). DTS, i mentioned, and SDDS is on the very edges of the film and (now i'm digging really deep into long term memory) runs at 3mbits/sec, but most of it is redundant(/parity?) information as this part of the film gets the most abuse (there are all sorts of straps and rollers this part of the film travels over as it goes thru a projector). so even 3mbits of data can't survive even as little as several weeks at theaters.

and 320kbits or 384kbits (320 sounds familiar to me), whatever it is, it sounds like shit (anyone see Kings of Comedy in a DD house? it was like the applause codec killer sample) .. even theater-DTS isn't as good as i thought .. i've heard artifacts once or twice in passages where stringed instruments were being played... (however, that's like once or twice out of hundreds of DTS movies i've screened)

edit2: also, i hear film duping houses are going to make/rent prints with SDDS only on demand as they're becoming less and less in demand... (that from a tech's mouth, this year)
Title: AC3/DTS Talk
Post by: plonk420 on 2004-03-29 16:24:40
http://www.plonkmedia.com/frame_of_film.jpg (http://www.plonkmedia.com/frame_of_film.jpg)

http://www.plonkmedia.com/frame_of_film.png (http://www.plonkmedia.com/frame_of_film.png)
Title: AC3/DTS Talk
Post by: rjamorim on 2004-03-29 16:49:56
Quote
Id be happy to test the files on my Pioneer multi channel amp, just point me to where they are (The link appears broken).

In case anyone is still interested in testing it with receivers, I uploaded the VBR AC3 test stream to the same location again.
Title: AC3/DTS Talk
Post by: joopv on 2004-04-05 23:37:22
I'd love to test this (already downloaded) with my Pioneer vsx908.  Now if i only had a way to send this ac3 data over the spdif port of my sound card to my receiver.
I can play dts-encoded wav files very nicely using winamp and sound output redirected to the spdif port.
Now how do i do this with ac3 files ?
Title: AC3/DTS Talk
Post by: rjamorim on 2004-04-06 02:27:16
Quote
Now how do i do this with ac3 files ?

I guess you can load the AC3 on a DVD software player (WinDVD, PowerDVD). Then, configure the player to send audio through S/PDIF. Should work.
Title: AC3/DTS Talk
Post by: joopv on 2004-04-06 07:37:41
Powerdvd 5 does not recognise my s/pdif port as such - i have no idea why it doesn't.
However - when i choose in 'sound and multimedia properties' control panel the s/pdif card as preferred output device it works, but then i'm using the ac3 decoder from Powerdvd and a normal stereo stream is sent to the Pioneer receiver.
I think my old ISA s/pdif soundcard is not compliant with newer standards.

Is there a way to convert the ac3 file to a (48kHz) wav file so i can try this anyway?  I know this works - i have some 48kHz formatted wav files with ac3 content.  Rather inefficient but playable on my system.

http://www.modernrecording.com/articles/20...pr/cd-ac3.shtml (http://www.modernrecording.com/articles/2000/apr/cd-ac3.shtml)
Title: AC3/DTS Talk
Post by: Norman on 2004-04-06 09:28:46
Roberto, my Marantz SR7000 decoded the ac3 file just fine. This doesn't surprise me, however

Edit: forgot to add the software I used: Media Player Classic + ac3filter.

Norman
Title: AC3/DTS Talk
Post by: Pontoppidan on 2004-04-06 11:39:21
hello!
I have testet the file with my Marantz SR 6300..! I can play it via my S/PDIF, but  there are a problem in the middel of the track there are some crappy noises..  I have played the file with Powerdvd 5..

Phil
Title: AC3/DTS Talk
Post by: rjamorim on 2004-04-06 15:21:39
Quote
I can play it via my S/PDIF, but  there are a problem in the middel of the track there are some crappy noises..

That's expected. The VBR routine being employed by the test encoder I used just randomizes bitrates. So, some parts of that stream are being encoded at 32kbps.

Quote
Is there a way to convert the ac3 file to a (48kHz) wav file so i can try this anyway? I know this works - i have some 48kHz formatted wav files with ac3 content. Rather inefficient but playable on my system.


That's strange.

One solution would be getting the in_ac3 Winamp plugin:
http://winampac3.sourceforge.net/ (http://winampac3.sourceforge.net/)

Then use the Winamp diskwriter to decode the AC3 stream to Wav.
Title: AC3/DTS Talk
Post by: Thor on 2004-04-11 15:49:43
Quote
Quote
Quote
But dts store synchronisation informations between the film sprocket holes

Yes, it stored timecode there.

incorrect, DTS timecode is between the picture frame and the Dolby SR (analog) tracks.

edit: shit .. bumped an old post

anywho, as i work at a theater, DD is stored between a sprockets and supposedly is "highly" encrypted (according to a tech i asked). DTS, i mentioned, and SDDS is on the very edges of the film and (now i'm digging really deep into long term memory) runs at 3mbits/sec, but most of it is redundant(/parity?) information as this part of the film gets the most abuse (there are all sorts of straps and rollers this part of the film travels over as it goes thru a projector). so even 3mbits of data can't survive even as little as several weeks at theaters.

and 320kbits or 384kbits (320 sounds familiar to me), whatever it is, it sounds like shit (anyone see Kings of Comedy in a DD house? it was like the applause codec killer sample) .. even theater-DTS isn't as good as i thought .. i've heard artifacts once or twice in passages where stringed instruments were being played... (however, that's like once or twice out of hundreds of DTS movies i've screened)

edit2: also, i hear film duping houses are going to make/rent prints with SDDS only on demand as they're becoming less and less in demand... (that from a tech's mouth, this year)

I've found a site that gives very detailed information on cinema systems.
Unfortunately it's in German, which I don't really speak or understand myself but for those who do, I wanted to share this anyway.
The site shows detailed photo's of movie frames and the different audio tracks on them.
Link: http://www.kinoteam.de/kt/ (http://www.kinoteam.de/kt/)
The audio systems page is here: http://www.kinoteam.de/kt/kt_tonsysteme.html (http://www.kinoteam.de/kt/kt_tonsysteme.html)
Oh by the way, of course BabelFish (http://world.altavista.com/babelfish) can help to understand it if you don't know German.
Title: AC3/DTS Talk
Post by: S_O on 2004-04-11 17:19:40
Quote
That's expected. The VBR routine being employed by the test encoder I used just randomizes bitrates. So, some parts of that stream are being encoded at 32kbps.
No, if I remember correctly I limited the min bitrate somewhere. Unfortunately I cannot look it up in the code, my PC is broken (some capicicators on the mainboard are broken). But remember that this patched DLL was created using the old ac3enc which created sometimes non-vaild bitstream anyway, so this doesn´t have to do something with VBR, but the noise you mean is yust artifacts, if it has 128kbps for 5.1, this sounds of course not very good. My VBR-Routine is not normal VBR or ABR, it´s RBR (Random Bitrate).
Quote
Is there a way to convert the ac3 file to a (48kHz) wav file so i can try this anyway? I know this works - i have some 48kHz formatted wav files with ac3 content. Rather inefficient but playable on my system.
Yes, that´s very simple: Install ac3filter and set output to S/PDIF. Open ac3 in GraphEdit (Graph should be: file.ac3 -> AC3 Parser -> AC3Filter -> Sound Renderer). Remove the Sound Renderer and add WAV Dest/File Writer. Press Play and you get a wav file with S/PDIF ac3 data inside. This wav file should be playable in all DirectShow-players, it has FormatTag 0x92. The FormatTag 0x92 will force the soundcard not to apply any change to the data and pass it directly through S/PDIF. But for what do you need that? This is only useable if you want to store 44100Hz AC3-content on a CD. The output played with this wav is exatly the same as if you directly play the ac3 with S/PDIF out.


I also tested this VBR-AC3 on my receiver (Sherwood RD-6106R): No problem, plays prefectly with AC3Filter S/PDIF out. All software decoders except liba52-based and Moonlight Odio Dekoda failed on playing VBR-AC3.

As I have already written in the original thread I don´t see anything in the ATSC A/52 Specs that disallows vbr-ac3, and it seems that the receivers can hadle it yust fine. But is it also allowed on DVD?
Title: AC3/DTS Talk
Post by: Latexxx on 2004-04-11 21:34:38
Quote
edit2: also, i hear film duping houses are going to make/rent prints with SDDS only on demand as they're becoming less and less in demand... (that from a tech's mouth, this year)

At least my local theater uses almost exclusively SDDS even though they have Dolby Digital, DTS, and even a freaky THX sertificate. The only film I remember them showing using some other audio track is Star Wars (NB This information is only based on trailers).

Quote
As I have already written in the original thread I don´t see anything in the ATSC A/52 Specs that disallows vbr-ac3, and it seems that the receivers can hadle it yust fine. But is it also allowed on DVD?


My Philips DVD-722 has on-screen bitrate display and the bitrate of the soundtrack is going up and down all the time. I believe it is ABR.
Title: AC3/DTS Talk
Post by: MoOsEb0y on 2004-05-09 22:52:09
I was able to play the test sample just fine on an Aiwa Dolby Digital Receiver. (Don't know the model, it's not marked) I outputted it using ac3dec in consumer mode on a Linux machine with the SPDIF on the motherboard using a coax connection. Worked just dandily, though I could definately notice the artifacts you mentioned.
Title: AC3/DTS Talk
Post by: barnashi on 2004-07-09 00:09:12
Quote
Quote
I did a test at doom9 once: Using a patched ac3enc.dll (thanks to S_O) that outputs VBR streams (it just randomizes the bitrates), I encoded a multichannel stream and tested it with several decoders.

In case someone is wondering, here is the thread:
http://forum.doom9.org/showthread.php?s=&t...&threadid=33966 (http://forum.doom9.org/showthread.php?s=&threadid=33966)

I can upload the patched AC3enc DLL is someone is interested.

Also, I would like to invite anyone with a receiver to test VBR decoding

This is the VBR stream, from "The Wall" DVD:
http://pessoal.onda.com.br/rjamorim/Test.ac3 (http://pessoal.onda.com.br/rjamorim/Test.ac3)

You'll notice some times the quality drops badly. You'll understand why if you read the thread at doom9 :B

If you test it, please report:
-Brand and model of receiver
-What you used to send the stream over S/PDIF. I know Moonlight Odio Dekoda can decode VBR, but I don't know if it can send it over S/PDIF.

Thanks.

Regards;

Roberto.
[a href="index.php?act=findpost&pid=157047"][{POST_SNAPBACK}][/a]


Hi rjamorim.
I tested the file you uploaded using winamp 5 with the ac3 plugin (based on ac3filter 0.70 or 1.01, I think it was 0.70). the configuration utility wouldn't let me use s/pdif but when I chose 5.1 channels (2/3 + lfe) I heard the stream fine, in all 6 channels.
also intervideo ac3 filter didn't let me choose the s/pdif mode (it's gray scaled) but when I choose 6 channels all movies ( using ac3 or ac3dvm codec) sounds fine on all 6 channels.

I use Yamaha HTR-5540 reciever connected to the other end of the optical cable.
Title: AC3/DTS Talk
Post by: useless_engineer on 2004-07-09 02:33:30
Quote
If you test it, please report:
-Brand and model of receiver
-What you used to send the stream over S/PDIF. I know Moonlight Odio Dekoda can decode VBR, but I don't know if it can send it over S/PDIF.


The stream decodes successfully on my Denon AVR-1601 no funny noises (well obvious decoding errors anyway, not counting artifacts and such)... the synth near the end of the example doesn't seem to be playing any games with respect to bass extension 

I sent the signal via Coax SPDIF through my Hercules Fortissimo III, from Winamp 5, Valex's AC3 Decoder v0.60b

...Although winamp does not correctly report the VBR bitrate
Title: AC3/DTS Talk
Post by: jason_taverner on 2004-07-09 07:58:23
Just played it to my SONY STR-DB780 amp and it went fine.

Using media player classic and the spdif on my extigy and then an optical lead to pipe the ac3 to the amp.

Unsurprisingly the inbuilt ac3 decoder of the extigy chokes and gives lots of skips and silences. I'm wondering if my dvd player's decoder can handle it, ill try and see if it'll read ac3s off a cd, since it reads mp3s.... nope it doesent. If you can up with a quick way to put an ac3 onto a dvd so that a dvd-player would read it I could test it tho. I know it reads movies onto +rw no problem.

JT
Title: AC3/DTS Talk
Post by: DeepDose on 2004-07-19 07:20:14
using PowerDVD on my 5.1 setup.....the Kill Bill DVD in 5.1 DTS is 768kps  ....and sounds amazing