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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 15th January 2012, 23:58   #11501  |  Link
geminigod
Registered User
 
Join Date: Mar 2011
Posts: 34
Quote:
Originally Posted by tebasuna51 View Post
I don't think so.

Play with DRC enabled lose the original quality of audio.

Was a help for old amplifiers/receivers without the actual process capacity than can replace DRC with Night Mode for all audio formats, not only AC3.

BTW, if you play with PC you can use Ac3Filter with a dynamic DRC function, or you can recode the audio with BeLight with a Boost function.
I wish my receiver had a "night mode". Even some of the new receivers out there are retarded about the signal processing options. My father just bought a new Denon receiver that sucks. There are a bazillion useless ways to screw with the EQ, all of which make the sound worse, and no way to process dynamic range.

At any rate, no worries. I just have an ac3 audio track that I have since deleted the source material for. I encoded it with a Film Light DRC setting and decided that Film Standard would be preferrable. It isn't worth transcoding to change it though.
geminigod is offline  
Old 16th January 2012, 07:58   #11502  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
Are mono audio files still not supported? I'm trying to rip a mono audio file that is in thd to a dts. Does anyone know how to do this if eac3to can't?
An IP BreAKDoWN is offline  
Old 17th January 2012, 11:55   #11503  |  Link
kalston
Registered User
 
Join Date: May 2011
Posts: 164
I converted a mono DTS file to FLAC without any problem.
kalston is offline  
Old 17th January 2012, 18:06   #11504  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
How about a mono THD to DTS (FLAC, or WAV for that matter)?
An IP BreAKDoWN is offline  
Old 19th January 2012, 10:03   #11505  |  Link
geminigod
Registered User
 
Join Date: Mar 2011
Posts: 34
Quote:
Originally Posted by An IP BreAKDoWN View Post
Are mono audio files still not supported? I'm trying to rip a mono audio file that is in thd to a dts. Does anyone know how to do this if eac3to can't?
I can't remember the specifics of whether surecode supports mono dts encoding or not, assuming you even have this $250 codec setup in your eac3to. Try converting to wav first and then to dts. See if it works then.

More likely your eac3to is not setup to properly decode or encode dts. Type eac3to -test at the command prompt and see what it says.

I could ask why you are trying to make a mono dts file... Stereo acoustics will sound much better, even if you are just duplicating the mono track.

If you are determined to work with this challenging format (due to commercial copyright issues), you can play around with this brand new experimental open source dts codec that folks here have been working on.

http://forum.doom9.org/showthread.ph...20#post1552620
geminigod is offline  
Old 19th January 2012, 18:11   #11506  |  Link
kws53
Registered User
 
Join Date: Jan 2011
Posts: 28
3 Channel Down Conversion

I can't get eac3to to downconvert a 3 channel [L/R/C] DTS audio stream. Using -down2 switch does not solve it. The output is still 3 channels.

Kurt
kws53 is offline  
Old 19th January 2012, 20:17   #11507  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
Quote:
Originally Posted by geminigod View Post
I can't remember the specifics of whether surecode supports mono dts encoding or not, assuming you even have this $250 codec setup in your eac3to. Try converting to wav first and then to dts. See if it works then.

More likely your eac3to is not setup to properly decode or encode dts. Type eac3to -test at the command prompt and see what it says.

I could ask why you are trying to make a mono dts file... Stereo acoustics will sound much better, even if you are just duplicating the mono track.

If you are determined to work with this challenging format (due to commercial copyright issues), you can play around with this brand new experimental open source dts codec that folks here have been working on.

http://forum.doom9.org/showthread.ph...20#post1552620
Yes I have Surecode, it set me back but I have it installed. The reason I'm trying to convert to mono is because the source is mono in THD format.

Here is that command you told me to use:

Code:
eac3to v3.24
command line: eac3to  -test
------------------------------------------------------------------------------
eac3to (v3.24) is up to date
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
  http://www.nero.com/eng/store-blu-ray.html
  CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder (1.1.0.1) works fine
Sonic Audio Decoder (3.24.0.0) doesn't seem to be installed
Haali Matroska Muxer (2011-09-08) is up to date
Nero AAC Encoder could not be located
  http://www.nero.com/eng/nero-aac-codec.html
  Copy NeroAacEnc.exe to the eac3to or to the Windows folder.
Surcode DTS Encoder (1.0.29.0) is installed
MkvToolnix (2.5.3.0, release version) is installed
  There's a new release version (5.2.1.0) available
  http://www.bunkus.org/videotools/mkvtoolnix
  There's a new beta version (5.2.1.0, 2012-01-13) available
  http://www.bunkus.org/videotools/mkvtoolnix/win32/pre
And here is the error I am having when I try to rip it to .dts

Code:
eac3to v3.24
command line: eac3to  00001.m2ts 4: japanese-1.0.dts
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 0:24:13, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3, 5.1 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -25dB)
3: TrueHD/AC3, 2.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 2.0 channels, 192kbps, 48kHz, dialnorm: -25dB)
4: TrueHD/AC3, 1.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 1.0 channels, 96kbps, 48kHz, dialnorm: -25dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] [libav] Substream min channel cannot be greater than max channel.  <WARNING>
[a04] The libav decoder reported error -1 while decoding.  <ERROR>
Aborted at file position 1048576.  <ERROR>
Here is the error message when I rip it to .wav

Code:
eac3to v3.24
command line: eac3to  00001.m2ts 4: japanese-1.0.wav
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 0:24:13, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3, 5.1 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -25dB)
3: TrueHD/AC3, 2.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 2.0 channels, 192kbps, 48kHz, dialnorm: -25dB)
4: TrueHD/AC3, 1.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 1.0 channels, 96kbps, 48kHz, dialnorm: -25dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] [libav] Substream min channel cannot be greater than max channel.  <WARNING>
[a04] The libav decoder reported error -1 while decoding.  <ERROR>
Aborted at file position 1048576.  <ERROR>
And here is the error message when I rip to .wavs

Code:
eac3to v3.24
command line: eac3to  00001.m2ts 4: japanese-1.0.wavs
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 0:24:13, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3, 5.1 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -25dB)
3: TrueHD/AC3, 2.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 2.0 channels, 192kbps, 48kHz, dialnorm: -25dB)
4: TrueHD/AC3, 1.0 channels, 48kHz, dialnorm: -25dB
   (embedded: AC3, 1.0 channels, 96kbps, 48kHz, dialnorm: -25dB)
5: Subtitle (PGS)
6: Subtitle (PGS)
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] [libav] Substream min channel cannot be greater than max channel.  <WARNING>
[a04] The libav decoder reported error -1 while decoding.  <ERROR>
Aborted at file position 1048576.  <ERROR>
I would like to try the experimental version, however I can't get the wav so I'm stuck till I can get the wav.

Last edited by An IP BreAKDoWN; 19th January 2012 at 20:27.
An IP BreAKDoWN is offline  
Old 19th January 2012, 20:27   #11508  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
first you need to demux the thd from the m2ts:

Code:
eac3to 00001.m2ts 4:japanese.thd
get the latest ffmpeg...and use this:

Code:
ffmpeg -i japanese.thd japanese.wav
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline  
Old 20th January 2012, 07:36   #11509  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
@b66pak Thanks that worked. Except the eac3to complained about it being mono on the conversion from wav to dts, however I used the SureCode GUI and that worked! Thanks again!
An IP BreAKDoWN is offline  
Old 20th January 2012, 08:50   #11510  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Quote:
Originally Posted by ""b66pak
ffmpeg -i japanese.thd japanese.wav
As far as i remember, with this command line you'll be obtain 16-bit PCM always, even if TrueHD is 24-bit.
You need:
Code:
ffmpeg -i input.thd -acodec pcm_s24le output.wav
and then, if you need it, you can check the true bitdepth in audioeditor or by -analyzebitdepth in eac3to:
Code:
eac3to input.wav -analyzebitdepth

Last edited by TDiTP_; 20th January 2012 at 08:54.
TDiTP_ is offline  
Old 20th January 2012, 11:40   #11511  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
Quote:
Originally Posted by TDiTP_ View Post
As far as i remember, with this command line you'll be obtain 16-bit PCM always, even if TrueHD is 24-bit.
You need:
Code:
ffmpeg -i input.thd -acodec pcm_s24le output.wav
and then, if you need it, you can check the true bitdepth in audioeditor or by -analyzebitdepth in eac3to:
Code:
eac3to input.wav -analyzebitdepth
Thats very useful thanks!

One question though, how can I find the bit depth of the THD since the libav in eac3to can't open it since its a mono?

Last edited by An IP BreAKDoWN; 20th January 2012 at 11:44.
An IP BreAKDoWN is offline  
Old 20th January 2012, 15:17   #11512  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Quote:
how can I find the bit depth of the THD since the libav in eac3to can't open it since its a mono?
If eac3to isn't able to decode lossless-stream, then it can't check his bitdepth, so in this case -analyzebitdepth doesn't work.
TDiTP_ is offline  
Old 20th January 2012, 18:52   #11513  |  Link
An IP BreAKDoWN
Registered User
 
Join Date: Dec 2011
Posts: 26
Quote:
Originally Posted by TDiTP_ View Post
If eac3to isn't able to decode lossless-stream, then it can't check his bitdepth, so in this case -analyzebitdepth doesn't work.
Right, do you know a program that can analyze the bit depth in THD format?
An IP BreAKDoWN is offline  
Old 20th January 2012, 22:40   #11514  |  Link
Rodeo
Registered User
 
Join Date: Jul 2011
Posts: 13
Quote:
Originally Posted by An IP BreAKDoWN View Post
Thats very useful thanks!

One question though, how can I find the bit depth of the THD since the libav in eac3to can't open it since its a mono?
Please try to follow the provided instructions. First, b66pak's:

Code:
eac3to 00001.m2ts 4:japanese.thd
japanese.thd becomes input.thd in TDiTP_'s instructions:

Code:
ffmpeg -i input.thd -acodec pcm_s24le output.wav
So here, the TrueHD file is now 24-bit PCM in WAV…

Code:
eac3to input.wav -analyzebitdepth
…thus the old, buggy libavcodec TrueHD decoder is no longer involved.
Rodeo is offline  
Old 21st January 2012, 05:25   #11515  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Quote:
Originally Posted by An IP BreAKDoWN View Post
Right, do you know a program that can analyze the bit depth in THD format?
i know only eac3to with his -analyzebitdepth. This command can be applied to any lossless-stream or PCM (in WAV/W64).
BTW, BDInfo can check bitdepth of THD incorrectly: look known issues.
Of course, if libav of eac3to can't decode THD, then -analyzebitdepth does not make sense (because for determine bitdepth you need to decode). In this case you should try fresh ffmpeg.
TDiTP_ is offline  
Old 25th January 2012, 19:47   #11516  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 324
Back to basics question.

I've been using eac3to to join various audio files together. I have been doing it by hand as a commandline and it works well.
However I have a directory containing 37 mp3 files (all same params) that I want to join. A batch file would be nice, perhaps using IN DO, but my brain won't work, please somebody take pity...
Thanks.
Floatingshed is offline  
Old 25th January 2012, 22:16   #11517  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Quote:
Originally Posted by Floatingshed View Post
I've been using eac3to to join various audio files together. I have been doing it by hand as a commandline and it works well.
However I have a directory containing 37 mp3 files (all same params) that I want to join. A batch file would be nice, perhaps using IN DO, but my brain won't work, please somebody take pity...
Thanks.
>.< multiple file batching can be the morning-coffee-buzzkill.

I really haven't done anything like joining files in eac3to, but I do do some batch files.

For doing multiple files, I just open a text file with the "eac3to" commands, copy and paste them several times.
Going back and modifying only the input/output file names.
And then exit at the very bottom.

Note: I also have windows configured to open CMD in a folder, using the context menu: "Open Comand Promt here"

Code:
"path\eac3to.exe" "sourcefile[+sourcefile2]" [trackno:] "[destfile|stdout]" [-options]
"path\eac3to.exe" "sourcefile[+sourcefile2]" [trackno:] "[destfile|stdout]" [-options]
"path\eac3to.exe" "sourcefile[+sourcefile2]" [trackno:] "[destfile|stdout]" [-options]
exit
Then I just copy/paste that into the CMD of the destination folder.
I use "" if the path of my eac3to is in a folder with 2 words including a space "App Bin", and also some of the source files are in folders that contain spaces as well.

I also add in custom logs.
Code:
-log=custom_name_codec__etc_with_no_spaces_to_reduce_amount_of_quotes.txt
As for creating a batch script, I'm not that far in batching.
Yet
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline  
Old 26th January 2012, 03:06   #11518  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 324
OK. I've done it. I'm not a whizz at programming so it may not be very elegant but it works. If you want to use it just copy and paste into a batch file (set path to eac3to). Drop into a folder of mp3 files, double click and a single file of them all nicely joined will appear!


Code:
FOR %%a IN (*.mp3) DO echo/|set /p =" "%%~NXa"+" + >> temp.txt
set /p inlist= <temp.txt
set newlist=%inlist:~0,-1%
path.to\eac3to.exe" %newlist% "Joined mp3 files.mp3"
del temp.txt
Floatingshed is offline  
Old 28th January 2012, 01:06   #11519  |  Link
nibus
Telewhining
 
Join Date: Mar 2010
Posts: 272
Quote:
Originally Posted by Floatingshed View Post
OK. I've done it. I'm not a whizz at programming so it may not be very elegant but it works. If you want to use it just copy and paste into a batch file (set path to eac3to). Drop into a folder of mp3 files, double click and a single file of them all nicely joined will appear!


Code:
FOR %%a IN (*.mp3) DO echo/|set /p =" "%%~NXa"+" + >> temp.txt
set /p inlist= <temp.txt
set newlist=%inlist:~0,-1%
path.to\eac3to.exe" %newlist% "Joined mp3 files.mp3"
del temp.txt
excellent!
nibus is offline  
Old 30th January 2012, 03:38   #11520  |  Link
LeKouz
Registered User
 
Join Date: Oct 2011
Location: Switzerland
Posts: 6
Hi.

Does anybody know how to set SoX to handle the 64 floating point output from eac3to?
Or in an other question, what kind of 64bit-Stream is eac3to giving out?
I've tried a lot of commands but all I've got is noise and it sounds like playing a CD-ROM in an audio-player.

This is the last command-line i've tried to pipe from eac3to to SoX:
Code:
eac3to "test.ac3" stdout.wav -full -simple | sox -V3 --type .f64 --rate 48000 --encoding floating-point --bits 64 --channels 6 --ignore-length - -t wav --encoding floating-point --bits 32 result.wav

"--type raw --rate 48000 --encoding floating-point --bits 64 --channels 6" -> Doesn't works too. Lot of noise.

If i set "--type" to wav, SoX says:
Code:
sox WARN wav: wave header missing FmtExt chunk
sox FAIL formats: can't open input  `-': Sorry, don't understand .wav size
And if I command eac3to to write the 64bit output directly to a WAV-File, Mediainfo means:
Code:
General
Complete name                    : E:\Tools\eac3to\test.wav
Format                           : Wave
File size                        : 668 MiB
Duration                         : 5mn 4s
Overall bit rate mode            : Constant
Overall bit rate                 : 18.4 Mbps

Audio
ID                               : 0
Format                           : PCM
Format profile                   : Float
Format settings, Endianness      : Float
Codec ID                         : 00001000-0000-0300-8000-00AA00389B71
Codec ID/Hint                    : IEEE 
Duration                         : 5mn 4s
Bit rate mode                    : Constant
Bit rate                         : 18.4 Mbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 64 bits
Stream size                      : 668 MiB (100%)
LeKouz is offline  
Closed Thread

Tags
eac3to


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 03:47.


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