Log in

View Full Version : EAC3TO: Problems with audiotracks (dts 2channel & ac3)


tar
10th September 2010, 02:58
Hello,

with two movies I have a problem with the audio-source.

In one movie there is a 2-channel audio dts track, which I tried to demux/rip with eac3to in different ways.

First I tried it so:

D:\downloads\filme\neu\_Das Kabinett des Doktor Parnassus (2009)>"C:\Program Files (x86)\eac3to\eac3to.exe" "Das Kabinet
t des Doktor Parnassus (2009).m2ts" 2: dk.dts
M2TS, 1 video track, 1 audio track, 2:02:46, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS, 2.0 channels, 16 bits, 384kbps, 48khz
a02 Extracting audio track number 2...
a02 Patching bitdepth to 24 bits...
a02 Creating file "dk.dts"...
a02 The last DTS frame is incomplete and thus gets skipped.
a02 Audio overlaps for 4834ms at playtime 0:00:05.
a02 Starting 2nd pass...
a02 Realizing DTS gaps...
a02 Creating file "dk.dts"...
a02 The last DTS frame is incomplete and thus gets skipped.
Video track 1 contains 176622 frames.
eac3to processing took 6 minutes, 34 seconds.
Done.

The result was a 2 GB file... for a 2-channel-dts!?

Then I tried it so:

D:\downloads\filme\neu\Das Kabinett des Doktor Parnassus (2009)>"C:\Program Files (x86)\eac3to\eac3to.exe" "Das Kabinett
des Doktor Parnassus (2009).m2ts" 2: dp.dts -768
M2TS, 1 video track, 1 audio track, 2:02:46, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS, 2.0 channels, 16 bits, 384kbps, 48khz
a02 The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Patching bitdepth to 24 bits...
a02 Decoding with libav/ffmpeg...
a02 Reducing depth from 64 to 32 bits...
a02 Writing WAVs...
a02 Creating file "dp.R.wav"...
a02 Creating file "dp.L.wav"...
a02 Clipping detected, a 2nd pass will be necessary.
a02 The last DTS frame is incomplete and thus gets skipped.
a02 Caution: The WAV file is bigger than 2GB.
a02 Some WAV readers might not be able to handle this file correctly.
a02 Audio overlaps for 4834ms at playtime 0:00:05.
a02 Starting 2nd pass...
a02 Extracting audio track number 2...
a02 Patching bitdepth to 24 bits...
a02 Decoding with libav/ffmpeg...
a02 Reducing depth from 64 to 32 bits...
a02 Writing WAVs...
a02 Realizing RAW/PCM gaps...
a02 Creating file "dp.R.wav"...
a02 Creating file "dp.L.wav"...
a02 The last DTS frame is incomplete and thus gets skipped.
a02 Caution: The WAV file is bigger than 2GB.
a02 Some WAV readers might not be able to handle this file correctly.
Encoding DTS <768kbps> with Surcode...
Found Surcode DTS Encoder version 1.0.21.0.
Surcode says/asks: "Destination file D:\downloads\filme\neu\Das Kabinett des Doktor Parnassus (2009)\dp.dts exists. Over
write?".
Surcode encoding successfully started. Please wait...
Closing Surcode...
^CBatchvorgang abbrechen (J/N)? j

Unfortunately here I had to cancel the process in the end as it seems to hang up itself (waited long enough) - the result was a 4 GB file... again: for a 2-channel-dts!?

After re-encoding the video-source with MeGUI Modern Media Encoder (like I did with many other m2ts-sources successfully) I merged the encoded video and demuxed 2gb-audio with mkvmerge GUI together and many many errors occured (translation from german):

Warning: 'D:\downloads\filme\neu\_Das Kabinett des Doktor Parnassus (2009)\dk.dts' Track 0: 856 Byte(s) will be skipped, because no valid DTS-header could be found. Therefore audio-/videosynchronisation could be lost.

So I tried to mux the video with the 4gb-audio and the merged video but the audio was like half way slower as it should be - everything sounded unnaturally deeper.

In the source everything is fine but the file-size is just too big (17gb) - what else can I do to reduce it to 9gb? How can I rip the source-2channel-dts to 2-channel ac3 (which does not work with eac3to)?

The second video has an ac3-track which I can demux correctly:

D:\downloads\filme\neu\Die Frau des Zeitreisenden (2009)>"C:\Program Files (x86)\eac3to\eac3to.exe" "Die Frau des Zeitreisenden (2009).m2ts" 2: df.ac3
M2TS, 1 video track, 1 audio track, 3 subtitle tracks, 1:47:25, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
3: Subtitle (PGS)
4: Subtitle (PGS)
5: Subtitle (PGS)
[a02] Extracting audio track number 2...
[a02] Removing AC3 dialog normalization...
[a02] Creating file "df.ac3"...
Video track 1 contains 154523 frames.
eac3to processing took 4 minutes, 58 seconds.
Done.

I re-encoded the video with MeGUI and remuxed both with mkvmerge GUI but this time audio and video do not run synchron. Can you give me a hint why?

Everything did work correctly with many m2ts - sourcefiles. Is the problem the mkv-format or any other suggestions?

Thanks in advance!

Hagbard23
10th September 2010, 14:12
So i can't really follow, why this has happened, but i assume, there is a problem in demuxing the audio in the first step.

So try this:
Use (hello Neuron2 ;) ) DGINDEX and load the transport stream (*.m2ts).

Goto "Save Project" and You'll get a couple of files out of it looking like this:

blah.dts
blah.ac3
blah.d2v
blah.mpg
blah.log

...or at least something similar. Important are the Audio Files.

You can load the DTS file now into EAC3TO and More GUI (for example) and recode it directly in whatever you want.(perhaps AC3). Since EAC3TO reads DTS Directly,there is no need in converting into WAV. You can start right through. (Assuming Dialog Normalization isn't any Issue here due to Stereo-Material)

I never use another thing for demuxing such streams, and i assume it'll be a better way, than using EAC3TO for this issue.

Keep in mind, that DGINDEX returns you the Delay of the Audio track - it stands in the file name. This Delay is the likeliest cause for A/V Async's.

BTW: You can use the D2V File for further converting the Video-Track through AVISynth. Refer to the UserManual of DGINDEX. You also can use the original m2ts via directshowsource and an appropriate decoder-filter (like CoreAVC, DiAVC or FFDshow). But that only mentioned BTW.



In the Case of that the DTS File is broken, i can't really help you - and it is unlikely, that you can fix this issue...

€dit: Now i've seen, that your DTS File (mentioned in your error-logs) seems to be 16Bits - i dunno, but i think normally DTS has 24Bits and >maybe< there is a problem in converting this 16Bits to 24Bits, but i do not know.

Please try the way with DGIndex, maybe you get rid of the error - if not, please report...

Good Luck!

tebasuna51
10th September 2010, 15:53
...
€dit: Now i've seen, that your DTS File (mentioned in your error-logs) seems to be 16Bits - i dunno, but i think normally DTS has 24Bits and >maybe< there is a problem in converting this 16Bits to 24Bits, but i do not know.
Lossy compressed formats (like DTS, AC3, AAC,MP3,...) don't have bitdepth. Everybody must forget this info from DTS, is useless and can be inaccurate.

Please try the way with DGIndex, maybe you get rid of the error - if not, please report...
DGIndex work with MPEG2 video containers.
Donīt work here.
Maybe tar can try with tsMuxeR to demux the dts track.

Hagbard23
10th September 2010, 16:46
DGIndex work with MPEG2 video containers.

to my opinion (referring to the user manual) DGINDEX works with m2ts files. I would say: Check it out...

Guest
10th September 2010, 16:54
@tar

We cannot help you with downloaded movies, per forum rules. Please send me a PM if you think I have misunderstood the situation.