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.