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 25th March 2008, 15:16   #3981  |  Link
Kal
Registered User
 
Join Date: Jul 2003
Posts: 18
Thank you nautilus7, always here to help me

I don't need to use xport anymore to demux audio part, eac3to will do that ?

EDIT: I did this :
eac3to.exe emily.m2ts 3: fr.ac3
And I get an error :
This TS/M2TS file seems to be damaged (discontinuity).

Last edited by Kal; 25th March 2008 at 15:30.
Kal is offline  
Old 25th March 2008, 15:59   #3982  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
This is the result of joining the multiple .m2ts files. Xport usually reports a lot discontinuities which don't cause any problems. The same should apply here. Try xport also to be sure, but i don't think it will make any difference.

There isn't any program that can join .m2ts files and take care of audio/video overlaps/gaps. This means it's possible a lot of blu-ray discs with seamless branching to show audio/video desync (caused by discontinuity errors). (Madshi could explain this better)

Proper .m2ts joining will done by eac3to in the future.

Last edited by nautilus7; 25th March 2008 at 16:02.
nautilus7 is offline  
Old 25th March 2008, 16:01   #3983  |  Link
Kal
Registered User
 
Join Date: Jul 2003
Posts: 18
Ok thank you nautilus7. In this case, I will just keep my m2ts files on my HDD and wait for that feature

Kal
Kal is offline  
Old 25th March 2008, 16:06   #3984  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
noticed that the demuxed truehd track from the fifth element blu-ray (remastered) by eac3to is ~500mb shorter than the one I demuxed with xport. (2,80 vs. 3,36 GB). is this supposed to be normal?
the track is said to have 20 or 24bit (24 bit reported by madflac, 20 bit said by highdefdigest.com). the flac filesize is 2,54 GB

Last edited by Thunderbolt8; 25th March 2008 at 16:09.
Thunderbolt8 is offline  
Old 25th March 2008, 16:13   #3985  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
I remember in the first pages a discussion about that movie... The decoded truehd track and the pcm were identical. Demux the pcm and compare them.

Is the duration of the track ok?
nautilus7 is offline  
Old 25th March 2008, 16:27   #3986  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
yes, should be. hm I also remember having see that the flac track from the LPCM track is only ~1.5gb, since the LPCM track is only 16 bit (size: 4,05 GB). is the ending .pcm the right one btw. for demuxing that track? because eac3to is swapping endians and remapping channels 2 times then and the -demux switch doesnt seem to work for .m2ts files

Last edited by Thunderbolt8; 25th March 2008 at 16:48.
Thunderbolt8 is offline  
Old 25th March 2008, 17:38   #3987  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
Quote:
Originally Posted by Thunderbolt8 View Post
noticed that the demuxed truehd track from the fifth element blu-ray (remastered) by eac3to is ~500mb shorter than the one I demuxed with xport. (2,80 vs. 3,36 GB). is this supposed to be normal?
only thing that comes to mind that would make sense is eac3to stripping the interleaved ac3 track while xport keeps it
shambles is offline  
Old 25th March 2008, 17:38   #3988  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
noticed that the demuxed truehd track from the fifth element blu-ray (remastered) by eac3to is ~500mb shorter than the one I demuxed with xport. (2,80 vs. 3,36 GB). is this supposed to be normal?
the track is said to have 20 or 24bit (24 bit reported by madflac, 20 bit said by highdefdigest.com). the flac filesize is 2,54 GB
Blu-Ray does not have TrueHD tracks. Blu-Ray only has combined TrueHD/AC3 tracks. xport demuxes them as they are - as combined TrueHD/AC3 tracks. eac3to doesn't do that. Instead it either demuxes the TrueHD part of the track or the AC3 part of the track. eac3to can also demux both the TrueHD and the AC3 part of such a combined TrueHD/AC3 track - but then the TrueHD and the AC3 streams are stored into separate files. Those 500mb difference is due to eac3to stripping the AC3 frames from the demuxed TrueHD track, which xport doesn't do.

Quote:
Originally Posted by Thunderbolt8 View Post
is the ending .pcm the right one btw. for demuxing that track? because eac3to is swapping endians and remapping channels 2 times then and the -demux switch doesnt seem to work for .m2ts files
The pcm extension is just right if you want to demux the track as it is. eac3to will remap the channels and swap endian twice, but that happens in RAM and is extremely fast. So you shouldn't notice any difference.

The "-demux" switch currently works just fine - but only for movies where there's no combined TrueHD/AC3 track. The "-demux" option has a bug which stumbles over such combined tracks. That will be fixed in the next build. The next build will then demux both the TrueHD and the AC3 parts of such combined tracks into separate files, if you use the "-demux" option.
madshi is offline  
Old 25th March 2008, 17:39   #3989  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by shambles View Post
only thing that comes to mind that would make sense is eac3to stripping the interleaved ac3 track while xport keeps it
Spot on!
madshi is offline  
Old 25th March 2008, 18:54   #3990  |  Link
Cinema Squid
Registered User
 
Join Date: Mar 2008
Posts: 3
Quote:
Originally Posted by madshi View Post
I wish I had some kind of header documentation myself... The only information I'm getting from the DTS-HD blocks is whether the stream is High Resolution or Master Audio. All other values are taken from the core. This is known to be incorrect sometimes because sometimes the core is only 5.1 but the DTS-HD blocks extend that to 7.1. eac3to cannot properly detect this situation right now cause I don't know myself how to parse the information in the DTS-HD blocks. If you find out how it works I'd be happy to hear from you...
Gotcha. I was curious because eac3to did seem to be able to dig out fairly accurate information from these. For example, the below DTS-HD HR track (with a 48khz DTS 5.1-ES 1536kbit/s core):
Code:
>eac3to g:\bdmv\stream\00000.m2ts

M2TS, 1 video track, 3 audio tracks
1: MPEG2, 1080p24 /1.001 (16:9)
2: DTS Hi-Res, 6.1 channels, 24 bits, 3093kbit/s, 48khz, dialnorm: -4dB
3: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Anyway, if I find anything myself by manual inspection of the header blocks, I'll let you know.
Cinema Squid is offline  
Old 25th March 2008, 18:58   #3991  |  Link
crazydane
Registered User
 
Join Date: Jan 2007
Posts: 24
With HDMI bitstream support coming (Intel G45 & Asus HDMI soundcard), and assuming there will be .mkv player support for same, will an option to preserve the original DD+, TrueHD and/or DTS-HD MA tracks be fourthcomming?
crazydane is offline  
Old 25th March 2008, 19:33   #3992  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Cinema Squid View Post
Gotcha. I was curious because eac3to did seem to be able to dig out fairly accurate information from these. For example, the below DTS-HD HR track (with a 48khz DTS 5.1-ES 1536kbit/s core):
Code:
>eac3to g:\bdmv\stream\00000.m2ts

M2TS, 1 video track, 3 audio tracks
1: MPEG2, 1080p24 /1.001 (16:9)
2: DTS Hi-Res, 6.1 channels, 24 bits, 3093kbit/s, 48khz, dialnorm: -4dB
3: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
The "6.1" is coming from the "ES" core. The bitrate information is simply manually calculated by making use of the size of the DTS-HD data blocks. You know, for High Resolution the DTS-HD data blocks always have the same size.

Quote:
Originally Posted by Cinema Squid View Post
Anyway, if I find anything myself by manual inspection of the header blocks, I'll let you know.
Thanks!

Quote:
Originally Posted by crazydane View Post
With HDMI bitstream support coming (Intel G45 & Asus HDMI soundcard), and assuming there will be .mkv player support for same, will an option to preserve the original DD+, TrueHD and/or DTS-HD MA tracks be fourthcomming?
The option is already there! eac3to can demux DD+, TrueHD and DTS-HD MA tracks just fine today.

However, I'm quite sure that Intel G45 and the Asus HDMI soundcard will also allow multichannel PCM output. Which means that FLAC is just as good as DD+/TrueHD/DTS-HD MA bitstream. So I will continue to use and recommend FLAC.
madshi is offline  
Old 25th March 2008, 23:12   #3993  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
First BD remuxd done, everything went great. Used a japanese AVC title that I previously had rainbow frames with when remuxed. With eac3to, everything came out perfect!
bmnot is offline  
Old 26th March 2008, 01:11   #3994  |  Link
DeepBeepMeep
Registered User
 
Join Date: Jun 2006
Posts: 133
This tool is getting better day after day! Any plan to remux as well the audio track(s) directly into the mkv file?

This would really saves some time .Thanks !
DeepBeepMeep is offline  
Old 26th March 2008, 01:54   #3995  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
I loaded in a DTheater capture just for fun, tried to demux, and I got this message:

TS, 1 video track, 2 audio tracks
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, 5.1 channels, 576kbit/s, 48khz, dialnorm: -27dB
3: DTS, 5.1 channels, 20 bits, 1536kbit/s, 48khz
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Patching bitdepth to 24 bits...
Removing dialog normalization...
Creating file "dtheater.m2v"...
There's a change from interlaced to progressive in the middle of stream.
bmnot is offline  
Old 26th March 2008, 08:18   #3996  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by bmnot View Post
I loaded in a DTheater capture just for fun, tried to demux, and I got this message:

TS, 1 video track, 2 audio tracks
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, 5.1 channels, 576kbit/s, 48khz, dialnorm: -27dB
3: DTS, 5.1 channels, 20 bits, 1536kbit/s, 48khz
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Patching bitdepth to 24 bits...
Removing dialog normalization...
Creating file "dtheater.m2v"...
There's a change from interlaced to progressive in the middle of stream.
That's bad. My MPEG2 handling module explicitly disallows changes from interlaced to progressive. But if D-Theater actually uses that, I might have no choice than to support it. This has nothing to do with the new TS/M2TS support, though. It's a limitation of my MPEG2 code.
madshi is offline  
Old 26th March 2008, 08:54   #3997  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Hi Madshi,

I know i've asked this before, and i know i havent followed this thread as well as i did; But have you made it possible to de/transcode (regular) AC3 with libav at this time ?

As i said earlier; I dont have Nero installed, and i try to use as much Open Source software as possible; So i am really interested in a feature like this. And i ask this again because somewhere earlier in this thread it was mentioned that libav's decoding had been improved (afaik).
G_M_C is offline  
Old 26th March 2008, 09:10   #3998  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
Quote:
Originally Posted by G_M_C View Post
Hi Madshi,

I know i've asked this before, and i know i havent followed this thread as well as i did; But have you made it possible to de/transcode (regular) AC3 with libav at this time ?

As i said earlier; I dont have Nero installed, and i try to use as much Open Source software as possible; So i am really interested in a feature like this. And i ask this again because somewhere earlier in this thread it was mentioned that libav's decoding had been improved (afaik).
It looks like eac3to can decode ac3 with libav.
I converted an ac3 file to a lower bitrate ac3 file with this command line on a pc without nero or sonic decoders.

Code:
eac3to.exe 384kbps.ac3 192kbps.ac3 -192 -libav
yonta is offline  
Old 26th March 2008, 09:15   #3999  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by bmnot View Post
First BD remuxd done, everything went great. Used a japanese AVC title that I previously had rainbow frames with when remuxed. With eac3to, everything came out perfect!
Great, that's the kind of feedback that I like to hear...

Quote:
Originally Posted by G_M_C View Post
I know i've asked this before, and i know i havent followed this thread as well as i did; But have you made it possible to de/transcode (regular) AC3 with libav at this time ?
Yes. eac3to can decode E-AC3, AC3, DTS and TrueHD/MLP with libav.
madshi is offline  
Old 26th March 2008, 10:54   #4000  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Thx Madshi for implementing the option
(even if you allready did that a long time ago, and i missed it )
G_M_C 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 12:33.


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