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 15th October 2024, 22:17   #581  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,823
Does it work with last eac3to?

I have tried to read a mkv video and the eac3to about appears, instead of the track list.

Yes, I have set the exe paths.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 16th October 2024, 00:21   #582  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
No problem here:

eac3to v3.52
command line: "C:\Portable\eac3to\eac3to.exe" "D:\Temp\t\00_HD.mkv" -progressnumbers -log="C:\Portable\eac3to\UsEac3to\UsEac3To.log"
------------------------------------------------------------------------------
Running in fast mode
Removing dialnorm
MKV, 1 video track, 1 audio track, 0:00:21, 25p
1: h264/AVC, English, 720p25
2: DTS Hi-Res, 7.1 channels, 2814kbps, 48kHz, dialnorm: 0dB
(core: DTS-ES, 5.1 channels, 1509kbps, 48kHz, dialnorm: 0dB)
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 16th October 2024, 08:46   #583  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,823
Quote:
Originally Posted by tebasuna51 View Post
No problem here
I did a clean installation of last version and no way to make it work, both drag and dropping and opening. Tried to rename file to a single character but nothing helped.

It opens a cmd window telling "analyze" and then the useac3to shows eac3to help page.

Would you please post here your eac3to.ini file?

Is there any way to trace the commands sent to eac3to? The log doesn't contain them.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 16th October 2024, 11:02   #584  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
UsEac3to not need any installation other than fill the Settings options (if can't obtain them automatically):
Path to eac3to
Path to MkvMerge
Path to TsMuxer
Encoders Folder
Output Folder

You don't need eac3to.ini at all because the -progressnumbers -log= is added by UsEac3to (or can be added manually), but I have:
Quote:
-fast
-progressnumbers
And the command line is show in the log like you can see in my previous post.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 16th October 2024, 16:14   #585  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,823
Quote:
Originally Posted by tebasuna51 View Post
You don't need eac3to.ini at all because the -progressnumbers -log= is added by UsEac3to (or can be added manually), but I have
Ok, found the problem, I had '-nolog' in eac3to.ini.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 19th October 2024, 11:33   #586  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
Hi All,
when trying to encode to true hd. i lose channels.
5.1 come out 5.0
7.1 come out 5.0

how do i fix this ?

Thank you
Axeldook is offline   Reply With Quote
Old 19th October 2024, 12:13   #587  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
Quote:
Originally Posted by Axeldook View Post
5.1 come out 5.0
Work fine here:
Quote:
"C:\Portable\0\ffmpeg.exe" -i "C:\tmp\6p321.wav" -vn -strict -2 -acodec truehd "C:\tmp\6p321.wav_.thd"
ffmpeg version N-116720-g5c1c0325cd-20240817 Copyright (c) 2000-2024 the FFmpeg developers
Input #0, wav, from 'C:\tmp\6p321.wav':
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s32 (24 bit), 6912 kb/s
Output #0, truehd, to 'C:\tmp\6p321.wav_.thd':
Stream #0:0: Audio: truehd, 48000 Hz, 5.1(side), s32p (24 bit), 128 kb/s
Quote:
7.1 come out 5.0
You are right here:
Quote:
"C:\Portable\0\ffmpeg.exe" -i "C:\tmp\8w341.wav" -vn -strict -2 -acodec truehd "C:\tmp\8w341.wav_.thd"
Input #0, wav, from 'C:\tmp\8w341.wav':
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s16, 6144 kb/s
Output #0, truehd, to 'C:\tmp\8w341.wav_.thd':
Stream #0:0: Audio: truehd, 48000 Hz, 5.0(side), s16p, 128 kb/s
The ffmpeg thd encoder only can encode to 5.1, then need downmix previously 7.1 -> 5.1 and the last versions have a bug (already reported but ignored) when do so.

To recode to thd 7.1 you need any commercial encoder.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 19th October 2024, 12:42   #588  |  Link
Axeldook
Registered User
 
Join Date: Aug 2021
Posts: 18
thank you !
Axeldook is offline   Reply With Quote
Old 21st October 2024, 16:10   #589  |  Link
DanDare1983
Registered User
 
Join Date: Jan 2020
Posts: 101
I've come across a DTS-HD MA 5.1 track which has a 1000ms DELAY. The Log is telling me that a remaining delay of -2ms could not be fixed. I understand that -2ms is nothing to worry about but could someone explain how eac3to has got the delay down to -2ms? I've also seen an ATMOS track with a delay of 3003ms too. Also if i was to just convert the track to ac3 would it sort the problem? I'll also add that the video is 2: h264/AVC, 1080i50 (16:9).

Last edited by DanDare1983; 21st October 2024 at 16:14.
DanDare1983 is offline   Reply With Quote
Old 21st October 2024, 21:58   #590  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
To fix delay without recompress eac3to add silent frames (or remove frames).
Only multiples of 10.666 ms (512 samples in each frame at 48 KHz) can be fixed exactly.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 21st October 2024, 23:19   #591  |  Link
DanDare1983
Registered User
 
Join Date: Jan 2020
Posts: 101
Quote:
Originally Posted by tebasuna51 View Post
To fix delay without recompress eac3to add silent frames (or remove frames).
Only multiples of 10.666 ms (512 samples in each frame at 48 KHz) can be fixed exactly.
Thanks for the explanation. So there's nothing to worry about and eac3to is doing its job?
DanDare1983 is offline   Reply With Quote
Old 22nd October 2024, 08:12   #592  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
You preserve the quality (without decode/recode) and the remaining delay is always less than 6 ms., far than the duration of a video frame.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 23rd October 2024, 00:36   #593  |  Link
DanDare1983
Registered User
 
Join Date: Jan 2020
Posts: 101
Quote:
Originally Posted by tebasuna51 View Post
You preserve the quality (without decode/recode) and the remaining delay is always less than 6 ms., far than the duration of a video frame.
I'm currently trying to convert DTS-HD 7.1 to AC3 5.1 640kbps. Can I just choose the ac3 option or do I have to enter -down6 too?
DanDare1983 is offline   Reply With Quote
Old 23rd October 2024, 00:47   #594  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
You can use the automatic ffmpeg downmix, the -down6 eac3to method or the recommended downmix 71-51o using F-FFMPEG functions
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 23rd October 2024, 10:00   #595  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,279
Quote:
Originally Posted by DanDare1983 View Post
I'm currently trying to convert DTS-HD 7.1 to AC3 5.1 640kbps. Can I just choose the ac3 option or do I have to enter -down6 too?
Out of interest... Is there any reason why you don't want to use the 5.1 DTS 'core'?
__________________
| 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 24th October 2024, 00:19   #596  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
The core is a lossy encoded, for what use it if you have the losless source?
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 24th October 2024, 10:13   #597  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,279
Quote:
Originally Posted by tebasuna51 View Post
The core is a lossy encoded, for what use it if you have the losless source?
DanDare1983 is encoding from lossless 7.1 DTS-HD MA to lossy 5.1 Dolby Digital. So my question is, why not extract 'and play' the lossy 5.1 DTS stream instead of encoding and playing a lossy 5.1 Dolby Digital stream?
__________________
| 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 24th October 2024, 13:29   #598  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,126
Of course, but some players (like some TV's, for instance the mine) can't support even the lossy core DTS, without problem with AC3 (my TV can send by SPDIF the AC3, also EAC3 5.1.2 to my Denon 5.1.2)

There are also the size to store, the AC3 640 Kb/s have equivalent quality than DTS core 1510 Kb/s (size x 2.3)
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 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 17:38.


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