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 12th May 2008, 21:57   #4781  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tebasuna51 View Post
Code:
 # MLP Channel Assignments   Mask and MS channels order  Detect-MaskCh eac3to  libav remap   Samples
-- ------------------------  --------------------------  --------------------  -----------  ----------
 0 M                         0x0004  FC                   1.0   0x0004 ok      not needed   00_100.mlp
 1 L  R                      0x0003  FL FR                2.0   0x0003 ok      not needed   01_200.mlp
 2 Lf Rf (S)                 0x0103  FL FR BC             3.0   0x0007 (1)     not needed   02_210.mlp
 3 Lf Rf (Ls  Rs)            0x0033  FL FR BL BR          4.0   0x0033 ok      not needed   03_220.mlp
 4 Lf Rf (LFE)               0x000B  FL FR LF             2.1   0x0007 (1)     not needed   04_201.mlp
 5 Lf Rf (LFE S)             0x010B  FL FR LF BC          3.1   0x0033 (1)     not needed   05_211.mlp
 6 Lf Rf (LFE Ls   Rs)       0x003B  FL FR LF BL BR       4.1   0x0037 (1)     not needed   06_221.mlp
 7 Lf Rf (C)                 0x0007  FL FR FC             3.0   0x0007 ok      not needed   07_300.mlp
 8 Lf Rf (C   S)             0x0107  FL FR FC BC          4.0   0x0033 (1)     not needed   08_310.mlp
 9 Lf Rf (C   Ls   Rs)       0x0037  FL FR FC BL BR       5.0   0x0037 ok      not needed   09_320.mlp
10 Lf Rf (C   LFE)           0x000F  FL FR FC LF          3.1   0x0033 (1)     not needed   10_301.mlp
11 Lf Rf (C   LFE  S)        0x010F  FL FR FC LF BC       4.1   0x0037 (1)     not needed   11_311.mlp
12 Lf Rf (C   LFE  Ls  Rs)   0x003F  FL FR FC LF BL BR    5.1   0x003F ok      not needed   12_321.mlp
13 Lf Rf  C  (S)             0x0107  FL FR FC BC          Can't detect (3)     not needed   13_310.mlp
14 Lf Rf  C  (Ls   Rs)       0x0037  FL FR FC BL BR       Can't detect (3)     not needed   14_320.mlp
15 Lf Rf  C  (LFE)           0x000F  FL FR FC LF          Can't detect (3)     not needed   15_301.mlp
16 Lf Rf  C  (LFE  S)        0x010F  FL FR FC LF BC       Can't detect (3)     not needed   16_311.mlp
17 Lf Rf  C  (LFE  Ls  Rs)   0x003F  FL FR FC LF BL BR    5.1   0x003F ok      not needed   17_321.mlp
18 Lf Rf  Ls  Rs  (LFE)      0x003B  FL FR LF BL BR       4.1   0x0037 (1) (2) -0,1,4,2,3,5 18_221.mlp
19 Lf Rf  Ls  Rs  (C)        0x0037  FL FR FC BL BR       5.0   0x0037     (2) -0,1,4,2,3,5 19_320.mlp
20 Lf Rf  Ls  Rs  (C   LFE)  0x003F  FL FR FC LF BL BR    5.1   0x003F ok      already done 20_321.mlp
(1) Need more complete detection (2/2.1 type) to assign the correct MaskCh.
(2) When decoded with libav need remapping channels.
(3) Can't decode these samples with eac3to:
"The format of the source file could not be detected."
Awesome!! Thanks much again for your help!
madshi is offline  
Old 12th May 2008, 22:04   #4782  |  Link
monohouse
Registered User
 
Join Date: Jul 2007
Posts: 106
-----

Last edited by monohouse; 17th January 2012 at 00:45.
monohouse is offline  
Old 12th May 2008, 22:15   #4783  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by monohouse View Post
this freezes and stuck for hours while using 100% of cpu time, after checking it appears to happen for the audio only I tested this with the video alone and it works
Most probably there's either a bug in the Sonic DTS-HD decoder or the DTS stream is slightly damaged. DTS streams usually don't have a CRC, so eac3to cannot detect every damage in DTS streams.

You can probably work around the problem by using the "-core" switch. This will discard the additional Master Audio packets and only decode the core. You'll take a slight hit on audio quality, though.

Your best bet is probably to do a clean rerip in the hope that this fixes the problem.
madshi is offline  
Old 12th May 2008, 22:20   #4784  |  Link
monohouse
Registered User
 
Join Date: Jul 2007
Posts: 106
-----

Last edited by monohouse; 17th January 2012 at 00:45.
monohouse is offline  
Old 13th May 2008, 06:45   #4785  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by monohouse View Post
one other thing possibly I didn't mention, any chance it may be related to using version 4.2 of sonic instead of 4.3 which you mentioned ?
Don't know.

Quote:
Originally Posted by monohouse View Post
sayin do you know when they encrypt those BD's do they also encrypt the audio or only the video ?
Audio is also encrypted.
madshi is offline  
Old 13th May 2008, 07:53   #4786  |  Link
Yraen
Registered User
 
Join Date: Dec 2007
Location: Okie in Muskogee
Posts: 174
madshi,

Here's an interesting clip (80MB) from the thread here about the Hauppauge HD PVR starting to ship now.

I can mux it into a mkv container, generating a gaps file, and it plays fine. When I run the command line again, using the gaps file, it messes up the playback, showing the time as only 2 seconds for the file length in media player, and stopping at different points each time I start it over.

First run:
Code:
eac3to v2.46
command line: "D:\editing apps\eac3to\2.46\eac3to.exe" "H:\hcw_hd_pvr2_1080i_h264.ts" 1: "N:\test\video.mkv" -seekToIFrames
------------------------------------------------------------------------------
TS, 1 video track, 0:02:06
1: h264/AVC, 1080i50 (16:9)
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
[v01] Video overlaps for 4 frames at playtime 0:00:00.
[v01] Video overlaps for 4 frames at playtime 0:00:00.
[v01] Video overlaps for 4 frames at playtime 0:00:01.

(continues on like this for every second of the file)
(notice the track time above and the end time below)

[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:07.
[v01] The MKV file was created without making use of the gap/overlap information.
[v01] Please check whether audio is in sync. If it is in sync everything is fine.
[v01] Otherwise you can ask eac3to to repeat the muxing. It will then automatically
[v01] make use of the detailed gap/overlap information.
Added fps value to MKV header.
Video track 1 contains 6290 frames.
eac3to processing took 7 seconds.
Done.
Second Run:
Code:
eac3to v2.46
command line: "D:\editing apps\eac3to\2.46\eac3to.exe" "H:\hcw_hd_pvr2_1080i_h264.ts" 1: "N:\test\video.mkv" -seekToIFrames
------------------------------------------------------------------------------
TS, 1 video track, 0:02:06
1: h264/AVC, 1080i50 (16:9)
[v01] Video gap description file detected, will be used for muxing...
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
Added fps value to MKV header.
Video track 1 contains 6290 frames.
eac3to processing took 2 seconds.
Done.
Probably nothing you'll need to fix, I just thought it might be of an interest to you.
Yraen is offline  
Old 13th May 2008, 09:52   #4787  |  Link
dorati
Registered User
 
Join Date: Oct 2002
Posts: 70
@madshi:
Quote:
Hmmmmm... This is probably caused by a bug in eac3to. I'm not removing the sequence end codes at the join points when demuxing video. I'm only doing that when muxing the video to MKV. Stupid me. Will be fixed in the next build...
Perfekt. Thanks for your very very helpfull program !
dorati is offline  
Old 13th May 2008, 10:44   #4788  |  Link
Momber
Registered User
 
Join Date: Mar 2007
Posts: 217
Quote:
Originally Posted by madshi View Post
For now if you need to have the pulldown completely removed please use eac3to for demuxing and then vc1conv afterwards.
Thanks for your reply. I'm doing just that. And it works
Momber is offline  
Old 13th May 2008, 13:56   #4789  |  Link
tenkai
Registered User
 
Join Date: Feb 2008
Posts: 14
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesn´t work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?

thx in advance
tenkai is offline  
Old 13th May 2008, 14:03   #4790  |  Link
saint-francis
too much lurking
 
saint-francis's Avatar
 
Join Date: Sep 2006
Location: Valhalla
Posts: 668
Quote:
Originally Posted by tenkai View Post
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesn´t work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?
There is a switch called -core that will do what you want.
saint-francis is offline  
Old 13th May 2008, 14:04   #4791  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Yraen View Post
Here's an interesting clip (80MB) from the thread here about the Hauppauge HD PVR starting to ship now.
Thanks, I'll give that a look later this week.

Quote:
Originally Posted by tenkai View Post
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesn´t work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?
Use the "-core" switch.

Edit: saint-francis was faster...
madshi is offline  
Old 13th May 2008, 14:07   #4792  |  Link
tenkai
Registered User
 
Join Date: Feb 2008
Posts: 14
oki thx
tenkai is offline  
Old 13th May 2008, 14:20   #4793  |  Link
dorati
Registered User
 
Join Date: Oct 2002
Posts: 70
I have TRUE-HD Audiotracks in my m2ts-File.
With -demux i get a .ac3 and and a .thd -File.
With convert i get a .flac file.

How I get a full True-Hd.ac3 File for muxing wit tsRemuxer?
dorati is offline  
Old 13th May 2008, 14:39   #4794  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
I guess that .ac3 file from demuxing is already fine.
Thunderbolt8 is offline  
Old 13th May 2008, 14:40   #4795  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by dorati View Post
I have TRUE-HD Audiotracks in my m2ts-File.
With -demux i get a .ac3 and and a .thd -File.
With convert i get a .flac file.

How I get a full True-Hd.ac3 File for muxing wit tsRemuxer?
This is currently not supported by eac3to because eac3to is not built for m2ts muxing. I think the m2ts muxer you're using (probably TsMuxer) should offer a way to import separate TrueHD+AC3 files and melt them together for the final m2ts mux.
madshi is offline  
Old 13th May 2008, 14:58   #4796  |  Link
EPiPH0NE
b4k3d
 
Join Date: Sep 2007
Posts: 310
Quote:
Originally Posted by madshi View Post
This is currently not supported by eac3to because eac3to is not built for m2ts muxing. I think the m2ts muxer you're using (probably TsMuxer) should offer a way to import separate TrueHD+AC3 files and melt them together for the final m2ts mux.
You can do this with Scenarist but not tsMuxeR.
EPiPH0NE is offline  
Old 13th May 2008, 18:26   #4797  |  Link
hlkc
Registered User
 
Join Date: Aug 2007
Posts: 5
I've been sitting on the side line for this new TrueHD audio format until I get myself a TrueHD pre-amp. I used PDVD8 for my BD and HD DVD movies. Now, my pre-amp is here and I like to try this conversion now. Few questions:

1) So with this conversion, is that mean I am able to stream TrueHD audio stream to my pre-amp?

2) HDMI 1,3, right?

Thank for your reply in advance.
hlkc is offline  
Old 13th May 2008, 18:33   #4798  |  Link
Beastie Boy
Registered User
 
Beastie Boy's Avatar
 
Join Date: Mar 2002
Posts: 353
eac3to is a tool to demux and/or transcode audio from one format to another. It really depends on what you intend to do with the video/audio streams, and what device you will be using to feed your amp.

Cheers, Beastie.
Beastie Boy is offline  
Old 13th May 2008, 18:40   #4799  |  Link
hlkc
Registered User
 
Join Date: Aug 2007
Posts: 5
Quote:
Originally Posted by Beastie Boy View Post
eac3to is a tool to demux and/or transcode audio from one format to another. It really depends on what you intend to do with the video/audio streams, and what device you will be using to feed your amp.

Cheers, Beastie.
Hi Beastie,

Thanks for your reply. So correct me if I am wrong, so with this conversion, we transfer TrueHD audio format to another format such as DTS or DD to our receiver via for example SPDIF? So we are still going to hear all the TrueHD format but in DD or DTS in our receiver, right?
hlkc is offline  
Old 13th May 2008, 19:08   #4800  |  Link
Beastie Boy
Registered User
 
Beastie Boy's Avatar
 
Join Date: Mar 2002
Posts: 353
Quote:
Originally Posted by hlkc View Post
Hi Beastie,

Thanks for your reply. So correct me if I am wrong, so with this conversion, we transfer TrueHD audio format to another format such as DTS or DD to our receiver via for example SPDIF? So we are still going to hear all the TrueHD format but in DD or DTS in our receiver, right?
TrueHD is lossless audio, DD and DTS are both lossy. If you wish to retain TrueHD quality, either convert the audio to LPCM, WAV or FLAC with eac3to, or mux the original TrueHD stream to Bluray structure using tsMuxer.

I suggest you read up on both tools, decide what it is you need to acheive, and then come and ask for assistance using the tools if you still need it. I get the impression that you don't really know what you are trying to do at the moment

Cheers, Beastie.
Beastie Boy 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 00:11.


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