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

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2009, 14:03   #8341  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,663
Quote:
Originally Posted by halsboss View Post
but am not sure what "-mixlfe" does. Or "-phaseshift". The ac3 always seems very quiet so I bumped it up by an arbitrary 6db.
-mixlfe is not recommended by Dolby because can produce artifacs, but you can make the two versions and compare.
-phaseshift is not recommended if source is ac3 because the surround channels are already phaseshifted, if you do other phaseshift the result was wrong.
-normalize is the parameter recommended after a downmix to obtain the max volume, instead the arbitrary +6dB

Quote:
I gather DRC is a good thing since it lessens the difference between loud things such as bangs and normal speaking, so when increasing the volume so I can hear them speaking (I'm slightly deaf) it won't blow the family away when a bang occurs... is that right ? and if so, can we do DRC with eac3to ?
DRC is a good thing when play the audio, but use it to reencode is lose quality. If you play with PC you can use AC3Filter to add DRC on the fly. If you use receivers there are a 'night' mode to play.

Now eac3to don't decode with DRC activated and Aften can't do correct DRC management.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 22nd February 2009, 15:48   #8342  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 515
Subtitles still not showing on some Blurays.

I think there is a small bug in EAC3to way of parsing the mpls files and the m2ts files.

I did a test on Der Untergang (Nordic version)

Quote:
just to see which mpls and m2ts files are used...

d:\eac3to>eac3to "H:\"
1) 00007.mpls, 00010.m2ts+00009.m2ts, 2:35:23
- Chapters, 12 chapters
- h264/AVC, 1080p24 (16:9)


------------------------------------

d:\eac3to>eac3to "H:\" 1)
M2TS, 1 video track, 2 audio tracks, 4 subtitle tracks, 2:35:23, 24p
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 (16:9)
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
4: DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
7: Subtitle (PGS)
8: Subtitle (PGS)
v02 The video framerate is correct, but rather unusual.

Here we dont have any names on the subtitles, there should be, because when I open the mpls files in text mode I see this:

MPLS0200 : p   2   P00010M2TS  \P .    b   deu 00009M2TS  w   b  adeu  adeu  dan  nor  swe  swe   deu $   00008M2TS      B  %i  (*   G'   .  
6  3  SH  ;/  
 >

deu = Deutsch (German) (Audio)
dan = Danish (Subtitle)
nor = Norwegian (Subtitle)
swe = Swedish (Subtitle)
swe = Swedish (Subtitle) (Should have been Finnish, mastering error on the bluray, not eac3to fault)

But as you can see the mpls language/Subtitles are NOT always parsed and shown in eac3to. BUG!

---------------------------------------------
If I then try to parse the 2 m2ts files I also dont get any subtitle/language and I think its because eac3to only parse the first file begin 00010.m2ts which is a 1 sec long black screen video clip without audio/subtitles.

d:\eac3to>eac3to "H:\BDMV\STREAM\00010.m2ts"+"H:\BDMV\STREAM\00009.m2ts"
M2TS, 1 video track, 2 audio tracks, 4 subtitle tracks, 2:35:23, 24p
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 (16:9)
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
4: DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
7: Subtitle (PGS)
8: Subtitle (PGS)
v02 The video framerate is correct, but rather unusual.


---------------------------------------------
If I then skip the 00010.m2ts file and go for the 00009.m2ts which is the main video, it shows all the language and subtitles as indicated in the mpls file. GOOD!

d:\eac3to>eac3to "H:\BDMV\STREAM\00009.m2ts"
M2TS, 1 video track, 2 audio tracks, 4 subtitle tracks, 2:35:21, 24p
1: h264/AVC, 1080p24 (16:9)
2: AC3, German, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
3: DTS Master Audio, German, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
4: Subtitle (PGS), Danish
5: Subtitle (PGS), Norwegian
6: Subtitle (PGS), Swedish
7: Subtitle (PGS), Swedish
v01 The video framerate is correct, but rather unusual.

There is also a problem with extracting video and audio from this using the mpls file. Because the audio goes out of sync because of the small 00010.m2ts black screen file. Giving you this when extracting:

Quote:
d:\eac3to>eac3to "H:\" 1) 4:"D:\Audio.dts" -core
M2TS, 1 video track, 2 audio tracks, 4 subtitle tracks, 2:35:23, 24p
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 (16:9)
3: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
4: DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
7: Subtitle (PGS)
8: Subtitle (PGS)
v02 The video framerate is correct, but rather unusual.
a04 Extracting audio track number 4...
a04 0:00:00 Detected PTS break, increasing PTS by 41.7ms...
a04 Extracting DTS core...
a04 Removing DTS dialog normalization...
a04 Creating file "D:\Audio.dts"...
The audio is out of sync by 1-2 sec. The solution is to rip the files from the 00009.m2ts files (main movie) then the audio is in sync. Dont know if eac3to can make a work around for this.


Last a small request if possible. If you want to extract the chapters, is it then possible to do this without having eac3to to scan the video stream. As the chapters are located in the mpls file ?
GZZ is offline   Reply With Quote
Old 22nd February 2009, 17:26   #8343  |  Link
monohouse
Registered User
 
Join Date: Jul 2007
Posts: 94
-----

Last edited by monohouse; 17th January 2012 at 00:47.
monohouse is offline   Reply With Quote
Old 22nd February 2009, 17:53   #8344  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by monohouse View Post
yhe, you're right about 1) it makes alote of sense, I did know what I was talking about, but it was 2), dithering is right, but I didn't mention it for that reason.

so if three is no way to disable second pass, is the last version without 2nd pass still available ?
Here's the best place I know of that has older versions still available.

http://www.videohelp.com/tools/eac3t...sions#download
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 22nd February 2009, 19:24   #8345  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
@Madshi...

is this a bug ? Processing a HD-DVD, giving an explicit name eac3to accepts it, writes it in the log:

Code:
command line: "C:\Program Files\eac3to\eac3to.exe" "E:\" 1) 2: "C:\Temp\Batman Begins\Chapters_2.txt" 3: "C:\Temp\Batman Begins\Video_3.*" 6: "C:\Temp\Batman Begins\Audio_6_Undetermined.THD+AC3" -LOG="C:\Temp\Batman Begins\eac3to_PASS3_LOG.LOG"


...

[a06] Creating file "C:\Temp\Batman Begins\Audio_6_Undetermined.THD+AC3"
but actually writes :

Code:
Audio_6_Undetermined DELAY 200ms.THD+AC3
mrr19121970 is offline   Reply With Quote
Old 22nd February 2009, 21:13   #8346  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
madshi,

can you compare these flac files created by eac3to?

http://www.sendspace.com/file/scv0kk

The method:
Extract mlp+decode to wav with DVD-Audio Explorer 2008.07.21 (Beta3) by MaximA and retransmit to flac via eac3to.
Code:
eac3to\eac3to  C:\users\rica\desktop\tracs\E.wav C:\E\E_01.flac
------------------------------------------------------------------------------
WAV, 5.1 channels, 0:06:32, 24 bits, 13824kbps, 96khz
Reading WAV...
Encoding FLAC with libFlac...
Creating file "C:\E\E_01.flac"...
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 1 minute, 30 seconds.
Done.
It is perfect.

_ _ _ _ _ _ _

http://www.sendspace.com/file/8snz93

The method:


Extract mlp directly with DVD_Audio Explorer and transmit to flac with eac3to.
Code:
eac3to\eac3to  C:\users\rica\desktop\tracs\E_new.mlp C:\E\E_new.flac
------------------------------------------------------------------------------
MLP, 5.1 channels, 24 bits, 96khz
Decoding with libav/ffmpeg...
Encoding FLAC with libFlac...
Creating file "C:\E\E_new.flac"...
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 2 minutes, 12 seconds.
Done.
It has problems; i think channel mapping issue.


_ _ _ _ _

EDIT: Here is the extracted original mlp (by method2):

http://www.sendspace.com/file/xj5698




_ _ _ _ _

Last edited by rica; 22nd February 2009 at 21:51.
rica is offline   Reply With Quote
Old 22nd February 2009, 23:20   #8347  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Any progress with DTS-HD MA 7.1 support? N/M see I need the arcsoft decoder to get this..

Last edited by jamos; 22nd February 2009 at 23:45.
jamos is offline   Reply With Quote
Old 22nd February 2009, 23:20   #8348  |  Link
jfcarbel
Programmer
 
Join Date: Feb 2002
Location: Chicago, IL
Posts: 490
Added to Delphi Wiki page
jfcarbel is offline   Reply With Quote
Old 23rd February 2009, 00:26   #8349  |  Link
peterjcat
Registered User
 
Join Date: Sep 2008
Posts: 37
Quote:
Originally Posted by mrr19121970 View Post
but actually writes :

Code:
Audio_6_Undetermined DELAY 200ms.THD+AC3
It's not a bug, it's a feature! It's telling you, in a way that makes sure you don't forget it, that you need to delay that audio track 200ms when you are muxing it (eg using tsMuxeR). eac3to can't apply TrueHD delay itself so you have to delay the whole track when muxing, or it will be out of sync.
peterjcat is offline   Reply With Quote
Old 23rd February 2009, 00:31   #8350  |  Link
peterjcat
Registered User
 
Join Date: Sep 2008
Posts: 37
Quote:
Originally Posted by mrr19121970 View Post
@sixt, you're doing a very long winded process with out dated software. drop EVOdemux, get tsMuxeR v1.8.18, wait for eac3to 3.12 (that fixes the HD-DVD stream language issue) and try again.

Please see here:
eacto, tsMuxer & ImgBurn Made Easy

for a very comfortable solution to what you're trying to acheive.
This is true, nobody uses EVOdemux anymore, eac3to will do everything faster and better. Keep in mind that you'll never get your WDTV to play TrueHD (or DTSMA) because, as mentioned, it doesn't have the right connections.

Your best bet would be to convert the TrueHD losslessly to an LPCM stream using eac3to (or one of the tools that use it, maybe the above, maybe ToNMT?). The WDTV should be able to support multichannel LPCM over HDMI. You say you've tried that but you don't say what exactly you've tried and what exactly's happening.

Of course, if you're not using eac3to, there are other places that should be able to help you better.
peterjcat is offline   Reply With Quote
Old 23rd February 2009, 00:46   #8351  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by peterjcat View Post
...Your best bet would be to convert the TrueHD losslessly to an LPCM stream...
I hear, no pun intended, that flac is a better lossless choice. Please correct me if I'm wrong.
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 23rd February 2009, 00:50   #8352  |  Link
nwg
Registered User
 
Join Date: Mar 2004
Posts: 819
Quote:
Originally Posted by peterjcat View Post
It's not a bug, it's a feature! It's telling you, in a way that makes sure you don't forget it, that you need to delay that audio track 200ms when you are muxing it (eg using tsMuxeR). eac3to can't apply TrueHD delay itself so you have to delay the whole track when muxing, or it will be out of sync.
I have never added a delay and has been in sync everytime. As soon as tried adding the delay (one was 1001ms) the sync was way off.
nwg is offline   Reply With Quote
Old 23rd February 2009, 01:48   #8353  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,663
Quote:
Originally Posted by rica View Post
It has problems; i think channel mapping issue.
Yep, seems the remap needed is missing (or now libav is correct and don't need remap).
We have problems with 18,19 and 20 modes
Code:
 # MLP Channel Assignments    MS channels order   libav remap
-- ------------------------  ------------------   -----------
18 Lf Rf  Ls  Rs  (LFE)      FL FR LF BL BR       -0,1,4,2,3,5
19 Lf Rf  Ls  Rs  (C)        FL FR FC BL BR       -0,1,4,2,3,5
20 Lf Rf  Ls  Rs  (C   LFE)  FL FR FC LF BL BR    -0,1,4,5,2,3
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.

Last edited by tebasuna51; 23rd February 2009 at 02:07.
tebasuna51 is offline   Reply With Quote
Old 23rd February 2009, 16:42   #8354  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by jamos View Post
Any progress with DTS-HD MA 7.1 support? N/M see I need the arcsoft decoder to get this..
Ok got arcsoft decoder seemed to decode dts hd fine to pcm but when remuxed with tsmuxer channels are mixed. the right speaker is playing the center channel when playing pcm.

this may be a issue with PCM2tsmu not sure but i did use the -c 8 switch with it and tsmuxer does say 7.1.
jamos is offline   Reply With Quote
Old 23rd February 2009, 22:31   #8355  |  Link
peterjcat
Registered User
 
Join Date: Sep 2008
Posts: 37
Quote:
Originally Posted by Chumbo View Post
I hear, no pun intended, that flac is a better lossless choice. Please correct me if I'm wrong.
FLAC is indeed a better (more efficient) choice IF you have a device that will play it back, such as a PC. The OP wanted to hear lossless audio on his WD TV and there's no way that's playing back multi-channel FLAC. However, it should play LPCM as there's no decoding involved. The recommendation was just for those circumstances.
peterjcat is offline   Reply With Quote
Old 23rd February 2009, 22:33   #8356  |  Link
MuteyM
Registered User
 
Join Date: Nov 2007
Posts: 19
Quote:
Originally Posted by MuteyM View Post
@Jeff Flowerday and others who have requested the ability to split eac3to output by chapter for concerts and such, I have whipped up a little GUI to do just that!
...
Just a quick note that I've now added Blu-Ray support to HDConcertRipper. This is the last post I'll make about it in the eac3to thread, anyone interested can continue the discussion in the official thread.
MuteyM is offline   Reply With Quote
Old 23rd February 2009, 22:35   #8357  |  Link
peterjcat
Registered User
 
Join Date: Sep 2008
Posts: 37
Quote:
Originally Posted by nwg View Post
I have never added a delay and has been in sync everytime. As soon as tried adding the delay (one was 1001ms) the sync was way off.
A delay specified in the filename like that, or just a delay reported when eac3to is running? eac3to fixes the latter delays, doesn't fix the former. And I guess sometimes it might put a delay in a filename when it doesn't need to, I'll let madshi speak to that, but believe me it's there for a reason.
peterjcat is offline   Reply With Quote
Old 23rd February 2009, 22:54   #8358  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,394
Quote:
Originally Posted by peterjcat View Post
The OP wanted to hear lossless audio on his WD TV and there's no way that's playing back multi-channel FLAC.
Says it does here: http://www.wdc.com/en/products/products.asp?DriveID=572
Snowknight26 is offline   Reply With Quote
Old 23rd February 2009, 23:01   #8359  |  Link
peterjcat
Registered User
 
Join Date: Sep 2008
Posts: 37
Quote:
Originally Posted by Snowknight26 View Post
No, it says it plays FLAC music. It doesn't support FLAC in movies, let alone multi-channel FLAC in movies, let alone decoding multi-channel FLAC in movies to LPCM for lossless output via HDMI.
peterjcat is offline   Reply With Quote
Old 24th February 2009, 04:00   #8360  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by jamos View Post
Ok got arcsoft decoder seemed to decode dts hd fine to pcm but when remuxed with tsmuxer channels are mixed. the right speaker is playing the center channel when playing pcm.

this may be a issue with PCM2tsmu not sure but i did use the -c 8 switch with it and tsmuxer does say 7.1.
Hmm why does eac3to remap channels when using arcsoft decoder to get a pcm file? seems to be a bug in the channels for 7.1 as the center is playing out of right front.

Code:
eac3to v3.11
command line: "F:\bd\eac3to\eac3to.exe" "00001.m2ts" 3: "app.pcm"
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 3 subtitle tracks, 1:52:02, 24p /1.001
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 16 bits, 48khz
   (core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
4: AC3, French, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
5: AC3 Surround, English, 2.0 channels, 224kbps, 48khz, dialnorm: -27dB
6: Subtitle (PGS), English
7: Subtitle (PGS), English
8: Subtitle (PGS), Spanish
[a03] Extracting audio track number 3...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Creating file "app.pcm"...
[a03] The original audio track has a constant bit depth of 16 bits.
Video track 2 contains 161161 frames.
eac3to processing took 16 minutes, 9 seconds.
Done.
then
Code:
Pcm2Tsmu.exe app.pcm output.pcm -i 16 -c 8

Last edited by jamos; 24th February 2009 at 04:09.
jamos is offline   Reply With Quote
Reply

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 15:39.


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