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 22nd November 2010, 00:34   #10761  |  Link
Uxorious
Registered User
 
Join Date: Nov 2010
Posts: 15
Quote:
Originally Posted by robpdotcom View Post
Still wondering though, are you guys getting 7 channel WAV's from DTS-ES Matrix? Or from DTS-ES Discrete? I'm not sure I've ever actually seen a 6.1 Discrete DTS-ES stream.
I assume it's discrete since otherwise it would just show as 5.1 ... right?

So far I have seen DTS 6.1 content on 2 BluRay's:
Lord of War
Disturbia
Uxorious is offline  
Old 22nd November 2010, 01:09   #10762  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
Quote:
Originally Posted by Uxorious View Post
I assume it's discrete since otherwise it would just show as 5.1 ... right?
Probably so. I was trying with matrixed content, which shows as DTS-ES 5.1 in eac3to. Too bad the Arcsoft decoder can't pull the matrixed back channel out to create 6.1 WAV's.

Quote:
Originally Posted by Uxorious View Post
So far I have seen DTS 6.1 content on 2 BluRay's:
Lord of War
Disturbia

I'm seeing more 6.1 and 7.1 DTS-HD MA recently: Alice in Wonderland; 6.1 Matrix, and Toy Story 3; 7.1 Discrete, come to mind. But all of the 6.1 and 7.1 DTS-HD discs I've seen, whether it was matrix or discrete, has a DTS-ES 6.1 Matrix core.
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870

Last edited by robpdotcom; 22nd November 2010 at 01:15.
robpdotcom is offline  
Old 23rd November 2010, 02:05   #10763  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
So audio overlaps are still not being fixed in the second pass. This is depressing.
dansrfe is offline  
Old 23rd November 2010, 02:48   #10764  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
So, dumb question maybe, but how can I tell which version of the ArcSoft decoder I have?
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 23rd November 2010, 02:50   #10765  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
asarian: Open a command prompt in the folder where eac3to resides and run
Code:
eac3to -test
and wait a second as the output is printed to the console.
Inspector.Gadget is offline  
Old 23rd November 2010, 03:04   #10766  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by Inspector.Gadget View Post
asarian: Open a command prompt in the folder where eac3to resides and run
Code:
eac3to -test
and wait a second as the output is printed to the console.
Thanks. :)

Hmm, seems I have 1.1.0.7. So, do I need to downgrade if I want 7.1 DTS-MA (correctly) converted to 5.1 LPCM?
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 23rd November 2010, 03:31   #10767  |  Link
Uxorious
Registered User
 
Join Date: Nov 2010
Posts: 15
Quote:
Originally Posted by asarian View Post
Hmm, seems I have 1.1.0.7. So, do I need to downgrade if I want 7.1 DTS-MA (correctly) converted to 5.1 LPCM?
No. The only problem mode is 6.1
Uxorious is offline  
Old 23rd November 2010, 04:02   #10768  |  Link
sreemv
Registered User
 
Join Date: Feb 2003
Posts: 81
Could someone help me with the following error - i demuxed the dts track from dvd using eac3to but converting to 24fps appears to be a challenge.

N:\RipBot264v1.16.3\Tools\eac3to>eac3to dvd-demuxed.dts eac3to-24fps.dts -29.970 -changeTo24.000 -r8brain
DTS, 5.1 channels, 2:06:02, 24 bits, 1510kbps, 48kHz
Decoding with ArcSoft DTS Decoder...
Changing FPS from 29.970 to 24.000...
Reducing depth from 64 to 32 bits...
Writing WAVs...
Creating file "eac3to-24fps.R.wav"...
Creating file "eac3to-24fps.LFE.wav"...
Creating file "eac3to-24fps.L.wav"...
Creating file "eac3to-24fps.C.wav"...
Creating file "eac3to-24fps.SR.wav"...
Creating file "eac3to-24fps.SL.wav"...
Clipping detected, a 2nd pass will be necessary.
The ArcSoft DTS Decoder reported an error while decoding.
Aborted at file position 290717696.

N:\RipBot264v1.16.3\Tools\eac3to>

Thanks in advance.
sreemv is offline  
Old 23rd November 2010, 04:02   #10769  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by Uxorious View Post
No. The only problem mode is 6.1
Thanks. I downgraded to 1.1.0.0 anyway, to be safe (I just have the pertinent .ax stuff installed; not the entire bloatware). If I read the reports in this thread properly, there's nothing 1.1.0.7 can do that 1.1.0.0 won't do as well.
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 23rd November 2010, 04:41   #10770  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by sreemv View Post
Could someone help me with the following error - i demuxed the dts track from dvd using eac3to but converting to 24fps appears to be a challenge.
...
Maybe the DTS is corrupt, try Delaycut to fix it or other method to extract.
Try also with -libav

BTW, your parameters are incorrect, to convert a DTS from DVD NTSC you need:
eac3to dvd-demuxed.dts eac3to-24fps.dts -23.976 -changeTo24.000
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 23rd November 2010, 04:48   #10771  |  Link
sreemv
Registered User
 
Join Date: Feb 2003
Posts: 81
Quote:
Originally Posted by tebasuna51 View Post
Maybe the DTS is corrupt, try Delaycut to fix it or other method to extract.
Try also with -libav

BTW, your parameters are incorrect, to convert a DTS from DVD NTSC you need:
eac3to dvd-demuxed.dts eac3to-24fps.dts -23.976 -changeTo24.000
Thanks for the quick reply - you bring up my other dilemma. How do I find the source frame rate for sure? I got the 29.970 from doing "mediainfo" on the source VOBs. Please correct me if I am wrong. Thanks!
sreemv is offline  
Old 23rd November 2010, 06:06   #10772  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Quote:
i demuxed the dts track from dvd using eac3to but converting to 24fps appears to be a challenge
To add on to what was already said, if your target format is in fact 24000/1001 fps (~23.976fps commonly called 24p) and not 24000/1000 fps (24.000fps, perhaps instead should be called the "real" 24p), you may be doing yourself no favors.

Is your source an NTSC DVD (apparently so, given VOB files and 30000/1001 fps or ~29.97fps video) and your target either a file with inverse telecined (to ~23.976fps) video or a Blu-ray disc? If so, no audio framerate conversion is necessary!

In short, only do the contemplated operation (and flag the input as 23.976fps!) if you're sure that you need 24.000fps video.
Inspector.Gadget is offline  
Old 23rd November 2010, 06:33   #10773  |  Link
sreemv
Registered User
 
Join Date: Feb 2003
Posts: 81
Quote:
Originally Posted by Inspector.Gadget View Post
To add on to what was already said, if your target format is in fact 24000/1001 fps (~23.976fps commonly called 24p) and not 24000/1000 fps (24.000fps, perhaps instead should be called the "real" 24p), you may be doing yourself no favors.

Is your source an NTSC DVD (apparently so, given VOB files and 30000/1001 fps or ~29.97fps video) and your target either a file with inverse telecined (to ~23.976fps) video or a Blu-ray disc? If so, no audio framerate conversion is necessary!

In short, only do the contemplated operation (and flag the input as 23.976fps!) if you're sure that you need 24.000fps video.
Sorry, not sure I understand everything you said - sounds too technical for me

Let me summarize what I am attempting to do in layman's [my] terms - I demuxed dts audio track from a dvd [supposedly NTSC] and now attempting to re-mux it with a mkv created from BluRay source.

When I muxed the dvd demuxed DTS to the mkv, I experienced gradual audio async - so more 'google' suggested I need to correct for the framerate diff?


If you have any advice helping me accomplish this task, I would highly appreciate it.

Last edited by sreemv; 23rd November 2010 at 10:42.
sreemv is offline  
Old 23rd November 2010, 08:05   #10774  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
Quote:
Originally Posted by Inspector.Gadget View Post
Is your source an NTSC DVD (apparently so, given VOB files and 30000/1001 fps or ~29.97fps video) and your target either a file with inverse telecined (to ~23.976fps) video or a Blu-ray disc? If so, no audio framerate conversion is necessary!
I didn't know it was possible to inverse telecine with eac3to. Is the result a progressive, 23.976fps file? And, would you mind giving me an example command line?
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870
robpdotcom is offline  
Old 23rd November 2010, 11:59   #10775  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by sreemv View Post
Let me summarize what I am attempting to do in layman's [my] terms - I demuxed dts audio track from a dvd [supposedly NTSC] and now attempting to re-mux it with a mkv created from BluRay source.

When I muxed the dvd demuxed DTS to the mkv, I experienced gradual audio async - so more 'google' suggested I need to correct for the framerate diff?
1) You can recode dts to ac3 (recommended). If you want recode to dts you need Surcode DVD (commercial) installed.
Check if you have Surcode with:
eac3to -test

2) Check with MediaInfo/eac3to if your mkv is exactly 24 fps and not 24000/1001 or 23.976

3) If your dts source is 768 Kb/s maybe you can add a explicit bitrate instead the default:
-448 to recode to ac3
-768 to recode to dts

4-1) If your DVD is PAL (check in the cover) you need:
eac3to input.dts output.ac3 -25.000 -changeTo24.000

4-2) If your DVD is NTSC you need:
eac3to input.dts output.ac3 -23.976 -changeTo24.000

You need correct the audio duration, forget the video fps.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 23rd November 2010, 15:42   #10776  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by dansrfe View Post
^that could very well be a possibility, but seeing how madshi has left this and his madVR thread in the dark, I don't know if there will ever be a next version to eac3to.
I guess its just a temporary thing. already happened I think twice before that there was a rather long break in between development. maybe he just needs some time off then and when. but so far, he has always come back.
Thunderbolt8 is offline  
Old 23rd November 2010, 16:27   #10777  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Quote:
Originally Posted by robpdotcom View Post
I didn't know it was possible to inverse telecine with eac3to. Is the result a progressive, 23.976fps file? And, would you mind giving me an example command line?
I don't believe you can do that except with soft-telecined VC-1 content, where eac3to discards the pulldown flags. I was thinking about the usual Avisynth route for the video, which the OP indicated is coming from an NTSC DVD.
Inspector.Gadget is offline  
Old 23rd November 2010, 16:33   #10778  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Quote:
Originally Posted by sreemv View Post
tempting to do in layman's [my] terms - I demuxed dts audio track from a dvd [supposedly NTSC] and now attempting to re-mux it with a mkv created from BluRay source.

When I muxed the dvd demuxed DTS to the mkv, I experienced gradual audio async - so more 'google' suggested I need to correct for the framerate diff?
If you experience gradual audio desync, then you are probably correct - that could reflect the effects of combining audio synced to a 23.976fps master with video that plays back at 24.000fps. Both 23.976fps and 24.000fps are legal for Blu-rays. However, there is a way to solve your desync problem without re-encoding. Simply flag the framerate of your video stream as 23.976fps in MKVMergeGUI when muxing your final file and if the DVD and the Blu-ray were made from the same master and have the same number of frames the audio sync should be perfect.

Caveat: If your DTS file had a delay value on the DVD, you will need to add that delay to the final Matroska file, again using MKVMergeGUI, to get the correct sync. Otherwise, your final file will have some small amount of constant desync as if you were watching the DVD without the correct audio delay added to the disc.
Inspector.Gadget is offline  
Old 23rd November 2010, 18:10   #10779  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
Quote:
Originally Posted by Inspector.Gadget View Post
I don't believe you can do that except with soft-telecined VC-1 content, where eac3to discards the pulldown flags. I was thinking about the usual Avisynth route for the video, which the OP indicated is coming from an NTSC DVD.
Thanks for the info.
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870
robpdotcom is offline  
Old 23rd November 2010, 21:44   #10780  |  Link
sreemv
Registered User
 
Join Date: Feb 2003
Posts: 81
Quote:
Originally Posted by tebasuna51 View Post
1) You can recode dts to ac3 (recommended). If you want recode to dts you need Surcode DVD (commercial) installed.
Check if you have Surcode with:
eac3to -test
eac3to -test clearly shows surcode and it works by itself as well as I have used it at various times in the past.

N:\RipBot264v1.16.3\Tools\eac3to>eac3to -test
eac3to (v3.24) is up to date
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder (1.1.0.0) works fine
Sonic Audio Decoder (3.24.0.0) doesn't seem to be installed
Haali Matroska Muxer (2010-05-19) is installed
There's a new version (2010-11-21) available
http://haali.net/mkv
Nero AAC Encoder could not be located
http://www.nero.com/eng/nero-aac-codec.html
Copy NeroAacEnc.exe to the eac3to or to the Windows folder.
Surcode DTS Encoder (1.0.29.0) is installed
MkvToolnix (3.4.0.0, release version) is installed
There's a new release version (4.4.0.0) available
http://www.bunkus.org/videotools/mkvtoolnix
There's a new beta version (4.4.0.0, 2010-11-15) available
http://www.bunkus.org/videotools/mkvtoolnix/win32/pre

N:\RipBot264v1.16.3\Tools\eac3to>

But surcode with eac3to keeps failing and I am unable to decipher the reason:
N:\RipBot264v1.16.3\Tools\eac3to>eac3to "eac3to-demux.dts" N:\24fps.dts -23.976 -changeTo24.000 -libav
DTS, 5.1 channels, 2:06:02, 24 bits, 1510kbps, 48kHz
Decoding with libav/ffmpeg...
Changing FPS from 23.976 to 24.000...
Reducing depth from 64 to 32 bits...
Writing WAVs...
Creating file "N:\24fps.LFE.wav"...
Creating file "N:\24fps.SR.wav"...
Creating file "N:\24fps.SL.wav"...
Creating file "N:\24fps.C.wav"...
Creating file "N:\24fps.R.wav"...
Creating file "N:\24fps.L.wav"...
Clipping detected, a 2nd pass will be necessary.
libav ERROR: block code look-up failed
libav L
libav a
libav s
libav t
................................................
...............................................[truncated]
libav Didn't get subframe DSYNC
libav ERROR: block code look-up failed

[truncated]


libav Didn't get subframe DSYNC
Starting 2nd pass...
Decoding with libav/ffmpeg...
Changing FPS from 23.976 to 24.000...
Reducing depth from 64 to 32 bits...
Writing WAVs...
Applying -12.53dB gain...
Creating file "N:\24fps.R.wav"...
Creating file "N:\24fps.C.wav"...
Creating file "N:\24fps.SL.wav"...
Creating file "N:\24fps.L.wav"...
Creating file "N:\24fps.SR.wav"...
Creating file "N:\24fps.LFE.wav"...
libav ERROR: block code look-up failed
libav L
libav a
libav s
libav t
libav m

[truncated]


libav Didn't get subframe DSYNC
Encoding DTS <1536kbps> with Surcode...
Found Surcode DTS Encoder version 1.0.29.0.
Pressing the Surcode "Encode" button didn't seem to work...
Closing Surcode...

N:\RipBot264v1.16.3\Tools\eac3to>

I checked the FAQ and amde sure there were no long path/names and yet surcode part keeps failing. As I mentioned above, surcode by itself works fine.

Is there a way to save the frame converted "wavs" and use the "surcode" independently? eac3to keeps deleting them after the above failure.


BTW, -libav has more success than the default - so, thanks for that!



Quote:
2) Check with MediaInfo/eac3to if your mkv is exactly 24 fps and not 24000/1001 or 23.976
N:\RipBot264v1.16.3\Tools\eac3to>eac3to "original.mkv"
MKV, 1 video track, 1 subtitle track, 2:11:21, 24p /1.001
1: h264/AVC, 1920x818 24p /1.001 (960:409)
2: Subtitle (SRT)

N:\RipBot264v1.16.3\Tools\eac3to>

Quote:
3) If your dts source is 768 Kb/s maybe you can add a explicit bitrate instead the default:
-448 to recode to ac3
-768 to recode to dts
N:\RipBot264v1.16.3\Tools\eac3to>eac3to "eac3to-demux.dts"
DTS, 5.1 channels, 2:06:02, 24 bits, 1510kbps, 48kHz

N:\RipBot264v1.16.3\Tools\eac3to>

Quote:
4-1) If your DVD is PAL (check in the cover) you need:
eac3to input.dts output.ac3 -25.000 -changeTo24.000

4-2) If your DVD is NTSC you need:
eac3to input.dts output.ac3 -23.976 -changeTo24.000

You need correct the audio duration, forget the video fps.
N:\RipBot264v1.16.3\Tools\eac3to>eac3to "F:\Original\VIDEO_TS\VTS_01_1.VOB"
VOB, 1 video track, 2 audio tracks, 1 subtitle track, 0:01:53
1: MPEG2, 480i60 /1.001 (16:9)
2: AC3, 5.1 channels, 448kbps, 48kHz
3: DTS, 5.1 channels, 24 bits, 1510kbps, 48kHz
4: Subtitle (DVD)

N:\RipBot264v1.16.3\Tools\eac3to>

Thanks again for all the help!

Last edited by sreemv; 23rd November 2010 at 21:51.
sreemv 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 14:35.


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