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 29th June 2007, 19:04   #261  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by crapz0rs View Post
I have surcode 1.0.2.3 installed, but the dts creating doesn't work.
Code:
Audio Decoder output was 24 bit this time.
Convert the multi channel raw file to mono wav files. Please wait...
Convert the mono wav files to dts. Please wait...
Creating the DTS file failed. The multi channel wav files are valid, though.
Encoding the 6 mono wavs in surcode works fine though :-)
Argh, my fault. I'll upload a newer build in a few minutes.
madshi is offline  
Old 29th June 2007, 19:19   #262  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
New version uploaded, same link as before. Please check the version information (right click on eac3to.exe -> properties). It must be "1.9.0.2". Hopefully DTS encoding works now.
madshi is offline  
Old 29th June 2007, 19:48   #263  |  Link
crapz0rs
Registered User
 
Join Date: Jun 2007
Posts: 12
Code:
Audio Decoder output was 24 bit this time.
Convert the multi channel raw file to mono wav files. Please wait...
Convert the mono wav files to dts. Please wait...
Done.
crapz0rs is offline  
Old 30th June 2007, 08:53   #264  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
@madshi

LPCM 24Bit to wave works now! nice...

But the flac Problem still exits for me

24Bit LPCM to 24Bit flac results in a flac which has the same Size as the raw! Strange...
On the Sample both 24Bit Files are 90MB
On a 6.7GB LPCM the FLAc from eac3to is 6.7GB too

I tried all combinations again on the same sample
So i use Audacity 1.3.3 to encode to flac 24bit

2 Questions:

1. Are you using Besiled 0.3 at the end of the dts chain to fix dts output? I think so...
Maybe you can remember, we talked about via PN

eact3to dts encode works with all 16 and 24bit Sources

2. Whne i convert a lpcm.raw to wave with -Bluray, the Message "remapping channes" will not longer appear ?
Output wave has correct channelmapping

Last edited by ACrowley; 30th June 2007 at 10:25.
ACrowley is offline  
Old 30th June 2007, 12:58   #265  |  Link
honai
Guest
 
Posts: n/a
Quote:
Besliced 0.3 at the end of the dts chain to fix dts output
What exactly is happening at this step? How is the DTS stream from Surcode erroneous?
 
Old 30th June 2007, 13:04   #266  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by ACrowley View Post
But the flac Problem still exits for me

24Bit LPCM to 24Bit flac results in a flac which has the same Size as the raw! Strange...
On the Sample both 24Bit Files are 90MB
On a 6.7GB LPCM the FLAc from eac3to is 6.7GB too
I'll check that. Maybe I'll switch to the flake encoder. Maybe that won't have problems with > 2GB output. Don't know...

Quote:
Originally Posted by ACrowley View Post
1. Are you using Besiled 0.3 at the end of the dts chain to fix dts output?
No, I found a better way... There's a registry value which tells SurCode to give out a more compatible DTS stream (named "PAD ZEROS"). Unfortunately SurCode keeps on resetting this registry value to the "bad" setting all the time, so it's very uncomfortable for manual use. Of course eac3to solves all these troubles for you.

Quote:
Originally Posted by ACrowley View Post
eact3to dts encode works with all 16 and 24bit Sources
I had to replace sox to make that work. SurCode didn't like the 24bit WAV files produced by sox. So now eac3to doesn't use sox for WAV file creation, anymore, but does that work itself. The WAV files created by eac3to should be similar to what wavwizard outputs. They seem to be more compatible then what sox creates.

Quote:
Originally Posted by ACrowley View Post
2. Whne i convert a lpcm.raw to wave with -Bluray, the Message "remapping channes" will not longer appear ?
Output wave has correct channelmapping
The message doesn't appear, anymore, because I'm now doing that step together with some other steps like creating mono wavs etc. In the older eac3to build the channel remapping was a separate step. In the new build eac3to is sometimes doing multiple steps at once to save time. You may have noticed (or maybe not) that the LPCM -> mono WAV conversion is rather quick. It should be 2x-3x as fast as before.
madshi is offline  
Old 30th June 2007, 13:06   #267  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by honai View Post
What exactly is happening at this step? How is the DTS stream from Surcode erroneous?
Older versions of SurCode (the latest version 1.0.29 doesn't have this problem) by default added some zero bytes after each DTS frame. A normal DTS frame for 1536kbit/s is 2013 bytes long. SurCode by default writes 2013 real bytes and then 35 zero bytes for every frame. Don't ask me why they're doing that, I've no idea. delaycut, besplit and most other software doesn't like this very much. Fortunately, I've found a way to convince SurCode to stop adding those 35 zero bytes after each DTS frame and added that to eac3to.
madshi is offline  
Old 30th June 2007, 19:14   #268  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Madshi is right
With a Surcode encoded dts you will get these Errors in the Header and mostly wrong Runtime/Filesize and this Error in mkvmerge :

audio/video go out of sync, but this stream is damaged.
Warning: dts_packetizer: skipping 35 bytes (no valid DTS header found).
This might make audio/video go out of sync, but this stream is damaged.

To fix the dts you can also use Besliced.exe (0.3)

Besliced 0.3 exe included in :
http://dspguru.notrace.dk/BeSplitv0.9b6.zip

Simply open Besliced.exe and move your dts into the window and select fix.
You will get a lot of Errors in the Log like this :

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : G:\test.dts
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Channels Count: 5.1, Bitrate: 1536kbps
[00:00:00:000] | Output : G:\test_Fixed.dts
[00:00:00:000] +---------------------
[00:00:00:021] Stream error : Sync found after 35 bytes
[00:00:00:032] Stream error : Sync found after 35 bytes
[00:00:00:042] Stream error : Sync found after 35 bytes
[00:00:00:053] Stream error : Sync found after 35 bytes
[00:00:00:063] Stream error : Sync found after 35 bytes
[00:00:00:074] Stream error : Sync found after 35 bytes
[00:00:00:085] Stream error : Sync found after 35 bytes
[00:00:00:096] Stream error : Sync found after 35 bytes
[00:00:00:106] Stream error : Sync found after 35 bytes
[00:00:00:117] Stream error : Sync found after 35 bytes
[00:00:00:128] Stream error : Sync found after 35 bytes
[00:00:00:138] Stream error : Sync found after 35 bytes
[00:00:00:149] Stream error : Sync found after 35 bytes
[00:00:00:159] Stream error : Sync found after 35 bytes
[00:00:00:170] Stream error : Sync found after 35 bytes
[00:00:00:181] Stream error : Sync found after 35 bytes
....

After fixing the dts is clean ,with correct Runtime/Filesize and no more Problems and you have a proper nice dts

###############################################

@Madshi
1 .The Surcode Registry Key "PAD ZEROS"). it should be set to 0 ,right ?

2. When i use -down16 on the sample, the flac output still has the loud noise
.wav output is ok (in 16 and 24bit)
And -flac in 24bit ,has the Filesize Problem i told you above

3.Flake encoder would be nice. Its faster und higher -12 compression
But :
At the Moment you get only 16bit flac from flake encoder :
Signed 24-bit 48000 Hz 6-channel
WARNING! converting to 16-bit (not lossless)

http://forum.doom9.org/showthread.php?t=120871

Quote:
Originally Posted by jruggle View Post
Hi,
I wrote Flake. 24-bit encoding is on the TODO list, but right now does downsample to 16-bit. As far as Winamp crashing...that's really odd. It should not be doing that, especially with the settings you used, which do not utilize any of Flake's experimental stuff. My guess is that the issue is Winamp since Foobar decodes okay. But then again, Flake has not been through very vigorous testing at early this stage in its existance.

Anyway, it seems that your only choice for now to encode 24-bit is the libFLAC encoder...I just wanted to chime in and say that I'm working on adding it to Flake sometime in the future.
-Justin

Last edited by ACrowley; 30th June 2007 at 20:38.
ACrowley is offline  
Old 30th June 2007, 22:14   #269  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by ACrowley View Post
1 .The Surcode Registry Key "PAD ZEROS"). it should be set to 0 ,right ?
Right.

Quote:
Originally Posted by ACrowley View Post
2. When i use -down16 on the sample, the flac output still has the loud noise
.wav output is ok (in 16 and 24bit)
And -flac in 24bit ,has the Filesize Problem i told you above

3.Flake encoder would be nice. Its faster und higher -12 compression
But :
At the Moment you get only 16bit flac from flake encoder
Argh, that's bad.
madshi is offline  
Old 1st July 2007, 00:56   #270  |  Link
The_Keymaker
Registered User
 
Join Date: Feb 2007
Location: U.S.A.
Posts: 135
New version (v1.15) of EAC3toGUI available here:

http://www.sendspace.com/file/ltxl6s

Changelog Version 1.15:
- Added DTS rate options
- Added Down convert option "-down16"
- Added "wavs" and "dts" filemasks
- Changed PCM and TrueHD options scheme to allow selection of common options (16bit, 24bit, 96Khz, 8ch)

Please report bugs, suggestions and overall usage experience.

Regards,
The_Keymaker

Last edited by The_Keymaker; 1st July 2007 at 01:01.
The_Keymaker is offline  
Old 1st July 2007, 02:16   #271  |  Link
honai
Guest
 
Posts: n/a
Quote:
A normal DTS frame for 1536kbit/s is 2013 bytes long. SurCode by default writes 2013 real bytes and then 35 zero bytes for every frame. Don't ask me why they're doing that, I've no idea.
Probably to get to the "magic" 2048 bytes size. I'm not sure but I think that DTS over SPDIF gets wrapped/padded in such a way, too, though transparently by the soundcard driver or AC3Filter.
 
Old 1st July 2007, 08:17   #272  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
@The_Keymaker

BluRay channelmapping Switch is removed cause eac3to will do it autom. now ,right ?

Little Suggestions

1. I know in your opinion (youre right) its enough to type in the dest. File extension to set Output Format.
But ,imho, a small scrolldown Outputformat Window would be nice

2. The Downconvert Option would be more obvious with "Downconvert to 16Bit"

3. Maybe a little Error ? When you select "Browse" to set the Output, the Windows Name is "Select the Source File" , shouldnt it be "Save as" ?
And Filetyp is (ac3,raw,wav), Theres no flac ( ac3,raw,wav,flac)

4. And the Input Extension .raw would be nice

Ofcourse its all marginal, your Gui works great! THX

greets

Last edited by ACrowley; 1st July 2007 at 08:49.
ACrowley is offline  
Old 3rd July 2007, 03:47   #273  |  Link
The_Keymaker
Registered User
 
Join Date: Feb 2007
Location: U.S.A.
Posts: 135
EAC3toGUI Version 1.18 Released

New version (version 1.18) of EAC3toGUI released. Download link:

http://www.sendspace.com/file/ruv4ub

Changelog:

1. Added *.raw source file extension mask
2. Added *.flac destination extension mask
3. Relabeled down convert option for clarification
4. Relabeled destination file browse dialog

Thanks to ACrowley for feedback and suggestions.

As usual, please provide feedback, bug reports and usage experience.

Regards,
The_Keymaker
The_Keymaker is offline  
Old 3rd July 2007, 09:48   #274  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
THX..great work!

But to 1:

.raw apppears in the mask ,When i load a .raw i get a ErrorMessage about a not valid Extension.

And is it possible to add a Proggress Bar (%) or something like that ?

Last edited by ACrowley; 3rd July 2007 at 12:40.
ACrowley is offline  
Old 3rd July 2007, 17:29   #275  |  Link
Prophecy650
Registered User
 
Join Date: Nov 2005
Posts: 23
don't know what I am doing wrong, says

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\BREAKUP\HVDVD_TS>"C:\Documents and Settings\Ivan\Desktop\New Folder (3)\eac3t
o.exe" "D:\BREAKUP\HVDVD_TS\EXTENDED.EVO" "D:\BREAKUP\HVDVD_TS\EXTENDED.ac3" -
448 -24
Muxing evo's first audio track to raw. Please wait...
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version SVN
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

input format: Signed 24-bit 48000 Hz 5.1-channel
output format: 48000 Hz 3/2 + LFE

"aften" reported error code "3221225477". A valid *.wav file was created sucessf
ully, though.

D:\BREAKUP\HVDVD_TS>

When I got to the wav file everything is sped up. the audio sounds like its beeing fastfoward?

Last edited by Prophecy650; 3rd July 2007 at 17:45.
Prophecy650 is offline  
Old 3rd July 2007, 17:59   #276  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@Prophecy650,

as far as I can see from the "The Break-Up" HD DVD specs, this HD DVD doesn't have a TrueHD track, but only some E-AC3 tracks. So you may want to try demuxing the E-AC3 track by using EvoDemux and then feed that into eac3to. Maybe that works better?
madshi is offline  
Old 3rd July 2007, 18:02   #277  |  Link
Prophecy650
Registered User
 
Join Date: Nov 2005
Posts: 23
thanks trying it right now
Prophecy650 is offline  
Old 3rd July 2007, 18:12   #278  |  Link
Prophecy650
Registered User
 
Join Date: Nov 2005
Posts: 23
i went to evodemux changed it to eac3 not Im getting this

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Ivan\Desktop\New Folder>"C:\Documents and Settings\Iva
n\Desktop\New Folder (3)\eac3to.exe" "C:\Documents and Settings\Ivan\Desktop\New
Folder\FEATURE_1_FEATURE_2.DD>stream.00.eac3" "C:\Documents and Settings\Ivan\
Desktop\New Folder\FEATURE_1_FEATURE_2.DD>stream.00.ac3"
Source file "C:\Documents and Settings\Ivan\Desktop\New Folder\FEATURE_1_FEATURE
_2.DD>stream.00.eac3" not found.
Prophecy650 is offline  
Old 3rd July 2007, 18:48   #279  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Please rename the file to something else. My XP doesn't even allow ">" inside of a file name. Don't know how you got such a character in your file name.
madshi is offline  
Old 3rd July 2007, 19:32   #280  |  Link
Prophecy650
Registered User
 
Join Date: Nov 2005
Posts: 23
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Ivan\Desktop\New Folder>"C:\Documents and Settings\Iva
n\Desktop\New Folder (3)\eac3to.exe" "C:\Documents and Settings\Ivan\Desktop\New
Folder\FEATURE.eac3" "C:\Documents and Settings\Ivan\Desktop\New Folder\FEATUR
E.ac3" -448 -nero
E-AC3, 5.1 channels, 1:46:31, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version SVN
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

input format: Signed 24-bit 48000 Hz 5.1-channel
output format: 48000 Hz 3/2 + LFE

"aften" reported error code "3221225477". A valid *.wav file was created sucessf
ully, though.


how do I get it to ac3 now? thanks alot madshi, I can hear the audio atleast now
Prophecy650 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 13:12.


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