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. |
13th August 2017, 19:31 | #14341 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
-downXX fix the bitdepth of decoded PCM data. Quote:
Quote:
eac3to try to be smart and ignore usseless parametres, even check if last 8 significant bits are all to "0" to output only 16 bits. - If you are talking about a standard DTS, like AC3, don't have bitdepth. Does not exist a standard DTS 24 bits. When eac3to decode a lossy format (AC3, DTS, MP3, ...) internally work with 64 bits float samples and, at output by default, downsample to 24 bits int because is enough precission. If you want preserve the 64 bit float you can add the parameter: -full
__________________
BeHappy, AviSynth audio transcoder. |
|||
12th September 2017, 08:31 | #14342 | Link | ||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@madshi
I would like to request 0.1 intervals for the percentage status display/output. Some years ago I suggested to use an alternative or additional mkv muxer because many people don't like to install directshow filters, configuring DirectShow and in general configuring and repairing Windows requires expertise many people don't have. This summer I received a email with following content: Quote:
Quote:
In staxrip Haali is optional even for eac3to usage and I didn't remove or change anything. For VC1 I think eac3to users need Haali because I don't think there is a avs/vs source filter that can handle raw VC1. While staxrip supports many different tools and workflows eac3to is still popular and I always ensured it has the best possible support.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
||
23rd September 2017, 05:13 | #14349 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@madshi
There seem to be a problem with a AC3 file, it was reported by a staxrip user so I don't have the source but if you want to work on it I might be able to get the file for you. Code:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Source file MediaInfo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- F:\Movie.mkv General Complete name : F:\Movie.mkv Format : Matroska Format version : Version 1 File size : 1.46 GiB Duration : 56 min 46 s Overall bit rate : 3 677 kb/s Encoded date : UTC 2009-06-22 03:44:10 Writing application : mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Nov 7 2008 17:24:23 Writing library : libebml v0.7.8 + libmatroska v0.8.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format, CABAC : Yes Format, ReFrames : 3 frames Codec ID : V_MPEG4/ISO/AVC Duration : 56 min 46 s Bit rate : 3 289 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.149 Stream size : 1.28 GiB (88%) Writing library : x264 core 67 r1162M f7bfcfa Language : English Default : Yes Forced : No Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Format, Endianness : Big Codec ID : A_AC3 Duration : 56 min 46 s Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 spf) Bit depth : 16 bits Compression mode : Lossy Stream size : 156 MiB (10%) Service kind : Complete Main Default : Yes Forced : No -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Demux mkv using mkvextract 13.0.0 x64 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- C:\StaxRip\Apps\MKVToolNix\mkvextract.exe tracks F:\Movie.mkv 1:"F:\Movie_temp\Movie ID1.ac3" --ui-language en Extracting track 1 with the CodecID 'A_AC3' to the file 'F:\Movie_temp\Movie ID1.ac3'. Container format: Dolby Digital (AC-3) Start: 9:08:04 PM End: 9:08:07 PM Duration: 00:00:02 General Complete name : F:\Movie_temp\Movie ID1.ac3 Format : AC-3 Format/Info : Audio Coding 3 File size : 156 MiB Duration : 56 min 46 s Overall bit rate mode : Constant Overall bit rate : 384 kb/s Audio Format : AC-3 Format/Info : Audio Coding 3 Format, Endianness : Big Duration : 56 min 46 s Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 spf) Bit depth : 16 bits Compression mode : Lossy Stream size : 156 MiB (100%) Service kind : Complete Main -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Audio Source File MediaInfo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- General Complete name : F:\Movie_temp\Movie ID1.ac3 Format : AC-3 Format/Info : Audio Coding 3 File size : 156 MiB Duration : 56 min 46 s Overall bit rate mode : Constant Overall bit rate : 384 kb/s Audio Format : AC-3 Format/Info : Audio Coding 3 Format, Endianness : Big Duration : 56 min 46 s Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 spf) Bit depth : 16 bits Compression mode : Lossy Stream size : 156 MiB (100%) Service kind : Complete Main -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Audio encoding using eac3to 3.31 x86 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- C:\StaxRip\Apps\eac3to\eac3to.exe "F:\Movie_temp\Movie ID1.ac3" "F:\Movie_temp\Movie ID1_a1.m4a" -quality=0.23 -normalize -downStereo -progressnumbers AC3, 2.0 channels, 0:56:46, 384kbps, 48kHz, dialnorm: -27dB Removing AC3 dialog normalization... Decoding with libav/ffmpeg... Writing WAV... Creating file "F:\Movie_temp\Movie ID1_a1.m4a.pass1.wav"... Caution: The WAV file is bigger than 4GB. Some WAV readers might not be able to handle this file correctly. Starting 2nd pass... Reading WAV... Reducing depth from 64 to 32 bits... Encoding AAC <0.23> with NeroAacEnc... Applying 0.95dB gain... The original audio track has a constant bit depth of 64 bits. The processed audio track has a constant bit depth of 32 bits. eac3to processing took 3 minutes, 34 seconds. Done. Start: 9:08:08 PM End: 9:11:43 PM Duration: 00:03:34 General Complete name : F:\Movie_temp\Movie ID1_a1.m4a Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (M4A /mp42/isom) File size : 76.3 MiB Duration : 2 h 48 min Overall bit rate mode : Variable Overall bit rate : 63.4 kb/s Encoded date : UTC 2017-09-22 01:08:31 Tagged date : UTC 2017-09-22 01:11:42 Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : HE-AAC / LC Codec ID : 40 Duration : 2 h 48 min Bit rate mode : Variable Bit rate : 62.6 kb/s Maximum bit rate : 77.7 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz / 24.0 kHz Frame rate : 23.438 FPS (1024 spf) Compression mode : Lossy Stream size : 75.3 MiB (99%) Writing library : Nero AAC codec 1.5.4.0 Encoded date : UTC 2017-09-22 01:08:31 Tagged date : UTC 2017-09-22 01:11:42
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
23rd September 2017, 10:19 | #14350 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
That is a typical problem with captures from TV.
When MediaInfo/eac3to read the first header of AC3 show: Format : AC-3 Duration : 56 min 46 s Bit rate : 384 kb/s Channel(s) : 2 channels Stream size : 156 MiB All seems correct and we can expect a decoded wav (64 bits) size of: 3406 sec. x 2 ch. x 8 bytes/ch x 48000 samples/sec = 2495 MB But the decoded wav is: Caution: The WAV file is bigger than 4GB. because only the first's AC3 are 2.0 and the rest are 5.1, then the decoded wav have 3 times (6ch/2ch) size and are buggy (noise) recoded to a m4a with a duration of: 3406 sec x 3 = 2h 50m near the duration 2 h 48 min of m4a (seems there are a few of AC3 2.0 frames, maybe commercials) An AC3 with a mix of 2.0 and 5.1 frames are invalid and can't be recoded properly, you need obtain valid AC3 from it. You can use DelayCut or a tool I wrote: SplitAc3 Other related threads: https://forum.doom9.org/showthread.p...27#post1679327 https://forum.doom9.org/showthread.p...31#post1768231
__________________
BeHappy, AviSynth audio transcoder. |
23rd September 2017, 11:38 | #14351 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Oh Thanks, I didn't notice or expect it.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
27th September 2017, 09:56 | #14352 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
If you have ffdshow installed and don't mind decoding/encoding via DirectShow you can usually fix those problematic AC3 re-encodes by decoding with ffdshow and enabling it's mixer filter and setting it to output 5.1ch.
|
2nd October 2017, 00:26 | #14356 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I could handle the file with ffmpeg.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
3rd October 2017, 00:12 | #14357 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,380
|
Hi madshi
I found in the Bluray The Great Wall(sample), two streams with E-AC3 EX (I have never seen this before), 7.1 channels and a core with 5.1 channels. Mkvmerge and ffprobe detect this streams only with 5.1 channels and a bitrate of 576kbps, but it seems to me these is only the core. Code:
4: E-AC3 EX, French, 7.1 channels, 1152kbps, 48kHz (core: AC3 EX, 5.1 channels, 576kbps, 48kHz) 5: E-AC3 EX, German, 7.1 channels, 1152kbps, 48kHz (core: AC3 EX, 5.1 channels, 576kbps, 48kHz) So what is wrong, eac3to or all other tools? best regards |
3rd October 2017, 00:20 | #14358 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Blu-ray EAC3 is rather peculiar, and ffmpeg doesn't support decoding it (or any other open-source decoders i'm aware of). Its not a proper EAC3 stream but a AC3 core with a EAC3 extension.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
3rd October 2017, 18:06 | #14359 | Link |
Registered User
Join Date: May 2016
Posts: 197
|
FYI: mkvmerge does not strip an extension away. If I mux the streams with mkvmerge id 3 or 4* alone I get files with size 2.8 MiB. MediaInfo 0.7.99 has the following to say about the file with the German track:
Code:
General Unique ID : 245046857353978534520836163522779116025 (0xB85A4EDB6BD25BCBB0D8010ED44371F9) Complete name : I:\The Great Wall\STREAM\00245_0.mka Format : Matroska Format version : Version 4 / Version 2 File size : 2.81 MiB Duration : 20 s 384 ms Overall bit rate mode : Constant Overall bit rate : 1 155 kb/s Encoded date : UTC 2017-10-03 16:43:44 Writing application : mkvmerge v16.0.0 ('Protest') 64-bit Writing library : libebml v1.3.5 + libmatroska v1.4.8 Audio ID : 1 Format : E-AC-3 Format/Info : Enhanced Audio Coding 3 Format settings, Endianness : Big Codec ID : A_EAC3 Duration : 20 s 384 ms Bit rate mode : Constant Bit rate : 500 b/s Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 kHz Frame rate : 187.500 FPS (256 SPF) Compression mode : Lossy Stream size : 2.80 MiB (100%) Service kind : Complete Main Default : Yes Forced : No Code:
General Unique ID : 181109783328528269767092120785351483635 (0x884079B9EF4E2234A69025BC420A20F3) Complete name : I:\The Great Wall\STREAM\00245_0 (1).mka Format : Matroska Format version : Version 4 / Version 2 File size : 2.81 MiB Duration : 20 s 384 ms Overall bit rate mode : Constant Overall bit rate : 1 155 kb/s Encoded date : UTC 2017-10-03 16:49:14 Writing application : mkvmerge v16.0.0 ('Protest') 64-bit Writing library : libebml v1.3.5 + libmatroska v1.4.8 Audio ID : 1 Format : E-AC-3 Format/Info : Enhanced Audio Coding 3 Format profile : E-AC-3+Atmos / E-AC-3 Format settings, Endianness : Big Codec ID : A_EAC3 Duration : 20 s 384 ms Bit rate mode : Constant Bit rate : 500 b/s Channel(s) : 11 objects / 6 channels Channel positions : 11 objects / Front: L C R, Side: L R, LFE Sampling rate : 48.0 kHz Frame rate : 187.500 FPS (256 SPF) Compression mode : Lossy Stream size : 2.80 MiB (100%) Service kind : Complete Main Default : Yes Forced : No By the way, if I use ffmpeg to copy these streams, the same applies. If one extracts the streams, MediaInfo claims they 13h 2m long. I don't know if the bitrate is miscalculated resulting in the wrong duration or if it's the other way around. Probably the former. *: mkvmerge assigns id 0 to the video track, id 1 to the TrueHD Atmos stream, 2 to the core embedded in the TrueHD Atmos stream, 3 to the French and 4 to the German track. |
3rd October 2017, 18:34 | #14360 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,380
|
My Pioneer Reciever shows the Dolby Atmos sign when I play the BD with TMT5.
The file size of the extracted audio(with eac3to) is almost the same what mkvmerge output(only the audio in an mka). So I guess all is ok with this streams, only the detection is not correct(channels, bitrate). |
Tags |
eac3to |
|
|