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 August 2012, 17:31   #11741  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Changing the speed means eac3to has to re-encode the audio and 448 is the default bitrate.
sneaker_ger is offline  
Old 2nd August 2012, 01:18   #11742  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
With Lame you can specify the bitrate (CBR 128 Kb/s is the default) with:

CBR: lame -b 160 - new-file-created.mp3
VBR: lame -V 2 - new-file-created.mp3
With V (0 best .. 5 medium .. 9 low quality)

With internal AC3 encoder (448 default for stereo, 640 for 5.1)
you can use -192, -224, -256, -320, -384, -448, -512, -576 or -640 to specify your desired bitrate
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 9th August 2012, 21:58   #11743  |  Link
Skwelcha
<(ovO)>
 
Join Date: Jun 2011
Location: Bremen, Germany
Posts: 50
I get a "Patching bitdepth to 24 bits..." message when I try to extract the DTS core of a 16bit DTS-MA track and the DTS core is 24bit after that. Shouldnt it bet 16bit?
Skwelcha is offline  
Old 9th August 2012, 23:23   #11744  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Ignore that. Lossy formats don't have a bit-depth.
Snowknight26 is online now  
Old 10th August 2012, 14:52   #11745  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
Because you are extracting the lossy core. DTS is usually labeled as 24 bit despite people claiming that there is no such thing as bit depth in lossy formats.
ramicio is offline  
Old 10th August 2012, 16:52   #11746  |  Link
Skwelcha
<(ovO)>
 
Join Date: Jun 2011
Location: Bremen, Germany
Posts: 50
alright weird though that mediainfo reports 16bit sometimes and other times 24bit DTS tracks, but I will ignore it from now on then.
Thanks for the help.
Skwelcha is offline  
Old 10th August 2012, 21:26   #11747  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
The header of the DTS core contains a field "Source PCM resolution", which should indicate the bit depth of the original pcm files, before they where compressed with the DTS codec. Nevertheless, this value can be altered manually during / after the encoding, so it can be a fake value. And even if the source PCM really was 24bit PCM, this bit depth is likely to be almost lost, since the DTS core, as already said, is a lossy compression.

Therefore, if I would like to decode a DTS core to a lossless format like PCM or flac using eac3to, I would always use the "-down16" switch, since the additional size of a 24bit target file IMHO is wasted space on my HDD.

C.U. Nanobot
NanoBot is offline  
Old 14th August 2012, 09:08   #11748  |  Link
MGSteve
Registered User
 
Join Date: Jul 2005
Posts: 26
Has anyone had issues extracting the Right eye channel from Despicable Me 3D? Every time I do it, I get an out of memory error.

Only the right eye, everything else extracts fine. It even does it if I try and extract it straight from the disc.
MGSteve is offline  
Old 19th August 2012, 18:53   #11749  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
So, for 5.1 eac3to writes a 0x0000060F dwChannelMask, but MadFLAC ignores that and does 0x0000003F. I know madFLAC doesn't change all channel masks, because I have some that are odd and they still show through (0x00000107). Seeing that both things are by the same author, why 0x0000060F? 5.1 uses rear speakers, not side. The "S" when labeling "SR" or "SL" doesn't mean "side," it means "surround." Obviously the audio device needs the correct channel mask for mixing or whatever, so I think when eac3to deals with 5.1 it should do 0x0000003F.

Also, if I strip the header off of a WAV file and specify the input parameters, does it eac3to read the standard WAV channel ordering or does it assume some other funky (lpcm) ordering?

Last edited by ramicio; 19th August 2012 at 18:55.
ramicio is offline  
Old 20th August 2012, 11:09   #11750  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by ramicio View Post
So, for 5.1 eac3to writes a 0x0000060F dwChannelMask, but MadFLAC ignores that and does 0x0000003F. I know madFLAC doesn't change all channel masks, because I have some that are odd and they still show through (0x00000107). Seeing that both things are by the same author, why 0x0000060F? 5.1 uses rear speakers, not side. The "S" when labeling "SR" or "SL" doesn't mean "side," it means "surround." Obviously the audio device needs the correct channel mask for mixing or whatever, so I think when eac3to deals with 5.1 it should do 0x0000003F.
This was discussed already in this thread.

Until XP SP2, if I remember well, only the channel mask 0x0000003F was defined by M$ like standard 5.1 (Surround channels -> Back channels BL-BR), but after XP SP2 the channel mask 0x0000060F was the preferred to 5.1 (Surround channels -> Side channels SL-SR), maintaining the old mask like valid 5.1

Then new soft, M$ compliant, must accept both mask like equivalent for 5.1, and old soft maybe can reject 0x0000060F.
I recommended to madshi use always 0x0000003F, but ...

Quote:
Also, if I strip the header off of a WAV file and specify the input parameters, does it eac3to read the standard WAV channel ordering or does it assume some other funky (lpcm) ordering?
If you use, for a 6 chan, 16 bits, 48 KHz:

-override -little -6 -16 -48000

the channel order is assumed like WAV

-override -big -6 -16 -48000

the channel order is assumed like PCM
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 20th August 2012, 17:27   #11751  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
Quote:
Originally Posted by tebasuna51 View Post
This was discussed already in this thread.

Until XP SP2, if I remember well, only the channel mask 0x0000003F was defined by M$ like standard 5.1 (Surround channels -> Back channels BL-BR), but after XP SP2 the channel mask 0x0000060F was the preferred to 5.1 (Surround channels -> Side channels SL-SR), maintaining the old mask like valid 5.1

Then new soft, M$ compliant, must accept both mask like equivalent for 5.1, and old soft maybe can reject 0x0000060F.
I recommended to madshi use always 0x0000003F, but ...
It's weird. Eac3to writes 0x0000060F, but madFLAC ignores that and sends 0x0000003F to the audio renderer. As long as madFLAC gives me 0x0000003F, I'm happy.

Quote:
Originally Posted by tebasuna51 View Post
If you use, for a 6 chan, 16 bits, 48 KHz:

-override -little -6 -16 -48000

the channel order is assumed like WAV

-override -big -6 -16 -48000

the channel order is assumed like PCM
Thank you
ramicio is offline  
Old 24th August 2012, 07:38   #11752  |  Link
Furiousflea
Registered User
 
Join Date: Aug 2006
Posts: 696
Hi there, getting a problem with two RAW\PCM 2.0 24bit 96khz tracks on "Beatles - Yellow Submarine" Bluray...

Quote:
[07:31:59] Retrieving features
[07:31:59] Arguments: "C:\Users\Rob\Desktop\YELLOW SUBMARINE"
[07:31:59] Feature Retrieval Completed
[07:32:00] Retrieving streams
[07:32:00] Arguments: "C:\Users\Rob\Desktop\YELLOW SUBMARINE" 1) -progressnumbers
[07:32:01] Stream Retrieval Completed
[07:33:08] Extracting streams
[07:33:08] Arguments: "C:\Users\Rob\Desktop\YELLOW SUBMARINE" 1) (HAVE CHOPPED THIS OFF TO STOP MESSING UP FORUM FORMATTING - JUST COMPRESSING AUDIO TO FLAC AND EXTRACTING SUBTITLES\VIDEO)
[07:33:09] Creating file "D:\source\yellow submarine\1_1_chapter.txt"...
[07:33:09] s09 Extracting subtitle track number 9...
[07:33:09] a04 Extracting audio track number 4...
[07:33:09] v02 Extracting video track number 2...
[07:33:09] v02 Muxing video to Matroska...
[07:33:09] a05 Extracting audio track number 5...
[07:33:09] a05 Reading RAW/PCM...
[07:33:09] a05 Swapping endian...
[07:33:09] a05 Encoding FLAC with libFlac...
[07:33:09] a08 Extracting audio track number 8...
[07:33:09] a03 Extracting audio track number 3...
[07:33:09] a03 Decoding with ArcSoft DTS Decoder...
[07:33:09] a03 Encoding FLAC with libFlac...
[07:33:09] s10 Extracting subtitle track number 10...
[07:33:09] a04 Reading RAW/PCM...
[07:33:09] a04 Swapping endian...
[07:33:09] a04 Encoding FLAC with libFlac...
[07:33:12] a04 The ts pcm reader received a PCM block in an unexpected format.
[07:33:12] a05 The ts pcm reader received a PCM block in an unexpected format.
[07:33:13] a03 Creating file "D:\source\yellow submarine\1_3_audio.flac"...
[07:33:14] a08 Creating file "D:\source\yellow submarine\1_8_audio.ac3"...
[07:34:36] s10 Creating file "D:\source\yellow submarine\1_10_subtitle.sup"...
[07:35:52] s09 Creating file "D:\source\yellow submarine\1_9_subtitle.sup"...
Any ideas, thanks.

EDIT - Did a bit of investigating, looks like there were 3 m2ts in the mpls, the first one had didn't have PCM streams in it and the last one was just black for a few seconds.

Just loaded the m2ts directly and seems to have resolved the problem except no chapters hope I can get those out another way but I guess this is RESOLVED.

Last edited by tebasuna51; 24th August 2012 at 08:36.
Furiousflea is offline  
Old 24th August 2012, 15:08   #11753  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
That Blu-ray is an absolute mess to work with. The tracks are 24/48, even though they report as 24/96.
ramicio is offline  
Old 25th August 2012, 11:05   #11754  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,309
I've encouter cases where chapters are not on the m2ts file but only on the .mpls file. You have to get them from it.
jpsdr is offline  
Old 31st August 2012, 00:21   #11755  |  Link
mastrandrea
Registered User
 
Join Date: Mar 2010
Posts: 15
I need to convert a 7-channels dts to ac3 5.1.
The channels are mapped as this:
Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE (from MediaInfo).

I do not own any commercial DTS encoder, are there any other tools I can use with eac3to to process this file?

Thanks
mastrandrea is offline  
Old 31st August 2012, 14:37   #11756  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 683
eac3to <input> <output> -down6 -640 (ac3 bit rate, can be any standard bit rate number)
ramicio is offline  
Old 31st August 2012, 15:27   #11757  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by mastrandrea View Post
I need to convert a 7-channels dts to ac3 5.1.
The channels are mapped as this:
Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE (from MediaInfo).

I do not own any commercial DTS encoder, are there any other tools I can use with eac3to to process this file?

Thanks
Quote:
Originally Posted by ramicio View Post
eac3to <input> <output> -down6 -640 (ac3 bit rate, can be any standard bit rate number)
I like to add that according this post and this post you'll need to remap channels when downmix 6.1 to 5.1 with eac3to.

Also, if you mean you don't have any commercial DTS decoder (like ArcSoft or Sonic) then eac3to will using libav to decode and it can only output 5.1 anyway. [EDIT] Not sure in this case you'll need to remap or not.[/EDIT]

Last edited by the_weirdo; 31st August 2012 at 15:31.
the_weirdo is offline  
Old 31st August 2012, 19:54   #11758  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
The ramicio solution must work always.

- The source is 7.1 then not needed remap (only 6.1 need)
- If a decoder like ArcSoft is not installed (Sonic don't decode 7.1, I think) the -down6 is ignored.

BTW, there are demo versions of ArcSoft decoder than work with eac3to. Use the search.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 31st August 2012, 22:04   #11759  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by mastrandrea View Post
...a 7-channels dts to ac3 5.1.
The channels are mapped as this:
Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE (from MediaInfo)...
Well, from what he states in his post and information from MediaInfo, I guess his DTS is 6.1, not 7.1.
the_weirdo is offline  
Old 31st August 2012, 22:46   #11760  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by the_weirdo View Post
Well, from what he states in his post and information from MediaInfo, I guess his DTS is 6.1, not 7.1.
Sorry, you are rigth. My mistake.

Then, if you have ArcSoft/Sonic decoder the remap is necesary:

eac3to <input> <output> -down6 -0,1,2,3,5,6,4
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 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 02:40.


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