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

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th November 2007, 18:44   #1401  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by Murleen View Post
The 4 bytes beforehand are actually part of the same frame - the first two bytes indicate the frame length, the next two are a form of DTS - these are then followed by the sync word. Without the bytes, 128 packets of 40 samples will be dropped - about 107ms by my reckoning.
That's interesting - thanks for the information!

Is it possible to get the runtime from those DTS bytes? I mean could I just search in the file for the first and last sync word, substract the DTS values and convert them to a runtime somehow? That would be nice.

Quote:
Originally Posted by Murleen View Post
If you've got any samples with extra junk on the front I'd like to get a look at them - PM me if that's possible.
Right now I don't have any at hand. But I'm sure I'll run across them again sooner or later. Will PM you then.
madshi is offline   Reply With Quote
Old 17th November 2007, 18:59   #1402  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
.raw input

it seems weird that .raw is not a valid input extension since eac3to decodes to just that. renaming it to .pcm works but then eac3to seems to assume it's a blu-ray lpcm track and wants to remap the channels.

i wanted to use -down6 on a raw file that was decoded from flac, but i just couldn't get it to work..

'eac3to bla.pcm bla.flac -8 -down6' makes a 6ch flac but channels are mapped wrong

'eac3to bla.pcm bla.flac -8 -0,1,2,3,4,5,6,7 -down6' makes an 8ch flac

flac to flac with -down6 doesn't work either.. 'eac3to bla.flac bla2.flac -down6' creates an 8ch file

it of course works just fine with the orig blu-ray lpcm track but not anymore once the channels have been remapped.

also .wav input seems to be broken.. even wavs made by eac3to give the error message "The raw file has 0 channels, which is not supported by eac3to."
shambles is offline   Reply With Quote
Old 17th November 2007, 20:17   #1403  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by shambles View Post
it seems weird that .raw is not a valid input extension since eac3to decodes to just that. renaming it to .pcm works but then eac3to seems to assume it's a blu-ray lpcm track and wants to remap the channels.

i wanted to use -down6 on a raw file that was decoded from flac, but i just couldn't get it to work..

'eac3to bla.pcm bla.flac -8 -down6' makes a 6ch flac but channels are mapped wrong

'eac3to bla.pcm bla.flac -8 -0,1,2,3,4,5,6,7 -down6' makes an 8ch flac

flac to flac with -down6 doesn't work either.. 'eac3to bla.flac bla2.flac -down6' creates an 8ch file

it of course works just fine with the orig blu-ray lpcm track but not anymore once the channels have been remapped.

also .wav input seems to be broken.. even wavs made by eac3to give the error message "The raw file has 0 channels, which is not supported by eac3to."
Probably those are all bugs. And probably they are all already fixed with eac3to v2.0.
madshi is offline   Reply With Quote
Old 17th November 2007, 21:06   #1404  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
eac3to v2.0 released

http://madshi.net/eac3to.zip

Please see first post of this thread for the full help text of the new version. Here I'll post a list of the changes instead:

Code:
totally new features
* AC3 decoding support (Nero's decoder without DRC/dialnorm)
* resampling to 44.1/48/96 kHz (by using "r8brain")
* apply/reverse PAL speedup (by using "r8brain")
* "eac3to sourceFile" will print out source file details

strongly enhanced features
* dramatically improved performance (no intermediate files, anymore!)
* proper 6.1/7.1 downmixing to 5.1 instead of just dropping the back surround channels
* RAW/PCM file detection now auto detects channels, bitdepth and endian
* WAV is now fully supported as source file format
* destination file extension "PCM" creates Blu-Ray style LPCM tracks
* bitdepth can be reduced to anything between 14 bits and 23 bits

DTS related improvements/changes
* DTS-96/24 support added
* "open bitrate" support added
* strange channel configuration support added
* removal of zero padding from DTS files added
* eac3to can fix broken DTS-ES files (they decode to 5.1 instead of 6.1 without the fix)
* dialog normalization can be removed without removing the additional DTS-HD data now
* core extraction must be specifically asked for now (see "-core" switch)

AC3 related improvements
* did I mention that eac3to can decode AC3 now?
* strange channel configuration support added

TrueHD related improvements
* delay problem (hopefully) solved
* fixed: sometimes some audio data in the middle of a track was lost
* TrueHD/AC3 interweaved file can be stripped to TrueHD only now

various minor improvements/changes
* progress bar added
* eac3to detects file format independently of file extension
* multiple input files can be treated as one big file
* "sox" is not needed, anymore
* "dump" filter not needed, anymore
* "aften.exe" replaced by "libAften.dll"
* "flac.exe" replaced by "libFlac.dll"
* DTS/DD+/AC3 source filter ships with eac3to now
* 8bit support added
* various bug fixes
Probably I've forgotten to mention some changes. There's one thing I should note, though: This is a total rewrite! That means, there may be tons of new bugs. So we'll need to do a lot of testing before we can consider it really stable. One thing I'm not sure about yet is how well the new version will work in Vista, especially in Vista64. I've implemented a number of ugly hacks and tested them only in XP. So eventually I'll need to fix some things in Vista.

Just to be sure, here's the previous eac3to v1.23 for download:

http://madshi.net/eac3to.v1.23.zip

Last edited by madshi; 18th November 2007 at 00:10.
madshi is offline   Reply With Quote
Old 17th November 2007, 21:24   #1405  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171


edit: hows the quality of PAL speedup removal compared to an original NTSC track, is it of same quality? when slowing down to NTSC with besweet for example there was still some noticeable difference
Thunderbolt8 is offline   Reply With Quote
Old 17th November 2007, 21:32   #1406  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,459
Thanks madshi, I just started playing w/eac3to today, and here pops your post! Like the sourcefile printout, and already noticed it prints my "Nero missing" error instantly this time!

I see that Nero 7 is dirt-cheap, and the plugins are $25; but I have not used Nero for years as it's bloated with stuff I neither need nor want on my computer.

Has anyone here figured-out how to minimally install the audio decoder from Nero 7, and the Plugins without all that other junk, er, good stuff?
laserfan is offline   Reply With Quote
Old 17th November 2007, 21:36   #1407  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
i will remux letters from iwo jima again later tonight, will be able to say then if that truehd delay thing is fixed now

btw. could you please explain what this means:
* destination file extension "PCM" creates Blu-Ray style LPCM tracks ?

when I want to convert blue-ray movie LPCM tracks to flac, do I still have to rename the tracks to .pcm before I put them into eac3to, or to .lpcm or doesnt it matter which of both?

Last edited by Thunderbolt8; 17th November 2007 at 21:56.
Thunderbolt8 is offline   Reply With Quote
Old 17th November 2007, 21:52   #1408  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by Thunderbolt8 View Post
hows the quality of PAL speedup removal compared to an original NTSC track, is it of same quality? when slowing down to NTSC with besweet for example there was still some noticeable difference
Just try it out and report back! Quality should be a bit better than besweet. But the original NTSC track is of course hard to beat.
madshi is offline   Reply With Quote
Old 17th November 2007, 21:53   #1409  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by laserfan View Post
Has anyone here figured-out how to minimally install the audio decoder from Nero 7, and the Plugins without all that other junk, er, good stuff?
Not sure. But the installer of Nero 7 Essentials should allow you to choose which packages to install. Maybe you can even disable "everything". Haven't tried that yet...
madshi is offline   Reply With Quote
Old 17th November 2007, 21:56   #1410  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by Thunderbolt8 View Post
btw. could you please explain what this means:
* destination file extension "PCM" creates Blu-Ray style LPCM tracks ?
That means that you can e.g. do "eac3to source.ac3 dest.pcm" and you'll get a PCM file which is formatted the same way as Blu-Ray PCM files are. Not sure if it's useful for anything, but there were some people who were asking for that. So...

Quote:
Originally Posted by Thunderbolt8 View Post
when I want to convert blue-ray movie LPCM tracks to flac, do I still have to rename the tracks to .pcm before I put them into eac3to, or to .lpcm or doesnt it matter which of both?
The new RAW/PCM detection algorithm costs some time. So I'm using it only if the file extension is "raw" or if there's a "PCM" somewhere in the file name. Not sure but IIRC xport puts a "PCM" in the file name? If it does, you can just convert the file without having to rename it. Otherwise rename it to "*.pcm" or "*.raw". That's not too hard - is it!?
madshi is offline   Reply With Quote
Old 17th November 2007, 21:59   #1411  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
xport puts .mpa at the end.
Thunderbolt8 is offline   Reply With Quote
Old 17th November 2007, 22:11   #1412  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by Thunderbolt8 View Post
xport puts .mpa at the end.
I said "if there's a "PCM" somewhere in the file name".
madshi is offline   Reply With Quote
Old 17th November 2007, 22:20   #1413  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
you didnt get my question at all, I asked if have to rename the file to .pcm or .lpcm for blue-ray flac tracks, since the the source input option now is (L)PCM and not only .pcm as in previous versions.
found out it actually doesnt matter.
Thunderbolt8 is offline   Reply With Quote
Old 17th November 2007, 22:47   #1414  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
I have to make an announcement: MADSHI IS A GREAT LIER!!!

...and i explain:
1. He was telling that new eac3to won't be ready till next week,
2. that he hadn't make any progress to AC3 decoding,
3. that PAL<--> NTSC conversion won't be ready for the next version.

3 big lies


Thank you very much!!!

nautilus7 is offline   Reply With Quote
Old 17th November 2007, 22:51   #1415  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,137
Quote:
Originally Posted by nautilus7 View Post
I have to make an announcement: MADSHI IS A GREAT LIER!!!

...and i explain:
1. He was telling that new eac3to won't be ready till next week,
2. that he hadn't make any progress to AC3 decoding,
3. that PAL<--> NTSC conversion won't be ready for the next version.

3 big lies


Thank you very much!!!
Sorry for lying...

No honestly, I didn't really expect AC3 decoding and PAL<->NTSC in the first version. The reason why AC3 decoding made it into this version is very simple: I noticed that my E-AC3 Nero related hacks worked for AC3, too, without any changes. So it was really easy to add AC3 decoding.
madshi is offline   Reply With Quote
Old 17th November 2007, 23:04   #1416  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
I am currently installing windows on my server... After that i 'll do some conversions. Get ready for feedback.
nautilus7 is offline   Reply With Quote
Old 17th November 2007, 23:13   #1417  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
remuxed letters from iwo jima again, both audio and video had same first timestamps. therefore I didnt apply any delay to the truehd flac and everything is in sync. seems to work perfertly now, thanks again!
Thunderbolt8 is offline   Reply With Quote
Old 17th November 2007, 23:22   #1418  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
I found out some more features that you didn't tell.
A very good bug report. Yeah, i had a crash. It's the same file i mentioned a few post above. Can you tell anything about this?
nautilus7 is offline   Reply With Quote
Old 17th November 2007, 23:26   #1419  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
fantastic. i don't know how i could live without this tool and now it's a tenfold better..

you're my hero.

by the way, i'm guessing noise-shaping is used with the TPDF dithering? any idea how the quality is compared to ssrc/wavewizard? really interested to see what kind of results 24->20bit conversion will bring..
shambles is offline   Reply With Quote
Old 17th November 2007, 23:39   #1420  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
C:\Tools>eac3to ice.greek.ac3 ice.greek.new.ac3 -slowdown -resampleto48000
AC3, 5.1 channels, 1:26:53, 384kbit/s, 48khz
Creating/writing file "ice.greek.new.ac3"...
Done.

Tried something different this time.
The process finished almost in no time and the output file is identical to the source.
Did i do something wrong?
nautilus7 is offline   Reply With Quote
Reply

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:14.


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