[LOCKED] EAC3TO Bug Reports and Feature Requests Only

eac3to forked from madshi eac3to 3.36
Locked
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Guys, please re-download the 3.40 test version. I reverted the INI file stuff back to the first way, because SomeHumanPerson rightly pointed out that the ability to override on the command line was lost.

Today I'll try to add -progressnumbers support in the INI file, and an option for minimum playlist duration. After those are done we'll declare a candidate release for 3.40.
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

skull wrote:
Tue Nov 21, 2023 9:56 pm
new_guy wrote:
Tue Nov 21, 2023 5:50 pm
The minimum time-threshold concept is dumb, right? Or is it just a UI matter?
This doesn't really seem constructive. What do you mean? It's a smart, desired feature, as several folks have agreed.
I think what he meant is people shouldn't have to do time calculations in order to simply limit output (versus just saying show me the top N playlists). But you can argue it either way. In fact I've changed my mind again and will keep the duration approach.
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

OK please re-download again and read the INI_file_notes.txt file.

You can now have any of these in the INI file:

-keepDialnorm
-fast
-progressnumbers
-showall

Due to a limitation of eac3to architecture the full command line is not parsed when just
displaying the playlists, so it's not possible (or at least not easy) to make a -showall option.
So instead you have it in the INI file. It should be a seldom-required option so no big
deal that it is only in the INI file.

This is my release candidate for 3.40 so please test thoroughly. Thank you.
Curly Howard
Director of EAC3TO Development
DAE avatar
Trunks
Posts: 32
Joined: Wed Nov 08, 2023 8:59 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Trunks »

Well, one fix is needed. For Elemental, the subs are in sync with the 4K Blu-ray, but not the 1080p Blu-ray for some reason. Not sure why. The audio tracks are in sync for both versions.

Image

Image

Image
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Will it ever end? Investigating...
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Please re-download and test. It was an easy fix for a change. ;)

I'll be out for a few hours. I got selected to go buy Sweetie Pie's food.
Curly Howard
Director of EAC3TO Development
DAE avatar
Trunks
Posts: 32
Joined: Wed Nov 08, 2023 8:59 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Trunks »

Now we're good!
User avatar
skull
Posts: 69
Joined: Thu Nov 02, 2023 7:58 pm
Location: canada

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by skull »

Curly, something I noticed, worth a quick mention, even if it only ends up being a future improvement to-do. Currently eac3to has some internal documentation and sample syntax when you just execute the program, spits this out, which is great:

Code: Select all

eac3to_mod v3.40, freeware by madshi.net, assisted by DG Tools (rationalqm.us)

- 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

eac3to sourcefile[+sourcefile2] [trackno:] [destfile|stdout] [-options]

Examples:
eac3to source.pcm destination.flac
eac3to source.thd destination.flac destination.ac3
eac3to source.evo 1: chapters.txt 2: video.mkv 3: audio.flac 5: subtitle.sup
eac3to feature_1.evo+feature_2.evo movie.mkv
eac3to blurayMovieFolder movie.mkv

Options:
-448               use e.g. "192", "448" or "640" kbps for AC3 encoding
-768               use "768" or "1536" kbps for DTS encoding
-core              extract the DTS core of a DTS-HD track
+/-100ms           apply a positive or negative audio delay
+/-3dB             apply a positive or negative audio gain (volume change)
-0,1,2,3,4,5       remap the channels to the specified order
-edit=0:00:00,0ms  loops or removes audio data at the specified runtime
-silence/-loop     forces usage of silence (or looping) for audio edits
-down6             downmix 7 or 8 channels to 6 channels
-downDpl           downmix multi channel audio to Dolby Pro Logic II
-downStereo        downmix multi channel audio to simple Stereo
-phaseShift        shift phase (when doing stereo downmixing, see "downDpl")
-mixlfe            mix LFE in (when doing stereo downmixing, see "downDpl")
-down16            downconvert decoded audio data to 14..23 bit
-slowdown          convert 25.000 and 24.000 content to 23.976 fps
-speedup           convert 23.976 and 24.000 content to 25.000 fps
-23.976/...        define source fps to be "23.976", "24.000", "25.000", ...
-changeTo24.000    change source fps to "23.976", "24.000", "25.000", ...
-resampleTo48000   resample audio to "44100", "48000" or "96000" Hz
-quality=0.50      Nero AAC encoding quality (0.00 = lowest; 1.00 = highest)
-8                 define PCM file to be "1".."8" channels
-16                define PCM file to be "16" or "24" bit
-little            define PCM file to be "little" or "big" endian
-96000             define PCM file to be 44100, 48000, 96000 or 192000 Hz
-override          forcefully overrides PCM auto detection with manual values
-sonic/nero/...    force the use of a specific decoder (not recommended)
-keepDialnorm      keep dialog normalization
-removeDialnorm    remove dialog normalization
-decodeHdcd        decodes HDCD source track (usually 16 -> 20 bit)
-demux             demuxes all video tracks and all audio and subtitle tracks
-fast              run faster by omitting some extra CRC checks
-normal            perform all CRC checks
-stripPulldown     strips the pulldown from MPEG2 video tracks
-keepPulldown      disable removal of pulldown for MPEG2, h264 and VC-1 tracks
-seekToIFrames     make all h264/AVC "I" frames seekable
-check             checks if the source EVO/(M2)TS file is clean.
-test              checks if the external filters are installed & working
-lowPriority       moves processing to background/idle priority
-shutdown          automatically shutdown the PC after processing is done

Supported source formats:
(1) RAW, (L)PCM
(2) WAV (PCM, DTS and AC3), W64, RF64
(3) AC3, E-AC3
(4) DTS, DTS-ES, DTS-96/24, DTS-HD Hi-Res, DTS-HD Master Audio
(5) MP1, MP2, MP3 audio
(6) AAC audio
(7) MLP, TrueHD, TrueHD/AC3
(8) FLAC
(9) EVO/VOB/(M2)TS and MKV

Decoded audio data can be stored as / encoded to:
(1) RAW, (L)PCM
(2) WAV (PCM only), W64, RF64, AGM
(3) WAVs (multiple mono WAV files, PCM only)
(4) AC3
(5) DTS
(6) AAC
(7) FLAC

For best AAC decoding you need:
(1) Nero 7 (Nero 8 won't work!)
(2) Nero HD DVD / Blu-Ray plugin

For DTS encoding you need:
(1) SurCode DVD DTS - version 1.0.21 or newer

For AAC encoding you need:
(1) Nero AAC Encoder

For video muxing you need:
(1) Haali Matroska Muxer
However, the very last syntax example provided indicates you can query the main Blu-ray disc structure folder and output to a single .mkv, which is not actually (fully) supported by eac3to. It doesn't work with a specific playlist either, nor the video track itself, at least for HEVC/UHD discs. I believe it was meant to work for older video formats according to eac3to how-to docs, because it uses Haali Matroska Muxer in that case, although not sure how useful it is even in that case, as it uses the 1st playlist found, which is not likely desired, as you can see for Elemental 2K disc, it just output 3 hours of main menu loops to .mkv, haha.

Anyway, perhaps worth removing/modifying that syntax example, or providing a more helpful suggested syntax, if someone tries to run a flavour of that command-line with HEVC involved, or even one day supporting HEVC to .mkv / extending mkv support for mkvtoolnix, when present, but that's just an idea to replace outdated Haali splitter.

Here are some example log files, including the working syntax to .h265, for Elemental 4K disc, and Elemental 2K disc to mkv, for reference.

uhd disc > .mkv (error)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_UHD_BD" elemental.mkv"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 1 audio track, 2:55:39, 30.885p
1: Chapters, 301 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
[v02] h265/HEVC video track muxing to MKV is currently not supported.  <ERROR>
[v02] Internal error - unknown video output format!  <ERROR>
uhd disc playlist > .mkv (error)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_UHD_BD" 2) elemental.mkv"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 7 audio tracks, 3 subtitle tracks, 1:41:29, 24p /1.001
1: Chapters, 27 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -27dB
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
8: E-AC3, French, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
9: E-AC3, Spanish, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
[v02] h265/HEVC video track muxing to MKV is currently not supported.  <ERROR>
[v02] Internal error - unknown video output format!  <ERROR>
uhd disc hevc track > .mkv (error)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_UHD_BD" 2) 2: elemental.mkv -log="D:\test_Job_1.log"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 7 audio tracks, 3 subtitle tracks, 1:41:29, 24p /1.001
1: Chapters, 27 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -27dB
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
8: E-AC3, French, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
9: E-AC3, Spanish, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
[v02] h265/HEVC video track muxing to MKV is currently not supported.  <ERROR>
[v02] Internal error - unknown video output format!  <ERROR>
uhd disc hevc track > .h265 (success)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_UHD_BD" 2) 2: elemental.h265"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 7 audio tracks, 3 subtitle tracks, 1:41:29, 24p /1.001
1: Chapters, 27 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -27dB
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
8: E-AC3, French, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
9: E-AC3, Spanish, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
[v02] Extracting video track number 2...
[v02] Creating file "elemental.h265"...
Video track 2 contains 145943 frames.
eac3to processing took 3 minutes, 33 seconds.
Done.
hd disc > .mkv (success)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_HD_BD" "M:\Elemental.mkv"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 1 audio track, 2:56:08, 24p /1.001
1: Chapters, 301 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
Creating file "M:\Elemental - Chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[v02] Muxing video to Matroska...
[a03] Removing AC3 dialog normalization...
[a03] Creating file "M:\Elemental - 3 - AC3, English, 5.1 channels, 640kbps, 48kHz.ac3"...
Added fps value (24 /1.001) to MKV header.
Video track 2 contains 253673 frames.
eac3to processing took 6 minutes, 49 seconds.
Done.
Cheers! If you think this is a non-issue or not planned to be supported/changed, let me know and I can delete post, lol. :)
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

t y 4 ur use cases
mkv muxing etc is on the list
n e thing else
we aim to please
Curly Howard
Director of EAC3TO Development
DAE avatar
trojiteEL
Posts: 18
Joined: Tue Oct 31, 2023 9:18 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by trojiteEL »

Did some other testing with UHD blu-rays and regular blu-rays in my collection and so far so good: it is rock-solid. Cheers!
DAE avatar
Trunks
Posts: 32
Joined: Wed Nov 08, 2023 8:59 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Trunks »

There is a problem with some Blu-rays that have LPCM tracks. One of them is Mean Street (Criterion): https://www.blu-ray.com/movies/Mean-Str ... ay/343741/

When you demux with eac3to, everything works fine.

Code: Select all

eac3to v3.34
command line: eac3to  Mean.Streets.1973 1) -demux
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 1 subtitle track, 1:52:12, 24p /1.001
1: Chapters, 23 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 1.0 channels, 24 bits, 48kHz
4: Subtitle (PGS), English
Creating file "00005 - Chapters.txt"...
[s04] Extracting subtitle track number 4...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Swapping endian...
[v02] Creating file "00005 - 2 - h264, 1080p24.h264"...
[a03] Creating file "00005 - 3 - PCM, English, 1.0 channels, 24 bits, 48kHz.pcm"...
[s04] Creating file "00005 - 4 - Subtitle (PGS), English.sup"...
[a03] The original audio track has a constant bit depth of 24 bits.
Video track 2 contains 161415 frames.
Subtitle track 4 contains 2044 captions.
eac3to processing took 1 minute, 2 seconds.
Done.
But when you demux with eac3to_mod, an alleged audio gap exists.

Code: Select all

eac3to v3.40
command line: eac3to_mod.exe  Mean.Streets.1973 2) -demux
------------------------------------------------------------------------------
Running in normal mode
Keeping dialnorm
M2TS, 1 video track, 1 audio track, 1 subtitle track, 1:52:12, 24p /1.001
1: Chapters, 23 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 1.0 channels, 24 bits, 48kHz, dialnorm: -0dB
4: Subtitle (PGS), English
Creating file "00005 - Chapters.txt"...
[s04] Extracting subtitle track number 4...
[a03] Extracting audio track number 3...
[v02] Extracting video track number 2...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Swapping endian...
[v02] Creating file "00005 - 2 - h264, 1080p24.h264"...
[a03] Creating file "00005 - 3 - PCM, English, 1.0 channels, 24 bits, 48kHz.pcm"...
[s04] Creating file "00005 - 4 - Subtitle (PGS), English.sup"...
[a03] The original audio track has a constant bit depth of 24 bits.
[b][a03] Audio has a gap of 170503ms at playtime 0:10:24.  <WARNING>
[a03] Starting 2nd pass...[/b]
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Swapping endian...
[a03] Realizing RAW/PCM gaps...
[a03] Creating file "00005 - 3 - PCM, English, 1.0 channels, 24 bits, 48kHz.pcm"...
[a03] The processed audio track has a constant bit depth of 24 bits.
Video track 2 contains 161415 frames.
Subtitle track 4 contains 2044 captions.
eac3to processing took 1 minute, 21 seconds.
Done.
As you can see, the log says, "Audio has a gap of 170503ms at playtime 0:10:24". But that is not the case, something is wrong here. Plus, there is no sound until 10m24s when you play the file in W64, FLAC or WAV. And as you may imagine, it's completely out of sync.

Image

The track demuxed with eac3to has a duration of 1 h 52 min 12 s 351 ms when you convert the LCPM to W64 or FLAC. But the track demuxed with eac3to_mod has a duration of 2 h 2 min 12 s 351 ms. The video is 1 h 52 min 12 s 351 ms.

Also, when you convert the LPCM track demuxed with eac3to to FLAC, WAV or W64, everything works fine.

Code: Select all

eac3to_mod.exe eac3to_track.pcm English.w64
Running in normal mode
Keeping dialnorm
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 24 bits.
analyze: 100%
The RAW/PCM file seems to have 1 channels.
[b]RAW/PCM, 1.0 channels, 1:52:12, 24 bits, 1152kbps, 48kHz, dialnorm: -0dB[/b]
Reading RAW/PCM...
Swapping endian...
Writing W64...
Creating file "English.w64"...
process: 100%
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 6 seconds.
Done.
But when you do the same with the LPCM track demuxed with eac3to_mod, it is required to specify the number of channels.

Code: Select all

eac3to_mod.exe eac3to_mod_track.pcm English.w64
Running in normal mode
Keeping dialnorm
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 24 bits.
analyze: 100%
[b]The RAW/PCM file probably has 1, 2, 3, 4, 5, 6, 7 or 8 channels.
The most probable number of channels is 1.
Please specify one of these via command line paramater[/b].
Good luck!
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

What happens with DGDemux? What happens with eac3to 3.36?

Also, please try:

eac3to_mod Mean.Streets.1973 1) 3: out.w64

If it works with w64 then we should change the -demux behavior to use w64
instead of PCM. There shouldn't ever be any need to write out raw PCM without a wrapper.
Curly Howard
Director of EAC3TO Development
DAE avatar
Trunks
Posts: 32
Joined: Wed Nov 08, 2023 8:59 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Trunks »

With eac3to 3.3.6 (PCM): no problem, same thing as v3.34.
With DGDemux (W64): no problem.
With eac3to_mod and out.w64: no problem.
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Cool, thanks. I've changed it to output w64 for -demux. Will make a slipstream shortly. As I said, asking for raw PCM output is silly and I don't care about it.
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Please re-download and test.

I'm trying to avoid disabling 2ndpass altogether but it's getting increasingly hard. Let's see.
Curly Howard
Director of EAC3TO Development
DAE avatar
Trunks
Posts: 32
Joined: Wed Nov 08, 2023 8:59 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Trunks »

Works fine now, nice!
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Thank you for your testing and report, Trunks. Waiting for the other shoe to drop...or, do we now have a good release candidate?
Curly Howard
Director of EAC3TO Development
User avatar
skull
Posts: 69
Joined: Thu Nov 02, 2023 7:58 pm
Location: canada

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by skull »

Curly wrote:
Fri Nov 24, 2023 3:00 pm
Thank you for your testing and report, Trunks. Waiting for the other shoe to drop...or, do we now have a good release candidate?
Maybe give 24-48 hours for anyone else to be able to test and then consider good to go? :)
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Guys, here is the 3.40 release candidate. Changes since the last test version:

* Fixed a spurious EAC3 bitstream parsing error.
* Cleaned up the text displayed when just eac3to_mod is typed
(removed MKV muxing stuff and added some things).
* Added a document eac3to_mod_notes.txt
* Added the needed files from the 3.36 distribution.

https://rationalqm.us/misc/eac3to_mod_3.40.rar
Curly Howard
Director of EAC3TO Development
DAE avatar
Thunderbolt
Posts: 14
Joined: Sun Oct 29, 2023 2:59 pm

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Thunderbolt »

Is the libFlac.dll actually the same one which comes with the latest original EAC3to Version or a rather new file which has been downloaded and renamed separately?
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

* Added the needed files from the 3.36 distribution.
If you'd like to suggest a later version that remains compatible, feel free.
Curly Howard
Director of EAC3TO Development
User avatar
skull
Posts: 69
Joined: Thu Nov 02, 2023 7:58 pm
Location: canada

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by skull »

Curly wrote:
Sat Nov 25, 2023 1:51 pm
* Added the needed files from the 3.36 distribution.
If you'd like to suggest a later version that remains compatible, feel free.
Yes, the original libFLAC.dll is very old that came with eac3to, definitely recommend updating if it's going to be included moving forward, just not 64-bit .dll, as it causes crashes in my testing. I successfully tested converting plain mono and stereo DDP and DTS-HD MA to FLAC personally, but not all other possible regressions and codecs. The most recent official version does work v1.4.3 and available here: https://www.rarewares.org/files/lossles ... .3-x86.zip

UPDATE: Tested Elemental UHD and HD discs, converting all audio tracks to FLAC, attached .log for the run below. They are good discs to use for (future) testing with as they have seamless branching and variety of Dolby and DTS audio tracks (just no PCM). All went OK, interestingly for UHD BD only, the last (2) DDP 7.1 audio tracks for SPA and FRE dubs needed a 2nd pass as they had "clipping detected", but not with the HD BD, as they had different DD 5.1 encoded dub tracks, likely due to different disc mastering. I quickly scanned all outputted .flac files for length and sanity checked spectral frequency plots plus skimmed listening to all of them briefly in foobar2000, all seem OK when compared to original source for both discs.

Elemental UHD BD, all audio > flac (libFLAC.dll v1.4.3)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_UHD_BD\BDMV\" 2) 3: "D:\\0_3eng.flac" 4: "D:\\0_4eng.flac" 5: "D:\\0_5eng.flac" 6: "D:\\0_6eng.flac" 7: "D:\\0_7eng.flac" 8: "D:\\0_8fre.flac" 9: "D:\\0_9spa.flac" -progressnumbers"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 7 audio tracks, 3 subtitle tracks, 1:41:29, 24p /1.001
1: Chapters, 27 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -27dB
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
8: E-AC3, French, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
9: E-AC3, Spanish, 7.1 channels, 1024kbps, 48kHz, dialnorm: -27dB
   (core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -27dB)
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
[a04] Extracting audio track number 4...
[a06] Extracting audio track number 6...
[a05] Extracting audio track number 5...
[a03] Extracting audio track number 3...
[a09] Extracting audio track number 9...
[a07] Extracting audio track number 7...
[a08] Extracting audio track number 8...
[a09] Removing E-AC3 & Core dialog normalization...
[a09] Extracting E-AC3 core...
[a03] Extracting TrueHD stream...
[a03] Removing TrueHD dialog normalization...
[a03] Decoding with libav/ffmpeg...
[a05] Removing AC3 dialog normalization...
[a09] Decoding with libav/ffmpeg...
[a04] Removing E-AC3 & Core dialog normalization...
[a05] Decoding with libav/ffmpeg...
[a04] Extracting E-AC3 core...
[a07] Removing AC3 dialog normalization...
[a06] Removing AC3 dialog normalization...
[a06] Decoding with libav/ffmpeg...
[a07] Decoding with libav/ffmpeg...
[a08] Removing E-AC3 & Core dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a09] Reducing depth from 64 to 24 bits...
[a05] Reducing depth from 64 to 24 bits...
[a06] Reducing depth from 64 to 24 bits...
[a07] Reducing depth from 64 to 24 bits...
[a08] Extracting E-AC3 core...
[a04] Reducing depth from 64 to 24 bits...
[a09] Encoding FLAC with libFlac...
[a05] Encoding FLAC with libFlac...
[a06] Encoding FLAC with libFlac...
[a07] Encoding FLAC with libFlac...
[a08] Decoding with libav/ffmpeg...
[a08] Reducing depth from 64 to 24 bits...
[a08] Encoding FLAC with libFlac...
[a04] Encoding FLAC with libFlac...
[a03] Encoding FLAC with libFlac...
[a04] Creating file "D:\\0_4eng.flac"...
[a05] Creating file "D:\\0_5eng.flac"...
[a08] Creating file "D:\\0_8fre.flac"...
[a09] Creating file "D:\\0_9spa.flac"...
[a03] Creating file "D:\\0_3eng.flac"...
[a06] Creating file "D:\\0_6eng.flac"...
[a07] Creating file "D:\\0_7eng.flac"...
[a03] Skipping identical AC3 frames (seamless branching)...
[a08] Skipping identical AC3 frames (seamless branching)...
[a04] Skipping identical AC3 frames (seamless branching)...
[a09] Skipping identical AC3 frames (seamless branching)...
[a05] Skipping identical AC3 frames (seamless branching)...
[a06] Skipping identical AC3 frames (seamless branching)...
[a07] Skipping identical AC3 frames (seamless branching)...
[a08] Clipping detected, a 2nd pass will be necessary.  <WARNING>
[a09] Clipping detected, a 2nd pass will be necessary.  <WARNING>
[a03] Original audio track, L: max 23 bits, average 16 bits.
[a03] Original audio track, R+C+BL+BR+SL+SR: max 24 bits, average 19 bits.
[a03] Original audio track, LFE: constant bit depth of 16 bits.
[a08] Starting 2nd pass...
[a09] Starting 2nd pass...
[a08] Extracting audio track number 8...
[a09] Extracting audio track number 9...
[a08] Removing E-AC3 & Core dialog normalization...
[a08] Extracting E-AC3 core...
[a09] Removing E-AC3 & Core dialog normalization...
[a08] Decoding with libav/ffmpeg...
[a09] Extracting E-AC3 core...
[a09] Decoding with libav/ffmpeg...
[a08] Reducing depth from 64 to 24 bits...
[a09] Reducing depth from 64 to 24 bits...
[a09] Encoding FLAC with libFlac...
[a08] Encoding FLAC with libFlac...
[a09] Applying -0.1dB gain...
[a08] Applying -0.12dB gain...
[a08] Creating file "D:\\0_8fre.flac"...
[a09] Creating file "D:\\0_9spa.flac"...
[a08] Skipping identical AC3 frames (seamless branching)...
[a09] Skipping identical AC3 frames (seamless branching)...
Video track 2 contains 145943 frames.
eac3to processing took 11 minutes, 8 seconds.
Done.
Spectrogram plots for Left channel only of each output .flac track from UHD BD can be found here for reference: https://slow.pics/c/FbDZ97RZ

Elemental HD BD, all audio > flac (libFLAC.dll v1.4.3)

Code: Select all

eac3to v3.40
command line: "S:\EAC3TO\eac3to.exe"  "M:\Elemental_2023_HD_BD\BDMV\" 3) 3: "D:\\0_3eng.flac" 4: "D:\\0_4eng.flac" 5: "D:\\0_5eng.flac" 6: "D:\\0_6eng.flac" 7: "D:\\0_7fre.flac" 8: "D:\\0_8spa.flac" 9: "D:\\0_9eng.flac" -progressnumbers"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
M2TS, 1 video track, 7 audio tracks, 6 subtitle tracks, 1:41:24, 24p /1.001
1: Chapters, 27 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz, dialnorm: -4dB
   (core: DTS, 5.1 channels, 1509kbps, 48kHz, dialnorm: -4dB)
4: DTS Hi-Res, English, 5.1 channels, 2046kbps, 48kHz, dialnorm: -4dB
   (core: DTS, 5.1 channels, 1509kbps, 48kHz, dialnorm: -4dB)
5: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, French, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
8: AC3, Spanish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
9: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
13: Subtitle (PGS), English
14: Subtitle (PGS), French
15: Subtitle (PGS), Spanish
[a03] Extracting audio track number 3...
[a08] Extracting audio track number 8...
[a07] Extracting audio track number 7...
[a09] Extracting audio track number 9...
[a05] Extracting audio track number 5...
[a04] Extracting audio track number 4...
[a06] Extracting audio track number 6...
[a03] Decoding with libDcaDec DTS Decoder...
[a08] Removing AC3 dialog normalization...
[a07] Removing AC3 dialog normalization...
[a08] Decoding with libav/ffmpeg...
[a07] Decoding with libav/ffmpeg...
[a03] Encoding FLAC with libFlac...
[a09] Removing AC3 dialog normalization...
[a09] Decoding with libav/ffmpeg...
[a05] Removing AC3 dialog normalization...
[a05] Decoding with libav/ffmpeg...
[a04] Decoding with libDcaDec DTS Decoder...
[a06] Removing AC3 dialog normalization...
[a06] Decoding with libav/ffmpeg...
[a09] Reducing depth from 64 to 24 bits...
[a05] Reducing depth from 64 to 24 bits...
[a08] Reducing depth from 64 to 24 bits...
[a06] Reducing depth from 64 to 24 bits...
[a07] Reducing depth from 64 to 24 bits...
[a09] Encoding FLAC with libFlac...
[a05] Encoding FLAC with libFlac...
[a08] Encoding FLAC with libFlac...
[a06] Encoding FLAC with libFlac...
[a07] Encoding FLAC with libFlac...
[a04] Encoding FLAC with libFlac...
[a03] Creating file "D:\\0_3eng.flac"...
[a04] Creating file "D:\\0_4eng.flac"...
[a07] Creating file "D:\\0_7fre.flac"...
[a08] Creating file "D:\\0_8spa.flac"...
[a05] Creating file "D:\\0_5eng.flac"...
[a06] Creating file "D:\\0_6eng.flac"...
[a09] Creating file "D:\\0_9eng.flac"...
[a04] Skipping identical DTS frames (seamless branching)...
[a03] Skipping identical DTS frames (seamless branching)...
[a07] Skipping identical AC3 frames (seamless branching)...
[a08] Skipping identical AC3 frames (seamless branching)...
[a06] Skipping identical AC3 frames (seamless branching)...
[a09] Skipping identical AC3 frames (seamless branching)...
[a05] Skipping identical AC3 frames (seamless branching)...
[a03] The original audio track has a constant bit depth of 24 bits.
Video track 2 contains 145962 frames.
eac3to processing took 6 minutes, 3 seconds.
Done.
Spectrogram plots for Left channel only of each output .flac track from HD BD can be found here for reference: https://slow.pics/c/2Ns8pKKK

GREEN LIGHT MEANS GO!
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

Thank you, skull. When you give the green light I'll include that one.
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 746
Joined: Sun Mar 15, 2020 11:05 am

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Curly »

saw yer edit skull
one der bar u r the man
gunna update the new flac and make a 4mal distry 2morrow
happiness is not hearing from Trunks for a day or 2 :P
just kiddin T-man
rilly appreci8 your testing and suggestions
Curly Howard
Director of EAC3TO Development
User avatar
Britney
Posts: 150
Joined: Sun Aug 09, 2020 3:24 pm

EAC3TO_Mod Bug Reports and Feature Requests Only

Post by Britney »

OMG :!:
Locked