Log in

View Full Version : DGAVCIndex demux, only TrueHD, not extracting core AC-3 Bug


xekon
6th October 2011, 23:14
DGAVCIndex demux, only TrueHD, not extracting core AC-3, this might be a bug

This is from a .m2ts file from BluRay (23m 41s duration). When I play the file in XBMC it sees 4 audio streams:
1 English AC3 (75.8 MB)
2 English AC3 TrueHD (406 MB)
3 Japanese AC3
4 Japanese AC3 TrueHD

mediainfo shows: Format profile : TrueHD / Core

I am assuming that means the stream is in both TrueHD and Core Profiles... does this mean that DGAVCIndex only demuxes the first profile?

Also if I load the .m2ts file into Handbrake it can also see 4 audio streams, however DGAVCIndex only sees/demuxes 2 audio streams.

I cannot tell a different between TrueHD / Core when listening to them, so I would rather use the 75.8 MB core audio file when I encode the video so that I can save space.

I do not want to re-encode the audio, I would rather just demux it and when I encode the video using MeGUI Autoencode use the "Add additional content" checkbox to add the audio track without re-encoding it.

General
ID : 0 (0x0)
Complete name : E:\yyh2\BDMV\STREAM\00037.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 4.27 GiB
Duration : 23mn 41s
Overall bit rate mode : Variable
Overall bit rate : 25.8 Mbps
Maximum Overall bit rate : 48.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 23mn 41s
Bit rate mode : Variable
Maximum bit rate : 39.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core
Mode extension : CM (complete main)
Muxing mode : Stream extension
Codec ID : 131
Duration : 23mn 41s
Bit rate mode : Variable / Constant
Bit rate : Unknown / 448 Kbps
Maximum bit rate : 3 522 Kbps / 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : TrueHD / Core / Dolby Digital
Mode extension : CM (complete main)
Muxing mode : Stream extension
Codec ID : 131
Duration : 23mn 41s
Bit rate mode : Variable / Constant
Bit rate : Unknown / 192 Kbps
Maximum bit rate : 588 Kbps / 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: C / Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144

Groucho2004
7th October 2011, 00:06
DGAVCIndex is outdated and is not supported by the author any more.
You might want to have a look at DGDecNV or DGAVCDecDI by the same author (http://neuron2.net/mine.html).

xekon
7th October 2011, 00:39
EXCELLENT! I had no idea, thank you for the reply!

Guest
7th October 2011, 01:23
None of my tools extract the core AC3 (IIRC) from TrueHD. You can use EAC3TO for that.

But if there is an AC3 track, you should be able to demux that. Can you post a link to a sample?

xekon
7th October 2011, 03:03
Yes the AC3 track did demux with the video track using DGAVCIndex, with your tip on eac3to I was able to extract the core ac3 from the ac3 file that DGAVCIndex demuxed. Thank you so much. There is a bit of a learning curve to using all of this for the first time.

I am coming from using handbrake, this is my first time using avisynth/plugins, MeGUI, and also eac3to. I am a quick learner though and I think I almost have everything figured out for my first encode, if I get the results I'm looking for in my first encode using DGAVCIndex then you can expect a purchase from me for DGAVCDecDI

My whole reason for switching from Handbrake to Avisynth is to make use of the Trim() and AlignedSplice() functions. In handbrake I could encode an entire video but I couldnt cut out the commercials as part of the encoding process, so I would encode the first half before the commercial, and the second half after the commercial, and then use mkvmerge to append the second half to the first half, this resulted in a 1 second stutter in playback right where the two parts were merged. I am hoping that by using Avisynth I will not have this issue.

Guest
7th October 2011, 03:53
Have a look at AvsP. You can use it to to coordinate trims of the audio and video with a GUI interface.

tebasuna51
7th October 2011, 09:36
If you use MeGUI you can try the Tools -> HD Streams Extractor (eac3to based) to extract the AC3 core.

To trim the AC3 without recompress you can use also Tools -> AVS cutter and Audio cutter.