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 2nd June 2015, 16:14   #141  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Perfect, but I think next version is 1.16
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 3rd June 2015, 15:07   #142  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
New release 1.1.7

Changelog
=========
- v1.1.7 2015-06-02 MkvMux: if an audio is a thd+ac3 mux the two tracks.
Trim of timecodes.txt for VFR.
- v1.1.6 2015-03-31 Added parameters -dcadec, -arcsoft and OpusEnc

WARNING: -arcsoft parameter don't override the default dcadec for DTSHD 7.1 in eac3to v3.29
-dcadec override the default Arcsoft for others DTS.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 29th October 2015, 12:59   #143  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Hi.

After the new updates of MkvMerge, the button "MkvMergeGUI" doesn't work.
Maybe you could update "MkvMergeGUI" to link to mkvtoolnix-gui.exe ?

Also, what could be the fastest way to run and mux 3 audio files using UsEac3to ?

I have an mkv with 2 audio files (1 with dts-hd and 1 with AC-3) and I want to remux it to 3 audio files (1 with dts-hs, 1 with dts-hd -core and 1 with AC-3)

If I put to the CL parameters the 2:dts-hd, along with 2:dts-hd -core and the 3:AC-3 and press "Run and MkvMux" only 2 audio files (dts and AC-3) are muxed to the final MKV, not 3.

Is it possible to mux 3 audio files with UsEac3to ?

Thanks!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 29th October 2015, 19:30   #144  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by NikosD View Post
After the new updates of MkvMerge, the button "MkvMergeGUI" doesn't work.
Maybe you could update "MkvMergeGUI" to link to mkvtoolnix-gui.exe ?
Yep, in next release.

Quote:
I have an mkv with 2 audio files (1 with dts-hd and 1 with AC-3) and I want to remux it to 3 audio files (1 with dts-hs, 1 with dts-hd -core and 1 with AC-3)
The fastest way is extract the core (eac3to) and mux it to original mkv (mkvtoolnix-gui).

With UsEac3to "Run and MkvMux" you only can mux 2 audios.
Only if there are a track thd+ac3 the ouptput have the tracks thd and ac3 separated because mkv don't support one track thd+ac3.

For me mux the -core and the DTS-HD don't have sense, any player can extract the core from a DTS-HD if not support decode DTS-HD.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 29th October 2015, 19:42   #145  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by tebasuna51 View Post
Yep, in next release.

The fastest way is extract the core (eac3to) and mux it to original mkv (mkvtoolnix-gui).
Thanks for both.

Sneaker_ger told me that I could use mkvtools and select "reduce to core option" but I have to load the same file two times.

I think I have to try both.


Quote:
Originally Posted by tebasuna51 View Post
For me mux the -core and the DTS-HD don't have sense, any player can extract the core from a DTS-HD if not support decode DTS-HD.
Unfortunately, my BD player - like many other BD players - doesn't agree to that, because decoding MKV rips via USB port is according to BD manufacturers a pirated copy, so it doesn't decode DTS-HD or Dolby EAC3/ TrueHD and it doesn't even decode the core DTS from inside DTS-HD (!)

Using the USB port, BD player can only decode DTS or AC3, so for someone who would like to see the movie and keep the original audio source for quality and for better BD players in the future, I think he has to do what I do.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 2nd November 2015, 00:44   #146  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
New release 1.1.8

Changelog
=========
- v1.1.8 2015-11-02 Support for ffmpeg external encoder.
MkvToolNix-GUI instead MkvMergeGUI
Minor bug (features) and some defaults changed.

Remember update eac3to v3.30
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 13th November 2015, 10:14   #147  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I have a MKV file with only TrueHD stream (without AC3 track) and tried to convert it to AC3 but I got this error:

[a02] Extracting audio track number 2...
[a02] Removing TrueHD dialog normalization...
[a02] Extracting audio track number 2...
[a02] Decoding with libav/ffmpeg...
[a02] Removing TrueHD dialog normalization...
[a02] This track begins with a non-major frame. <WARNING>
[a02] Remapping channels...
[a02] Encoding AC3 <640kbps> with libAften...
[a02] Initialization of the AC3 encoder failed. <ERROR>
Aborted at file position 262144. <ERROR>


It looks like a problem with the AC3 encoder (libaften) and not the TrueHD decoder.

Any other options/ quality encoders for TrueHD to AC3 conversion ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 13th November 2015, 10:44   #148  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
You could try ffmpeg itself, the ffmpeg ac3 encoder is based on libaften, by the same author, so quality should be comparable.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th November 2015, 11:59   #149  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by NikosD View Post
I have a MKV file with only TrueHD stream (without AC3 track) and tried to convert it to AC3 but I got this error:
After reading your post I thought I try this myself. Using my 'Gravity (Dolby Atmos).mkv' source: -

Code:
[a02] thd, 48000, 7.1
[a02] AC3 encoding doesn't support back channels. Will mix them into the surround.
[a02] Extracting audio track number 2...
[a02] Decoding with libav/ffmpeg...
[a02] Mixing surround channels...
[a02] Remapping channels...
[a02] Encoding AC3 <448kbps> with libAften...
[a02] Creating file "\\NAS\My HD Movies\Gravity (Special Edition) @ 91mins (8Ch_TrueHD Atmos+DD).mkv_2eng.ac3"...
[a02] Original audio track: max 24 bits, average 20 bits, most common 20 bits.
[a02] Processed audio track: max 24 bits, average 21 bits, most common 20 bits.
Video track 1 contains 130859 frames.
eac3to processing took 38 minutes, 30 seconds.
Done.
Everything went well for me...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 13th November 2015, 12:04   #150  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Using StaxRip (which uses eac3to) it worked for me too.

I'll try later eac3to directly, without GUIs and we 'll see.

It could be a bug of this GUI in the way it sets the commands to eac3to.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 13th November 2015, 12:35   #151  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by NikosD View Post
...
[a02] This track begins with a non-major frame. <WARNING>
...
Any other options/ quality encoders for TrueHD to AC3 conversion?
Yep, I see this <WARNING> one time.

Now the preferred encoder to AC3 is ffmpeg.

1) Dowload the static versión (32 or 64 bits for your OS) from http://ffmpeg.zeranoe.com/builds/

2) Put only ffmpeg.exe in your eac3to folder (or in UsEac3to folder, or in your Encoders folder)

3) Extract the .thd from your .mkv

4) Load the .thd in UsEac3to, click in 'A/V Recode', select 'Recode to AC3' and 'RUN' or 'EnQueue'

ffmpeg recode your .thd to .ac3.

EDIT: same process recommended for DTS

With 7.1 sources you can use also the last BeHappy versión:
[1] Select LWLibavAudioSource like decoder (even from .mkv selecting the correct index)
[3] Downmix - 7.1 -> 5.1 (optimized downmix using AudioLimiter.dll)
[4] AC3 FFmpeg encode
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 13th November 2015 at 12:59. Reason: Add info
tebasuna51 is offline   Reply With Quote
Old 13th November 2015, 12:42   #152  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by NikosD View Post
...
It could be a bug of this GUI in the way it sets the commands to eac3to.
If you put the full log of UsEac3to you can see the command line generated by UsEac3to.

Please tell me the differences with the command line than you use.

Please put always the full log.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 13th November 2015, 16:12   #153  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by tebasuna51 View Post
If you put the full log of UsEac3to you can see the command line generated by UsEac3to.

Please tell me the differences with the command line than you use.

Please put always the full log.
Well, it may sound strange and it definitely is, but there was no difference between StaxRip and UsEac3to commands to eac3to.

So, i did the only test left, i used the previous eac3to version that StaxRip uses v3.29.

And it worked with UsEac3to!

The next test will be to use eac3to v3.30 with StaxRip and test if it works (I doubt it)

Update:


OK, StaxRip worked even with eac3to v3.30 and libaften, so I put those two log files here:

StaxRip log:

eac3to v3.30
command line: "D:\various_progs\Video\Transcoders\Progs\GUI\StaxRip_x64_2015-10-24\Apps\eac3to\eac3to.exe" "D:\utorrent\Finished\...English.thd" "D:\utorrent\Finished\T..._out.ac3" -640 -normalize -progressnumbers
------------------------------------------------------------------------------
TrueHD, 5.1 channels, 48kHz, dialnorm: -27dB
Removing TrueHD dialog normalization...
Decoding with libav/ffmpeg...
Writing WAV...
This track begins with a non-major frame. <WARNING>
Creating file "D:\utorrent\Finished\...ac3.pass1.wav"...
The original audio track has a constant bit depth of 16 bits.
Caution: The WAV file is bigger than 4GB. <WARNING>
Some WAV readers might not be able to handle this file correctly. <WARNING>
Starting 2nd pass...
Reading WAV...
Stripping zero bytes...
Remapping channels...
Encoding AC3 <640kbps> with libAften...
Applying -0.09dB gain...
Creating file "D:\utorrent\Finished\..._out.ac3"...
The processed audio track has a constant bit depth of 64 bits.
eac3to processing took 3 minutes, 34 seconds.
Done.


UsEac3to log:

eac3to v3.30
command line: "D:\various_progs\Video\Tools\...\eac3to.exe" "D:\utorrent\Finished\....mkv" 2: "D:\utorrent\Finished\....mkv_2eng.ac3" -progressnumbers -log="D:\various_progs\Video\Tools\UsEac3to118\UsEac3To.log"
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 18 subtitle tracks, 1:40:51, 24p /1.001
1: h264/AVC, English, 1080p24 /1.001
2: TrueHD, English, 5.1 channels, 48kHz, dialnorm: -27dB
3: Subtitle (PGS), English
4: Subtitle (PGS), French
5: Subtitle (PGS), Italian
6: Subtitle (PGS), Italian
7: Subtitle (PGS), Dutch
8: Subtitle (PGS), Spanish
9: Subtitle (PGS), Portuguese
10: Subtitle (PGS), Japanese
11: Subtitle (PGS), English
12: Subtitle (PGS), Japanese
13: Subtitle (PGS), French
14: Subtitle (PGS), Italian
15: Subtitle (PGS), Italian
16: Subtitle (PGS), Dutch
17: Subtitle (PGS), Spanish
18: Subtitle (PGS), Portuguese
19: Subtitle (PGS), Japanese
20: Subtitle (PGS), English
[a02] Extracting audio track number 2...
[a02] Removing TrueHD dialog normalization...
[a02] Decoding with libav/ffmpeg...
[a02] Remapping channels...
[a02] Encoding AC3 <640kbps> with libAften...
[a02] Initialization of the AC3 encoder failed. <ERROR>
Aborted at file position 262144. <ERROR>
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 13th November 2015 at 17:28.
NikosD is offline   Reply With Quote
Old 14th November 2015, 21:34   #154  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Problem solved with new eac3to v3.31.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 1st December 2015, 10:12   #155  |  Link
RainyDog
Registered User
 
Join Date: May 2009
Posts: 184
Hi tebasuna, I finally succumbed to the Windows 10 upgrade but UsEac3to no longer works unfortunately.

Whenever I open it, an error message pops up stating that it can't find UsEac3to.cmd in the installation folder. If I just click OK I can then change the settings etc. but when I try to add an input source, the same error message pops up and the program freezes and needs killing in task manager.

Any ideas what could be causing it please? Is a fresh install of Windows 10 after doing the upgrade first and activating.

RainyDog is offline   Reply With Quote
Old 1st December 2015, 14:34   #156  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Well in Autoit main window say:

Compatible with Windows XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2 / Windows 8 / 2012 R2

But last versión say:

3.3.14.0 (10th July, 2015) (Release)
...
Added: @OSVersion supports Windows 10 and Windows Server 2016.

Try this one compiled with last version https://www.sendspace.com/file/g6iq27

Say me if work for you.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 1st December 2015, 16:23   #157  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by RainyDog View Post
Hi tebasuna, I finally succumbed to the Windows 10 upgrade but UsEac3to no longer works unfortunately.
How strange...

I can confirm that I'm currently using UsEac3to v1.1.8 with eac3to v3.31 on a Windows 10 32-bit laptop and on a Windows 10 64-bit laptop without any issues.


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 2nd December 2015, 21:30   #158  |  Link
RainyDog
Registered User
 
Join Date: May 2009
Posts: 184
Thanks guys.

Turns out it was Windows UAC that was blocking UsEac3to writing to it's program folder. Changed the folder security privileges and it worked fine. Or did for one encode because it's now stopped working again!

Whenever I try adding any input file I just get what looks to be eac3to's readme file in the main window :-

eac3to v3.31, freeware by madshi.net

- can show information about audio, video, VOB/EVO/(M2)TS and MKV files
- can decode and encode various audio formats
- can remove dialog normalization from AC3, E-AC3, DTS and TrueHD tracks
- can extract AC3 stream from Blu-Ray TrueHD/AC3 tracks
- can extract TrueHD stream from Blu-Ray TrueHD/AC3 tracks
- can extract DTS core from DTS-HD tracks
- can remove DTS zero padding and repair outdated DTS-ES headers
- can apply positive or negative audio delays
- can reduce bitdepth of decoded audio data by using TPDF dithering
- can resample decoded audio data (using SSRC or r8brain)
- can apply/reverse PAL speedup on decoded audio data (SSRC/r8brain)
- can demux video / audio tracks of EVO/VOB/(M2)TS and MKV sources
- can list available titles of Blu-Ray and HD DVD discs
- can extract Blu-Ray and HD DVD chapter information and subtitles
- can mux MPEG2, VC-1 and h264 video tracks to Matroska
- can remove pulldown flags from MPEG2, VC-1 and h264 video tracks

(there's more but I've cut it off for the sake of post length)

Any ideas again please? Thanks again.
RainyDog is offline   Reply With Quote
Old 2nd December 2015, 22:51   #159  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
In the main window?
Below the title "**EAC3TO INFO**"?

This content must be at a pop-up window named "Eac3to Help" when you select "? -> Help"

If you close UsEac3to and run again, you can open a new file?

I don't know what happen.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 3rd December 2015, 08:43   #160  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by RainyDog View Post
Turns out it was Windows UAC that was blocking UsEac3to writing to it's program folder. Changed the folder security privileges and it worked fine. Or did for one encode because it's now stopped working again!
Just make sure that you execute UsEac3To with administrator privileges --> Run as administrator. I've been having similar problems (on Windows 7 actually) until I realized this. You can even set this option under Compatibility settings tab on your desktop or quick launch shortcut which starts UsEac3To.
kypec is offline   Reply With Quote
Reply

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 19:14.


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