Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 1st November 2008, 23:10   #6821  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Would it be possible to add a switch that detects playlists that are shorter in length than the current cutoff?
Snowknight26 is offline  
Old 2nd November 2008, 09:48   #6822  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Quote:
Originally Posted by tebasuna51 View Post
Thanks nautilus7. With the new samples from DTS PRO ENCODER y can confirm:

- When make 'Ls Cs Rs 5.1 ES' (ES 3/3.1 matrix) or 'Ls Cs Rs 6.1 ES' (ES 3/3.1 discrete) the option 'phase shift' is available and default to 'yes' (with a standard 'Ls Rs' 5.1 we can't select 'phase shift')

- If 'phase shift' is selected the input channels Ls Rs are modified to:
Ls' = +45º phase shift Ls
Rs' = -45º phase shift Rs

- The mix with Cs is (or LS',Rs'):
Ls'' = Ls + 0.707 x Cs
Rs'' = Rs + 0.707 x Cs

- I always have a crash when decode a ES matrix with -7 (sorry ACrowley I can't confirm your post, the phase shift don't modify this behaviour for me)
yeah..as i say -7 works only on some dts es matrix Tracks. But no with encodes from dts pro series.

Generally, would you enalbe phase shift when reencoding to dts es matrix/discrete 6.1 ? Or can it be a Problem when you reencode those dts encodes with phase shift?
ACrowley is offline  
Old 2nd November 2008, 10:51   #6823  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by ACrowley View Post
Generally, would you enalbe phase shift when reencoding to dts es matrix/discrete 6.1 ? Or can it be a Problem when you reencode those dts encodes with phase shift?
I think the phase shift is intended to difference the Ls Rs channel to make easy recover the Cs, like the common part in the Ls'' Rs''.

Then if Ls and Rs are similar is better apply the phase shift but if Ls Rs was generated previously with some phase shift maybe a new phase shift can be worse.

In a conversion DTS-ES -> wav -> some changes -> DTS-ES isn't recommended apply phase shift (must be already phase shifted, was extracted to Ls Rs because are different).
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 2nd November 2008, 20:29   #6824  |  Link
frenchglen
Registered User
 
Join Date: Apr 2007
Posts: 60
I'm trying to extract AC3 from a TrueHD/AC3 track in a blu-ray m2ts. Can someone please tell me what I'm doing wrong?

Here's what I do and what it says:

Code:
W:\STREAM>eac3to 00010.m2ts trackno:1 track1.ac3
M2TS, 1 video track, 3 audio tracks, 8 subtitle tracks, 2:06::02
1: Chapters, 15 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
4: AC3, French, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
5: AC3, Spanish, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
6: Subtitle (PGS), English
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
10: Subtitle (PGS), Portuguese
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
13: Subtitle (PGS), English
Track 3 is used for destination file "1".
Track 3 is used for destination file "track1.ac3"
This audio conversion is not supported.

W:\STREAM>
Thanks for your help
frenchglen is offline  
Old 2nd November 2008, 20:42   #6825  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Code:
eac3to 00010.m2ts 3: track1.ac3
nautilus7 is offline  
Old 2nd November 2008, 21:07   #6826  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by MichaelAnders View Post
I don't have the tool you talked about, so here is the DTS file. I demuxed it via tsmuxergui, just the first 90 seconds. Interestingly, tsmuxergui also says it is 6 channels...
I don't think that tsmuxer can reliably detect the number of channels in a DTS-HD file. AFAIK eac3to is the only freeware tool that can do that.

The DTS sample you uploaded is kind of strange. I don't have any problems with the channel order. However, the front left and front right channels seem to be plain broken if I decode the track to 7.1 with ArcSoft. I'm not sure if the track itself is broken or whether this is caused by a bug in ArcSoft. You can use the "-6" parameter to force ArcSoft into decoding the track as 5.1, only. I think this is the best you can do right now.

Quote:
Originally Posted by Thunderbolt8 View Post
This is a SkyHD broadcast and I heard from other people that eac3to might have problems with these 'new' ac3 tracks from sky. so is this really only a broken track or are there also other newer sky caps which caused problems?
I've had a look at that sample you uploaded (thanks). As far as I can say the sample is not correctly authored. But since there's nothing we can do about that, I changed the way eac3to demuxes TS and m2ts files now. For non-broken files there should (hopefully) be no difference. But the sample you uploaded works fine now with the latest eac3to build.

Please note that xport fails to demux this sample, just as the old eac3to version does. That's because both xport and eac3to relied on the transport stream to be conformant to specs. TsRemuxer and tsMuxeR both demuxed it fine. It seems that they're using the same demuxing logic which the latest eac3to version now also uses. I guess that it's a bit more error tolerant.

Quote:
Originally Posted by Thunderbolt8 View Post
thats what I was refering to, I was using wavepad. but is the beginning of the ac3 track, for example the same tone or note, exactly the same beginning of a flac track as well? as it was said, flac has a higher quality/bitrate so this 'more' must be manifested somewhere in the graph?
The difference between FLAC and (a good quality) AC3 track is very small in a wave editor. Volume differences or DRC show much more obvious differences in a wave editor. So it's really easy to compare audio tracks to find the right delay. It doesn't matter which format they're stored in. Of course in order to compare them you have to decode them to WAV first...

Quote:
Originally Posted by svgame View Post
i am so sorry.but there still has a problem.
If there's still a problem then it's not a problem in eac3to, but a problem with Scenarist or with the way you're trying to use eac3to and/or Scenarist. Since I never used Scenarist before, I can't help you with that. If you still need help, please open a new thread, because this thread is not supposed to be a "how to use Scenarist" thread.

Quote:
Originally Posted by Anacletus View Post
Hi all, maybe a dumb question.. i have a BluRay with a Dolby trueHD track i want to extract.. i've read a lot here but still im confused on what to do..

Should i extract the THD to flac and then convert the flac to ac3 640? or should i extract the thd+ac3 and just use the ac3?
What you should do depends on what you want to achieve. If you want a FLAC track then ask eac3to to create a FLAC track for you. If you want an AC3 track then ask eac3to to create an AC3 track for you. It's as simple as that...

Quote:
Originally Posted by bmnot View Post
[a02] This track is not clean. Processing aborted.
[a02] Please clean the track with delaycut and then retry eac3to.
Aborted at file position 16853820240.


madshi, can you add a switch to ignore or skip over these types of errors. The only time I ever get them is with Blu-rays, and that message doesn't occur until the VERY end of the file. The error reported above is actually the very last byte of the entire file (total size: 16,853,820,240 bytes)
Can you please upload the last 20-50MB of the problematic m2ts file for me to check?

Quote:
Originally Posted by 73ChargerFan View Post
IIRC, the answer given for this question was "don't worry", but worry I will...
That's your problem, not mine...

Quote:
Originally Posted by bmnot View Post
[a04] The ArcSoft decoder doesn't seem to work, will use Sonic instead.
[a04] The Sonic Audio Decoder doesn't decode the XXCh channel extension..


It's a 7.1 DTS-HD HR track. I don't want to install Arcsoft so I'll stick with Surcode. The resulting flac is 5.1, what happened to the 2 extra rears, were they dropped or mixed into the surrounds?
Not sure. Sometimes Sonic mixes the surrounds, sometimes not.

Quote:
Originally Posted by tebasuna51 View Post
Thanks nautilus7. With the new samples from DTS PRO ENCODER y can confirm:

- When make 'Ls Cs Rs 5.1 ES' (ES 3/3.1 matrix) or 'Ls Cs Rs 6.1 ES' (ES 3/3.1 discrete) the option 'phase shift' is available and default to 'yes' (with a standard 'Ls Rs' 5.1 we can't select 'phase shift')

- If 'phase shift' is selected the input channels Ls Rs are modified to:
Ls' = +45º phase shift Ls
Rs' = -45º phase shift Rs

- The mix with Cs is (or LS',Rs'):
Ls'' = Ls + 0.707 x Cs
Rs'' = Rs + 0.707 x Cs
Ouch. Never seen a 45° phase shift before. Are there other situations apart from this one (6.1 -> 5.1 matrix) where such odd phase shifts are used?

Quote:
Originally Posted by Snowknight26 View Post
Would it be possible to add a switch that detects playlists that are shorter in length than the current cutoff?
Would you want such a switch to turn of ANY runtime checks? Or do you just want to lower the min runtime a little? I'm asking because there are Blu-Rays with hundreds of playlists!
madshi is offline  
Old 2nd November 2008, 21:12   #6827  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v2.73 released

http://madshi.net/eac3to.zip

Code:
* changed TS demuxing logic to make the broken (!) new SkyHD broadcasts work
* DTS core and "TrueHD/AC3" AC3 parameters are displayed separately now
* when using "-core" option, eac3to now bases its decisions on core parameters
* added WAV/W64/RF64 read/write support for 32bit PCM and 32/64 bit float
* option "-full" allows WAV/W64/RF64 output to be native (default <= 24bit PCM)
* Surcode DTS encoding is now done with up to 32bit float (if available)
* Aften AC3 encoding is now done with up to 64bit float (if available)
Here are some encoder bitdepth tidbits:

(1) Surcode accepts 16bit PCM, 24bit PCM, 32bit PCM and also 32bit float WAV files. But the DTS Pro encoder only accepts 16bit PCM and 24bit PCM files!
(2) The Nero AAC encoder is currently also limited to 24bit PCM input.
(3) When using libav decoders and the Aften or Surcode encoder, eac3to has a full floating point chain now from decoder to encoder, including all processing steps in between.

Question: Does anybody have any Dolby Digital "EX" samples for me?
madshi is offline  
Old 2nd November 2008, 21:12   #6828  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by madshi View Post
Would you want such a switch to turn of ANY runtime checks? Or do you just want to lower the min runtime a little? I'm asking because there are Blu-Rays with hundreds of playlists!
Yes, the former, with the reason being that one of my Blu-rays has hundreds of playlists that I need to go through and check. ^^

Last edited by Snowknight26; 2nd November 2008 at 21:15.
Snowknight26 is offline  
Old 2nd November 2008, 21:22   #6829  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
eac3to v2.73 released

http://madshi.net/eac3to.zip

* changed TS demuxing logic to make the broken (!) new SkyHD broadcasts work*
Thunderbolt8 is offline  
Old 2nd November 2008, 21:31   #6830  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by madshi View Post
eac3to v2.73 released
Thanks!

Quote:
Originally Posted by madshi View Post
Question: Does anybody have any Dolby Digital "EX" samples for me?
I may have some from the StarWars dvds. I will upload later tonight or tomorrow.

EDIT: StarWars IV AC3 (pal)

Last edited by nautilus7; 2nd November 2008 at 22:27.
nautilus7 is offline  
Old 3rd November 2008, 01:04   #6831  |  Link
hd1080
Registered User
 
Join Date: Feb 2008
Posts: 8
i get an error with v.2.73

Quote:
eac3to v2.73
command line: eac3to "L:\PURPUR_1_BD\BDMV\STREAM\00000.m2ts" 1:"j:\fluss_chapters.txt" 3:"j:\fluss_german.dts" -core 4:"j:\fluss_french.dts" -core
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:45:48
1: Chapters, 23 chapters
2: VC-1, 1080p24 (16:9)
3: DTS Hi-Res, German, 6.1 channels, 16 bits, 2556kbps, 48khz
(core: DTS-ES, 6.1 channels, 16 bits, 1536kbps, 48khz)
4: DTS Hi-Res, French, 6.1 channels, 16 bits, 2556kbps, 48khz
(core: DTS-ES, 6.1 channels, 16 bits, 1536kbps, 48khz)
5: DTS, French, 2.0 channels, 16 bits, 1536kbps, 48khz
6: Subtitle (PGS), German
7: Subtitle (PGS), German
Creating file "j:\fluss_chapters.txt"...
[a03] Extracting audio track number 3...
[a04] Extracting audio track number 4...
[a04] Extracting DTS core...
[a03] Extracting DTS core...
[a04] Patching bitdepth to 24 bits...
[a03] Patching bitdepth to 24 bits...
[a03] Creating file "j:\fluss_german.dts"...
[a04] Creating file "j:\fluss_french.dts"...
[a03] This track is not clean. Processing aborted.
[a03] Please clean the track with delaycut and then retry eac3to.
Aborted at file position 32825124864.
but with v2.66 it works fine

Quote:
eac3to v2.66
command line: eac3to "L:\PURPUR_1_BD\BDMV\STREAM\00000.m2ts" 3:"j:\fluss_german.dts" -core 4:"j:\fluss_french.dts" -core
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:45:48
1: Chapters, 23 chapters
2: VC-1, 1080p24 (16:9)
3: DTS Hi-Res, German, 6.1 channels, 16 bits, 2556kbps, 48khz
4: DTS Hi-Res, French, 6.1 channels, 16 bits, 2556kbps, 48khz
5: DTS, French, 2.0 channels, 16 bits, 1536kbps, 48khz
6: Subtitle (PGS), German
7: Subtitle (PGS), German
[a03] Extracting audio track number 3...
[a04] Extracting audio track number 4...
[a03] Extracting DTS core...
[a04] Extracting DTS core...
[a03] Patching bitdepth to 24 bits...
[a04] Patching bitdepth to 24 bits...
[a03] Creating file "j:\fluss_german.dts"...
[a04] Creating file "j:\fluss_french.dts"...
Video track 2 contains 152350 frames.
eac3to processing took 14 minutes, 51 seconds.
Done.
hd1080 is offline  
Old 3rd November 2008, 02:44   #6832  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by madshi View Post
Ouch. Never seen a 45° phase shift before. Are there other situations apart from this one (6.1 -> 5.1 matrix) where such odd phase shifts are used?
Well I only can demostrate the 45º phase shift at 500 Hz (see the pure tone in samples), but is a frequency enough representative.

And don't know for what, or if is used in other cicumstances.

Thanks for the new relase.

Code:
* option "-full" allows WAV/W64/RF64 output to be native (default <= 24bit PCM)
sorry, I don't understand the meaning.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 3rd November 2008, 08:38   #6833  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by hd1080 View Post
i get an error with v.2.73

but with v2.66 it works fine
Ouch. Is that the very end of the movie? Please check the file size of "00000.m2ts". Is that near to the reported 32825124864 file position?

Quote:
Originally Posted by tebasuna51 View Post
Code:
* option "-full" allows WAV/W64/RF64 output to be native (default <= 24bit PCM)
sorry, I don't understand the meaning.
If you ask eac3to to output any audio source as WAV/W64/RF64, eac3to by default makes sure that the audio data is not any higher than 24bit PCM. If the source audio data is 32bit PCM, it gets dithered down to 24bit. If the audio data is floating point, it gets rounded to 32bit PCM and then dithered down to 24bit.

The "-full" switch tells eac3to that you don't want the bitdepth to be converted when creating WAV/W64/RF64 files. That means if the source is 32bit PCM (and you do no processing on the audio data) the destination WAV/W64/RF64 will be created as 32bit PCM. Or if the source is floating point (or if you did any processing which results in the source being converted to floating point) eac3to will create 64bit floating point WAV/W64/RF64 files.

The "-full" switch simply disables the downconvertion to max 24bit PCM. The switch only affects the creation of WAV/W64/RF64 files.
madshi is offline  
Old 3rd November 2008, 10:40   #6834  |  Link
J0nThn
Registered User
 
Join Date: Oct 2008
Posts: 10
I've got the same problem as reported by hd1080.

Quote:
wine ~/tools/eac3to273/eac3to.exe ../TOTAL_RECALL "1)" 7:Total.Recall.Blu-Ray.23.976fps.DTS.FRENCH_2.dts 7:Total_Recall.DD5.1.French_2.ac3 13:French_2.sup

M2TS, 1 video track, 5 audio tracks, 11 subtitle tracks, 1:53:34
1: Chapters, 16 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 16 bits, 48khz
(core: DTS, 5.1 channels, 16 bits, 1536kbps, 48khz)
4: DTS Hi-Res, Portuguese, 5.1 channels, 16 bits, 2083kbps, 48khz
(core: DTS, 5.1 channels, 16 bits, 1536kbps, 48khz)
5: DTS Hi-Res, German, 5.1 channels, 16 bits, 2083kbps, 48khz
(core: DTS, 5.1 channels, 16 bits, 1536kbps, 48khz)
6: DTS, Spanish, 2.0 channels, 16 bits, 1536kbps, 48khz
7: DTS Hi-Res, French, 5.1 channels, 16 bits, 2083kbps, 48khz
(core: DTS, 5.1 channels, 16 bits, 1536kbps, 48khz)
8: Subtitle (PGS), English
9: Subtitle (PGS), Portuguese
10: Subtitle (PGS), Danish
11: Subtitle (PGS), German
12: Subtitle (PGS), Spanish
13: Subtitle (PGS), French
14: Subtitle (PGS), Spanish
15: Subtitle (PGS), Dutch
16: Subtitle (PGS), Norwegian
17: Subtitle (PGS), Finnish
18: Subtitle (PGS), Swedish

[a07] The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
[a07] The libav DTS decoder doesn't decode the full DTS-HD information.
[a07] Extracting audio track number 7...
[a07] Extracting audio track number 7...
[s13] Extracting subtitle track number 13...
[a07] Extracting DTS core...
[a07] Patching bitdepth to 24 bits...
[a07] Decoding with libav/ffmpeg...
[a07] Remapping channels...
[a07] Encoding AC3 <640kbps> with libAften...
[a07] Patching bitdepth to 24 bits...
[a07] Creating file "Total.Recall.Blu-Ray.23.976fps.DTS.FRENCH_2.dts"...
[a07] Creating file "Total_Recall.DD5.1.French_2.ac3"...
[s13] Creating file "French_2.sup"...
[a07] This track is not clean. Processing aborted.
[a07] Please clean the track with delaycut and then retry eac3to.
Aborted at file position 27470180352.
And the aborted position correspond to the end of the m2ts.
Code:
27470180352  1 nov 19:58 ../TOTAL_RECALL/BDMV/STREAM/00156.m2ts
J0nThn is offline  
Old 3rd November 2008, 10:47   #6835  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by J0nThn View Post
I've got the same problem as reported by hd1080.
From which country is that Total Recall Blu-Ray? Could you upload the last 20-50MB of 00156.m2ts for me?
madshi is offline  
Old 3rd November 2008, 14:21   #6836  |  Link
donis
Registered User
 
Join Date: Sep 2007
Posts: 6
Quote:
Originally Posted by madshi View Post
Question: Does anybody have any Dolby Digital "EX" samples for me?
War.2007.DD-EX.ac3

Saw.IV.2007.DD-EX.ac3

Oldboy.2003.DD-EX.ac3

All 3 are DD-EX @ 640 Kbps.
donis is offline  
Old 3rd November 2008, 15:48   #6837  |  Link
qyqgpower
Registered User
 
Join Date: Jul 2005
Posts: 108
Could eac3to split audio tracks with chapter info or at specified time point?
I use DGAVCIndex to spilt H264 video at IDR frame and demux audio tracks, it's fine with AC3 and LPCM.
But for TrueHD, only the first demuxed one can be recognized by eac3to.
qyqgpower is offline  
Old 3rd November 2008, 16:20   #6838  |  Link
J0nThn
Registered User
 
Join Date: Oct 2008
Posts: 10
Quote:
Originally Posted by madshi View Post
From which country is that Total Recall Blu-Ray? Could you upload the last 20-50MB of 00156.m2ts for me?
It's European version.

Here is the sample you requested : End_00156.m2ts (35Mb)
J0nThn is offline  
Old 3rd November 2008, 16:26   #6839  |  Link
hd1080
Registered User
 
Join Date: Feb 2008
Posts: 8
Quote:
Originally Posted by madshi View Post
Ouch. Is that the very end of the movie? Please check the file size of "00000.m2ts". Is that near to the reported 32825124864 file position?
yep the filesize is 32.825.124.864 Byte
hd1080 is offline  
Old 3rd November 2008, 18:08   #6840  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by donis View Post
Thanks! That should help me adding DD-EX detection sooner or later...

Quote:
Originally Posted by qyqgpower View Post
Could eac3to split audio tracks with chapter info or at specified time point?
I use DGAVCIndex to spilt H264 video at IDR frame and demux audio tracks, it's fine with AC3 and LPCM.
But for TrueHD, only the first demuxed one can be recognized by eac3to.
I'm not sure what you mean with the last sentence. Anyway, sure I could in theory add splitting functionality to eac3to, but to be honest: I don't think there's much demand for that. I have so many things on my to do list where demand is a lot bigger...

Quote:
Originally Posted by J0nThn View Post
It's European version.

Here is the sample you requested : End_00156.m2ts (35Mb)
Thanks. Will be fixed in the next build.

Quote:
Originally Posted by hd1080 View Post
yep the filesize is 32.825.124.864 Byte
Should also be fixed in the next build.
madshi is offline  
Closed Thread

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.