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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 29th September 2008, 20:12   #6421  |  Link
piratburner
Registered User
 
Join Date: Jul 2008
Posts: 61
Quote:
Originally Posted by piratburner View Post
Thanks madshi :-) I will do some more testings :-)
Tried to extraxt PCM 24bit with TsMuxer, The result what 2 files ???

Using eac3to = 1 file, with this messages...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Writing WAV...
[a03] Creating file "g:\bill2.wav"...
[a03] This audio track has a constant bit depth of 24 bits.
[a03] Caution: The WAV file is bigger than 4GB.
[a03] Some WAV readers might not be able to handle this file correctly.
Video track 2 contains 197030 frames.
eac3to processing took 48 minutes, 54 seconds.


This files was OK when adding to a MKV ( no error messages with mkvmerge :-) )

I'm trying now to use command -down16 and add that also to the MKV

Tomorrow I going to try this MKV:s at my TviX :-)
piratburner is offline  
Old 29th September 2008, 23:29   #6422  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
There's a problem with AGM files.

DTS Pro Encoder will accept all AGM files made from DTS-HD Master Audio tracks, but will reject every single AGM file made from TrueHD tracks (haven't tried with LPCM as source). The encoder pops up am message saying that this isn't a valid source file. This happens all the time regardless the source track is 16bit or 24 bit. In addition, mono wavs created from TrueHD tracks work fine with the AGM packer of the encoder and the actual encoder afterwards.

Last edited by nautilus7; 29th September 2008 at 23:47.
nautilus7 is offline  
Old 30th September 2008, 02:44   #6423  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by nautilus7 View Post
but will reject every single AGM file made from TrueHD tracks
if the decoded TrueHD track is less than 4GB the problem is not there.

@madshi

just to save you time in investigating the problem:

at least when eac3to decodes TrueHD track to AGM and the decoded file is over 4GB, eac3to writes wrong value for SAMP chunk in the header.

example:

the created AGM file size: 4877833220 bytes
SAMP chunk value: 4877833220 - 260 = 0x122BDD300
eac3to writes for SAMP value: 00D3 BD22 0000 0000
instead the correct value of: 00D3 BD22 0100 0000

Last edited by xkodi; 30th September 2008 at 03:58.
xkodi is offline  
Old 30th September 2008, 04:35   #6424  |  Link
Joniii
Registered User
 
Join Date: Aug 2007
Posts: 301
Stupid question , if I demux m2ts with eac3to which has audio delay of -9 ms, do I then need to add -9 delay in TSMuxer when I mux it back to m2ts? Or does eac3to somehow fix that delay when it demuxes it.
__________________

Windows 10 Pro 2004 with Media Center, 2 x DVB-C with cable cards
MPC-HC (madVR, LAV Filters, XySubFilter)
Sony Bravia 85X950H/85XH95
Yamaha RX-V685
Yamaha Piano Black NS-777/555/C444/YST-SW315
Joniii is offline  
Old 30th September 2008, 04:45   #6425  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by Joniii View Post
Stupid question , if I demux m2ts with eac3to which has audio delay of -9 ms, do I then need to add -9 delay in TSMuxer when I mux it back to m2ts? Or does eac3to somehow fix that delay when it demuxes it.
eac3to fixes the delay.
rack04 is offline  
Old 30th September 2008, 07:21   #6426  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by xkodi View Post
if the decoded TrueHD track is less than 4GB the problem is not there.
Maybe, haven't test that. With DTS-HD, size is not a problem though.
nautilus7 is offline  
Old 30th September 2008, 07:31   #6427  |  Link
Kineticpoet
Registered User
 
Join Date: Jun 2008
Posts: 4
Hi, I've lurked here for a long time and finally registered recently. I do have a question, and I realize this might have been answered somewhere along the way, but I'm new to this and honestly all of this information can get very confusing and frustrating to a newbie. So please accept my apologies if a question like this is annoying.

I've recently learned how to back my Blu-Ray's to a .mkv container on my PC using MeGUI and a plethora of other programs. I just bought a new Blu-Ray and when I open it using tsMuxer I only see one English audio track which is in TrueHD. When I demux it, it comes out as a AC3 file, but after reading this thread I'm thinking that's not how I should extract the stream. My question is how do I remove the TrueHD stream from the .m2ts file and then how do I convert that to AC3? I've read quite a bit of this thread, I saw at one point someone said something in regards to there being an AC3 stream that's coupled with the TrueHD stream. If that's true, I would just need to extract the AC3 stream, correct? I'm just unclear on how to do that.

I was able to figure out by myself how to backup a blu-ray, which took awhile, but for some reason I'm really lost as to how I can get this to work. I searched for guides on how to do this and didn't really come up with anything, or at least anything that I really understood. I hate asking something when I'm sure 95% of everyone here will roll their eyes, but this is a last ditch effort. If anyone could help it would be appreciated. Thanks.
Kineticpoet is offline  
Old 30th September 2008, 10:23   #6428  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by nautilus7 View Post
Maybe, haven't test that. With DTS-HD, size is not a problem though.
DTS-HD bit-depth is known from the beginning and thus the correct size, i suspect that with TrueHD size is calculated at the end after the check if the last byte is zero or not and probably the calculation at the end is broken and assumes that the maximum possible size is 4GB (32bit) like in the WAV file, but AGM supports 64bit size.
xkodi is offline  
Old 30th September 2008, 11:38   #6429  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Seems you have solve the issue then. madshi's job will be easier.
nautilus7 is offline  
Old 30th September 2008, 11:46   #6430  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by Kineticpoet View Post
My question is how do I remove the TrueHD stream from the .m2ts file and then how do I convert that to AC3? I've read quite a bit of this thread, I saw at one point someone said something in regards to there being an AC3 stream that's coupled with the TrueHD stream. If that's true, I would just need to extract the AC3 stream, correct?
Correct.
Quote:
Originally Posted by Kineticpoet View Post
I'm just unclear on how to do that.
I suggest this way: http://forum.doom9.org/showthread.ph...40#post1148640

You just need to modify the command in the last step to correspond to the TrueHD/AC3 combo track (change the extension of the output file to .ac3). This will give the AC3 track that already exists into the Blu-ray. If you also need the TrueHD, change extension to .thd.

Last edited by nautilus7; 30th September 2008 at 11:49.
nautilus7 is offline  
Old 30th September 2008, 11:51   #6431  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Can you add MKV to "Supported source formats" ? PLEASE !

P.S. I know there are other "tools" for demux all video and audio tracks of an mkv but I'd like (as many others) to keep things simple (and not having a lot of programs installed)
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline  
Old 30th September 2008, 17:14   #6432  |  Link
piratburner
Registered User
 
Join Date: Jul 2008
Posts: 61
Quote:
Originally Posted by piratburner View Post
Tried to extraxt PCM 24bit with TsMuxer, The result what 2 files ???

Using eac3to = 1 file, with this messages...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Writing WAV...
[a03] Creating file "g:\bill2.wav"...
[a03] This audio track has a constant bit depth of 24 bits.
[a03] Caution: The WAV file is bigger than 4GB.
[a03] Some WAV readers might not be able to handle this file correctly.
Video track 2 contains 197030 frames.
eac3to processing took 48 minutes, 54 seconds.


This files was OK when adding to a MKV ( no error messages with mkvmerge :-) )

I'm trying now to use command -down16 and add that also to the MKV

Tomorrow I going to try this MKV:s at my TviX :-)


So sad TviX can't handle PCM/WAV sound inside MKV files :-(

But no problem to add this PCM/WAV to a MKV :-)
piratburner is offline  
Old 30th September 2008, 20:40   #6433  |  Link
zyrill
Registered User
 
Join Date: Jan 2002
Location: Germany
Posts: 83
Did anybody ever experience the following error and has found a workaround?
Code:
[a05] Removing TrueHD dialog normalization...
[a05] Decoding with libav/ffmpeg...
[libav] Substream 0 checksum failed
[libav] No restart header present in substream 1.
[a05] The libav decoder reported an error while decoding.
Aborted at file position 81920.
Apparently the sourcefile has some errors and the decoder crashes over it. Since I only have that source and PowerDVD plays it just fine I'm wondering: could a solution along the lines of null-output (for the defective chunk) be found? I could provide the sample, of course!

Last edited by zyrill; 30th September 2008 at 20:48.
zyrill is offline  
Old 30th September 2008, 20:45   #6434  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Code:
eac3to Shoot.'Em.Up.2007.Blu-ray.flac" shoot.em.up.aac
FLAC, 7.1 channels, 1:26:32, 24 bits, 5095kbps, 48khz
NeroAacEnc only supports 6 channels. Will mix the surround channels.
Decoding FLAC...
Mixing surround channels...
Loading white noise (needed for dithering)...
Encoding AAC <0.50> with NeroAacEnc...
This audio track has a constant bit depth of 24 bits.
eac3to processing took 12 minutes, 35 seconds.
Nero supports 7.1 encoding.
nautilus7 is offline  
Old 30th September 2008, 23:12   #6435  |  Link
Steel
Registered User
 
Steel's Avatar
 
Join Date: Mar 2003
Posts: 127
Quote:
Originally Posted by madshi View Post
Does everybody agree that the success/error WAVs which eac3to uses are too loud?

Opinions, please!
I just delete the wav file and I don't have to worry about it.
Steel is offline  
Old 1st October 2008, 02:24   #6436  |  Link
zyrill
Registered User
 
Join Date: Jan 2002
Location: Germany
Posts: 83
Quote:
Originally Posted by nautilus7 View Post
Nero supports 7.1 encoding.
I don't know whether this is of any consequence, but a new version (1.3.0.0) of Nero's encoder/decoder-package came out a week ago!
zyrill is offline  
Old 1st October 2008, 07:56   #6437  |  Link
EPiPH0NE
b4k3d
 
Join Date: Sep 2007
Posts: 310
Quote:
Originally Posted by zyrill View Post
I don't know whether this is of any consequence, but a new version (1.3.0.0) of Nero's encoder/decoder-package came out a week ago!
They can't be used with eac3to only Nero 7 filters.
EPiPH0NE is offline  
Old 1st October 2008, 09:28   #6438  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
That restriction applies only to Nero directshow filters (aka the nero audio decoder 2). Neroaacenc is a command line encoder and yes i use the latest.
nautilus7 is offline  
Old 1st October 2008, 15:30   #6439  |  Link
JustABDFan
Registered User
 
Join Date: Aug 2008
Posts: 12
Quote:
Originally Posted by nautilus7 View Post
Code:
eac3to Shoot.'Em.Up.2007.Blu-ray.flac" shoot.em.up.aac
FLAC, 7.1 channels, 1:26:32, 24 bits, 5095kbps, 48khz
NeroAacEnc only supports 6 channels. Will mix the surround channels.
Decoding FLAC...
Mixing surround channels...
Loading white noise (needed for dithering)...
Encoding AAC <0.50> with NeroAacEnc...
This audio track has a constant bit depth of 24 bits.
eac3to processing took 12 minutes, 35 seconds.
Nero supports 7.1 encoding.
According to the nero aac 1.3.3.0 thread, it DOES encode 7.1. Maybe madshi needs to update eac3to to support it.
JustABDFan is offline  
Old 1st October 2008, 18:29   #6440  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
madshi, it would be nice if eac3to displays the profile of the AAC file (LC, HE, HEv2), runtime and the bitrate even in vbr tracks, like it's done in flac.

Last edited by nautilus7; 1st October 2008 at 18:47.
nautilus7 is offline  
Closed Thread

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 05:33.


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