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 14th June 2019, 00:17   #14841  |  Link
thecoreyburton
Registered User
 
Join Date: Jul 2015
Posts: 109
I often use eac3to to demux BD streams. In the past I've noted a common delay of just above 21ms (there's a remaining delay of less than 1ms) when dealing with DTSHD track transcoding (eg. DTSHD > FLAC). At the time, I read up on this a fair bit and did some of my own testing, eventually concluding that a simple "-21ms" parameter would be ideal when dealing with DTSHD in this way.

There's plenty of discussion about this, but a lot of it seems related to specific issues and I can't find anything conclusive about whether or not this is the right way to approach this. I'm not sure if there is a "correct" way to do this (for instance a trim based on samples / frames to make it align perfectly or some internal function that does this), or if I should be touch this value at all. I believe it's an encoder delay (and not a decoder delay, but I could be wrong) and so it stands to reason that if this is true, perhaps some BDs have been authored with compensation for this delay in mind.

I was wondering if the way I'm handling it is the correct procedure, or is there a better way?
thecoreyburton is offline   Reply With Quote
Old 14th June 2019, 03:33   #14842  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
It is know than encoders add initial silence samples to initialize some encoders buffers, for instance if you recode to AC3 you obtain a delay of 5 ms, until 38 ms with some AAC encoders.

But with some encoders that delay is stored in metadata and any decoder must restore the audio without delay. For instance AAC in mp4 container (.m4a) must play without delay.
I can't reproduce the problem recoding DTSHD to FLAC, for me the obtained .flac is decoded without delay.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 5th July 2019, 16:47   #14843  |  Link
zeropc
Registered User
 
Join Date: Mar 2007
Posts: 100
Are we going to see a new version that supports HEVC? Last version is almost a year old
zeropc is offline   Reply With Quote
Old 5th July 2019, 17:39   #14844  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,494
eac3to v3.32 "added support for h265/HEVC bitstream parsing". So your feature request seems too unspecific. Either way eac3to development seems pretty much stalled. Not much you can do except make a proper feature request on madshi's tracker and keep fingers crossed he finds time/interest to work on it again ...
sneaker_ger is offline   Reply With Quote
Old 15th August 2019, 19:20   #14845  |  Link
ryu34
Registered User
 
Join Date: Aug 2019
Posts: 3
Hey I'm trying to use a sony x700 uhd bd player to play back my 4k uhd remuxes from a usb flash drive. It doesn't support true-hd playback from mkv containers, it can only do true-hd from m2ts, however dts-hd ma works fine from either. I thought i could over come this by just using the m2ts straight from the rip but when i playback that file i lose the ability to seek or skip chapters, anyone have any suggestions barring getting a new playback device? Thanks
ryu34 is offline   Reply With Quote
Old 15th August 2019, 19:40   #14846  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,456
Quote:
Originally Posted by ryu34 View Post
Hey I'm trying to use a sony x700 uhd bd player to play back my 4k uhd remuxes from a usb flash drive. It doesn't support true-hd playback from mkv containers, it can only do true-hd from m2ts, however dts-hd ma works fine from either. I thought i could over come this by just using the m2ts straight from the rip but when i playback that file i lose the ability to seek or skip chapters, anyone have any suggestions barring getting a new playback device? Thanks
Sadly... With regard to av file/container support, all hardware playback devices have their limitations. And just-so-you-know, the Panasonic UHD players are just as limited as the Sony's in this regard!
__________________
| 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 16th August 2019, 23:06   #14847  |  Link
ryu34
Registered User
 
Join Date: Aug 2019
Posts: 3
OK new question what kind of tools do i need to use with eac3to to demux 4k UHD dics rips and remux them into my own custom m2ts , edit i tried ts muxer and the audio desyncs from the video when using a true-hd track demuxed from the disc rip using eac3to.
ryu34 is offline   Reply With Quote
Old 17th August 2019, 12:25   #14848  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
I don't know any free tool to manage 4k UHD m2ts.

tsMuxeR can't do it, read this, now the source code is released and maybe it can work in the future.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 18th August 2019, 00:49   #14849  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,873
Can somebody with a trustworthy reputation provide updated libraries?

https://github.com/staxrip/staxrip/issues/32
stax76 is offline   Reply With Quote
Old 18th August 2019, 01:44   #14850  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 909
Quote:
Originally Posted by stax76 View Post
Can somebody with a trustworthy reputation provide updated libraries?

https://github.com/staxrip/staxrip/issues/32
you can use Rarewares for libflac update (remember to use only the x86 build for eac3to).
www.rarewares.org/lossless.php

They use latest library.
According to hydrogenaud.io forums, the only real differences for FLAC 1.3.2 and 1.3.3 is mainly for behind the curtain updates.
Nothing useful for the end-user and not worth re-compressing your existing library that has used 1.3.2 in the past.
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 18th August 2019, 04:22   #14851  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,873
Quote:
Originally Posted by Sparktank View Post
you can use Rarewares for libflac update (remember to use only the x86 build for eac3to).
www.rarewares.org/lossless.php

They use latest library.
According to hydrogenaud.io forums, the only real differences for FLAC 1.3.2 and 1.3.3 is mainly for behind the curtain updates.
Nothing useful for the end-user and not worth re-compressing your existing library that has used 1.3.2 in the past.
Thanks, I found everything I needed.
stax76 is offline   Reply With Quote
Old 5th September 2019, 14:42   #14852  |  Link
samf88
Registered User
 
Join Date: Oct 2006
Posts: 8
Hi all... not sure if this doubles as a help thread but hoping someone can spot where I'm going wrong with eac3to. I searched and found others have had this error, but help threads have fizzled out before anything was resolved.

All I want to do is demux *all* video/audio/subs/chapters tracks from a BD playlist on my hard drive to a separate directory (obviously I don't want to demux within the BD structure). I don't want to convert or encode anything, but it seems to think that's what I want to do. Where am I going wrong?

C:\>"D:\eac3to.exe" "F:\BD\MOVIE" 2) -demux "F:\eac3toDemux"
M2TS, 1 video track, 1 audio track, 6 subtitle tracks, 0:21:02, 24p /1.001
1: MPEG2, 1080p24 /1.001 (16:9)
2: AC3, English, 2.0 channels, 192kbps, 48kHz
3: Subtitle (PGS), English
4: Subtitle (PGS), Chinese
5: Subtitle (PGS), Dutch
6: Subtitle (PGS), French
7: Subtitle (PGS), Italian
8: Subtitle (PGS), Spanish
Track 2 is used for destination file "".
This audio conversion is not supported.

I understand I can manually select each track and give it a filename, but I was hoping to do that stuff further on in my workflow as this isn't a one off job.

All of the eac3to help pages seem to imply the -demux flag is for demuxing *everything* so I'm not sure where I'm going wrong. Thanks in advance!
samf88 is offline   Reply With Quote
Old 5th September 2019, 23:04   #14853  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
If tou want specify a separate directory try:

"D:\eac3to.exe" "F:\BD\MOVIE" 2) "F:\eac3toDemux\title.*"
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 24th September 2019, 15:34   #14854  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,873
Has anybody experienced:

Quote:
The program can't start because hs is missing from your computer.
It first occurred after updating the DTS library. So far only one user reported it.

https://forum.doom9.org/showthread.p...44#post1885544
stax76 is offline   Reply With Quote
Old 25th September 2019, 03:58   #14855  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
Nope. I never see that message with eac3to 3.34 (W 10).

What is the eac3to version included in Staxrip 2.0.2.0 than work?
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 29th September 2019, 02:13   #14856  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,873
Quote:
Originally Posted by tebasuna51 View Post
Nope. I never see that message with eac3to 3.34 (W 10).

What is the eac3to version included in Staxrip 2.0.2.0 than work?
Sorry about the late reply, the versions were probably the same, the difference was an updated DTS library I had compiled. The problem was solved meanwhile, it had something to do with a VC++ runtime dependency.
stax76 is offline   Reply With Quote
Old 30th September 2019, 00:52   #14857  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
Quote:
Originally Posted by stax76 View Post
... the difference was an updated DTS library I had compiled. The problem was solved meanwhile, it had something to do with a VC++ runtime dependency.
Please let us know if the updated library work with eac3to better than old one.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 8th October 2019, 17:57   #14858  |  Link
kws53
Registered User
 
Join Date: Jan 2011
Posts: 28
Quote:
Originally Posted by samf88 View Post
Hi all... not sure if this doubles as a help thread but hoping someone can spot where I'm going wrong with eac3to. I searched and found others have had this error, but help threads have fizzled out before anything was resolved.

All I want to do is demux *all* video/audio/subs/chapters tracks from a BD playlist on my hard drive to a separate directory (obviously I don't want to demux within the BD structure). I don't want to convert or encode anything, but it seems to think that's what I want to do. Where am I going wrong?

C:\>"D:\eac3to.exe" "F:\BD\MOVIE" 2) -demux "F:\eac3toDemux"
M2TS, 1 video track, 1 audio track, 6 subtitle tracks, 0:21:02, 24p /1.001
1: MPEG2, 1080p24 /1.001 (16:9)
2: AC3, English, 2.0 channels, 192kbps, 48kHz
3: Subtitle (PGS), English
4: Subtitle (PGS), Chinese
5: Subtitle (PGS), Dutch
6: Subtitle (PGS), French
7: Subtitle (PGS), Italian
8: Subtitle (PGS), Spanish
Track 2 is used for destination file "".
This audio conversion is not supported.

I understand I can manually select each track and give it a filename, but I was hoping to do that stuff further on in my workflow as this isn't a one off job.

All of the eac3to help pages seem to imply the -demux flag is for demuxing *everything* so I'm not sure where I'm going wrong. Thanks in advance!
I do this all the time.
1) Create a directory for the new files
2) Right click on the directory listing (at top) in Windows File Explorer, and select "Copy as Text"
3) In your CLI (Command Prompt in Windows), navigate to the correct DRIVE for your copied directory listing (typically type Drive letter, then colon), type "CD", then Right click and paste the directory text. Hit Enter.
4) Then in that directory, put in the location of your eac3to executable and the optical (or MOUNTED hard drive) that your ISO file is on.
5) For example: create a directory "Martian_1080" on Drive D. In Explorer, right click and copy this directory as text. Then in Command Prompt, type "D:", then ENTER. Then "CD ", then right click, paste. Then ENTER. You are now in the directory you wish to save your files.

Here is what it would look like: D:\Martian_1080>F:\video\eac3to a: 1) -demux (Actually omit the "1) -demux" portion initially to get a listing of all of the MPLS streams. Then select the appropriate stream 1), 2), etc.)

This will demux EVERYTHING on the ISO on drive a: and put it into D:\Martian_1080\
kws53 is offline   Reply With Quote
Old 12th October 2019, 17:07   #14859  |  Link
Harrenkyym
Registered User
 
Join Date: Sep 2018
Posts: 1
Hola, tebasuna, ¿qué tal? Escribiré en inglés, for everyone, but I miss so much mundodivx...

I have a question, as always, I keep building my own video library. When I want to sync the spanish audio with microhd movie, I get for example: 2: stdout.wav +6240ms -25.000 -changeTo23.976 | qaac -V 99 --ignorelength --adts --no-delay -o %_2eng.aac - At this point everything is OK, both movies have the same fps and I have calculated the difference between them, but what happens when everything is set and i discover that the audio in the spanish movie comes with a delay of 600ms already? How do I have to proceed? Thank you.
Harrenkyym is offline   Reply With Quote
Old 14th October 2019, 11:42   #14860  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,665
Hello Harrenkyym! I don't know you with this nick in dead spanish forum mundodivx.

I can't explain 600ms but maybe less.

eac3to always apply the delay before the time expansion (25 -> 23.976), no matter if you use diferent parameter order:
+6240ms -25.000 -changeTo23.976
is the same than
-25.000 -changeTo23.976 +6240ms

Then the delay is expanded also to 6240 * (25*1,001/24) = 6506 ms
266 bigger than 6240

If you want a final delay of 6240 ms you must use:
+5984ms -25.000 -changeTo23.976
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Reply

Tags
eac3to

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 23:50.


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