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 27th June 2016, 19:48   #14001  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
Quote:
Originally Posted by manolito View Post
Sorry I am not sure if I understand you correctly...

I want to limit the normalize gain to a max peak value of -2dB, how can I achieve this with eac3to?
Yes, you need two pass, don't work with only one pass.

For that stax76 solution:

eac3to "%input%" "%output%.flac" -normalize -progressnumbers
eac3to "%output%.flac" "%output%" -2dB -progressnumbers

(the bitrate is not needed, 640 Kb/s for 5.1, 448 Kb/s for 2.0)

Quote:
Another question about the command line generated by StaxRip:
Is the "down16" parameter meaningful? Does libaften cause problems with an input which has a higher bit depth?
I don't see when "down16" is used. Is not needed for libaften, like in previous solution than use the default bitdepth 24.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 27th June 2016, 20:38   #14002  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 2,634
Quote:
Originally Posted by tebasuna51 View Post
eac3to "%input%" "%output%.flac" -normalize -progressnumbers
eac3to "%output%.flac" "%output%" -2dB -progressnumbers
Thanks, but would this intermediate flac file not have clipping? Isn't it necessary to use a 32-bit float wav file as the intermediate file?


Cheers
manolito

Last edited by manolito; 28th June 2016 at 00:19.
manolito is offline   Reply With Quote
Old 27th June 2016, 22:22   #14003  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
The eac3to normalize make impossible any clip, even if the decoder output have float values over 0dB the normalize function correct these values.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 29th June 2016, 05:09   #14004  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 318
Does anyone know the command to extract a TrueHD stream from an Atmos stream? Excuse me if it's already been mentioned in this thread, I tried searching but couldn't find it and I don't want to sift through so many pages.
canuckerfan is offline   Reply With Quote
Old 29th June 2016, 15:57   #14005  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 744
A little question : is eac3to a good choice to just demux a BD (2D or 3D) ? Thank you.
Nico8583 is offline   Reply With Quote
Old 29th June 2016, 16:18   #14006  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,955
To mainly obtain the audio streams: Yes. But it won't care much about all other streams, I believe...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 29th June 2016, 16:25   #14007  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
Quote:
Originally Posted by canuckerfan View Post
Does anyone know the command to extract a TrueHD stream from an Atmos stream?
Atmos or not you can extract the standard TrueHD (without Atmos info) with:

eac3to stream.thd+ac3 stream.thd

if the stream is already extracted, or from the BD, if TrueHD is track 3:

eac3to movie.mpls 3: stream.thd
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 29th June 2016, 16:26   #14008  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
Quote:
Originally Posted by Nico8583 View Post
A little question : is eac3to a good choice to just demux a BD (2D or 3D) ? Thank you.
Yes for 2D BD, I'm never try a 3D if you want recover 3D info (3D planes for 3D sups, etc.)
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 29th June 2016, 16:27   #14009  |  Link
Groucho2004
Cantankerous Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,470
Quote:
Originally Posted by LigH View Post
To mainly obtain the audio streams: Yes. But it won't care much about all other streams, I believe...
I use eac3to for de-multiplexing audio and video streams from BDs on a regular basis. I'm surely not alone.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 29th June 2016, 16:32   #14010  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,955
Quote:
Originally Posted by Groucho2004 View Post
I use eac3to for de-multiplexing audio and video streams from BDs on a regular basis. I'm surely not alone.
^ OK, practical experience.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 29th June 2016, 17:17   #14011  |  Link
Ripman
Registered User
 
Join Date: May 2015
Posts: 63
Quote:
Originally Posted by tebasuna51 View Post
I test, with eac3to, wav files with extra chunks after the data chunk without problems. For instance cue points created with GoldWave editor.

But, maybe, the eac3to behaviour can change with wav files greater than 2 GB, like here. Is know than there are soft than don't support this limit.

I can't understand how eac3to show a duration of 0:06:29 when seems (by size, channels, bitdepth and samplerate) the correct duration is 00:22:09.205 like show MediaInfo.
Thanks for your observations. Regarding the differing durations, please note the info I posted was for two different tracks in the same set (album).

I'll clean up that info for consistency, and post the wav when I get back tomorrow night. The sample is actually about 1.6gb, but I also put a 176 eac3to down sample log that shows the command line, and a pic of the static I get.

Perhaps in this case, the issue is related both to the embedded artwork and expanding to 32bit to apply gain.
Ripman is offline   Reply With Quote
Old 29th June 2016, 17:25   #14012  |  Link
Ripman
Registered User
 
Join Date: May 2015
Posts: 63
Quote:
Originally Posted by Ripman View Post
Thanks. I tried SoX 14.4.2 and it works just fine. Here is the sox command line I used to replicate the one I used with eac3to.

sox -V4 352.wav --rate 176400 176.wav gain -3.5 2>sox_log.txt
Just to reiterate that sox approach worked without issue.

And I'll post some additional info as described in my previous post related to a 352-176 down sample issue I had with eac3to. The hotel wifi never lets me upload something that big.
Ripman is offline   Reply With Quote
Old 29th June 2016, 18:40   #14013  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 744
Quote:
Originally Posted by tebasuna51 View Post
Yes for 2D BD, I'm never try a 3D if you want recover 3D info (3D planes for 3D sups, etc.)
Thank you ! BD 3D info is not a problem, I can extract it from MPLS file. I will try if MVC file extracted keeps 3D planes info.
Nico8583 is offline   Reply With Quote
Old 30th June 2016, 08:07   #14014  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 318
Quote:
Originally Posted by tebasuna51 View Post
Atmos or not you can extract the standard TrueHD (without Atmos info) with:

eac3to stream.thd+ac3 stream.thd

if the stream is already extracted, or from the BD, if TrueHD is track 3:

eac3to movie.mpls 3: stream.thd
I'm trying something like this but I'm still getting an outputted Atmos track:

eac3to.exe "source.mkv" 2:aud2.thd
canuckerfan is offline   Reply With Quote
Old 30th June 2016, 09:35   #14015  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 830
Quote:
Originally Posted by canuckerfan View Post
I'm trying something like this but I'm still getting an outputted Atmos track:

eac3to.exe "source.mkv" 2:aud2.thd
Please post your full output eac3to log.
kypec is offline   Reply With Quote
Old 30th June 2016, 11:47   #14016  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,346
Quote:
Originally Posted by Nico8583 View Post
A little question : is eac3to a good choice to just demux a BD (2D or 3D) ? Thank you.
No for the subtitles of most 3D BDs. If the same subtitles are present in the AVC M2TS and in the MVC M2TS (and it's frequent), eac3to fails completely, and you have to unselect the subtitle streams and retry. AFAIK, for everything else, eac3to works fine as a demuxer.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 30th June 2016, 22:17   #14017  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 318
Quote:
Originally Posted by kypec View Post
Please post your full output eac3to log.
Hope this is the one.

Quote:
eac3to v3.31
command line: eac3to.exe "source.mkv" 2:aud2.thd
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 1 subtitle track, 0:03:40, 24p
1: h264/AVC, Hindi, 1920x804 24p (160:67)
"Mohe Rang Do Laal"
2: TrueHD (Atmos), Hindi, 7.1 channels, 48kHz
"7.1 TrueHD Audio"
3: Subtitle (SRT), English, "English Subtitles"
[v01] The video framerate is correct, but rather unusual. <WARNING>
[a02] Extracting audio track number 2...
[a02] Creating file "aud2.thd"...
Video track 1 contains 5288 frames.
eac3to processing took 2 seconds.
Done.

Last edited by tebasuna51; 1st July 2016 at 11:52. Reason: Replace attachement by text
canuckerfan is offline   Reply With Quote
Old 1st July 2016, 11:57   #14018  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
@canuckerfan

What is the problem?
The <WARNING> is related to 24 fps, but the "aud2.thd" seems extracted fine.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 7th July 2016, 09:11   #14019  |  Link
junior_l3oss
Registered User
 
Join Date: Aug 2013
Posts: 11
Quote:
Originally Posted by tebasuna51 View Post
@canuckerfan

What is the problem?
The <WARNING> is related to 24 fps, but the "aud2.thd" seems extracted fine.
hi...i have netflix dolby digital plus audio.
dd+ audio not detected

Code:
eac3to v3.31
command line: "C:\eac3to\eac3to.exe"  s1e01.ac3 \s1e01.ac3~n.wavs
------------------------------------------------------------------------------
The format of the source file could not be detected.  <ERROR>
Audio #0 : E-AC-3 at 192 Kbps
Infos : 6 kanal, 48.0 KHz

how can i decode wavs and etc.
junior_l3oss is offline   Reply With Quote
Old 7th July 2016, 10:02   #14020  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,660
@junior_l3oss

When your command line don't work can be:

1) eac3to don't support this kind of eac3

2) Or the eac3 stream is buggy because:

2-1) A bad capture of video from Netflix

2-2) Or a bad stream extraction from video

We can't know the problem without a sample of your video.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 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 21:46.


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