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 20th December 2007, 23:55   #2121  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nautilus7 View Post
The processing completed fine, but the "decoding truehd track" and "removing dialnorm" was displayed twice, i guess one for each output track (flac and ac3).
Do these actions actually happen twice?
Yes...
madshi is offline  
Old 21st December 2007, 00:02   #2122  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Well... is this necessary?


Oh, i forgot to mention it before. I used nero decoder, cause the libav produced the "famous" error again. As you said earlier, it must be the only flaw to the code.
nautilus7 is offline  
Old 21st December 2007, 00:17   #2123  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nautilus7 View Post
Well... is this necessary?
Yes and no. Of course an intelligent human can easily see that double decoding is kind of superfluous. But trying to duplicate this with a computer program is not always that straightforward. Sure I could do it, but it would make the code a lot more complicated. So I implemented a simpler solution which sometimes results in double decoding. On the positive side, due to the simpler code there's less potential for bugs.
madshi is offline  
Old 21st December 2007, 00:20   #2124  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Ok, i understand.

Is there anything (except delay ) that would you like me to test?
nautilus7 is offline  
Old 21st December 2007, 02:55   #2125  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
can you tell in how far codes or routines from other programs (for example evodemux or h264tsto or haali filters) were used regarding .evo joining & de- and remuxing? would be useful in case we get errors, so we might know which program(s) would produce a similar error in that case and dont have to try each other tool then.
Thunderbolt8 is offline  
Old 21st December 2007, 06:11   #2126  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Another one to report. I ran the -test switch to see it in action and note the results for the Nero Audio Decoder. Please let me know what other info I can provide:
Code:
eac3tov2 feature_1.evo+feature_2.evo -test

Nero Audio Decoder (Nero 7 or older) is not working correctly
Sonic Audio Decoder (4.3.0.169) works fine
Haali Media Splitter (2007-11-18) is installed
Surcode DTS Encoder (1.0.23.0) is installed 
MkvToolnix (v2.1.0) is installed
EVO/VOB, 2 video tracks, 4 audio tracks, 1:29:31
1: Joined EVO/VOB file
2: VC-1
3: VC-1
4: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -8ms
5: TrueHD, 5.1 channels, 48khz, dialnorm: -24dB, -1ms
6: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -8ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -27ms
Using graphedt (renamed recode.exe), the Nero splitter only showed one video stream and 3 audio tracks. I was able to play the audio via the Nero Audio Decoder 2.

btw, EVOdemux confirms the two video streams and 4 audio streams, so I'm not sure why the Nero stuff is missing 1 video and the remaining audio stream.

Please let me know what else I can do to help with this one.

May I request a wish list item please. In addition to the video codec, i.e., "VC-1" above as an example, is there a way to provide a few more pieces of info? Something like "VC-1, 1920x1080, 23.976, pulldown" and pulldown would only be there if the video has the pulldown flag. If it's doable.

[EDIT] Well, 5 seconds after I posted this, I tried something else. I renamed eac3tov2.exe to recode.exe and reran the line above and what do you know?
Code:
Nero Audio Decoder (Nero 7 or older) works fine
Sonic Audio Decoder (4.3.0.169) works fine
Haali Media Splitter (2007-11-18) is installed
Surcode DTS Encoder (1.0.23.0) is installed
MkvToolnix (v2.1.0) is installed
EVO/VOB, 2 video tracks, 4 audio tracks, 1:29:31
1: Joined EVO/VOB file
2: VC-1
3: VC-1
4: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -8ms
5: TrueHD, 5.1 channels, 48khz, dialnorm: -24dB, -1ms
6: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -8ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -27ms
__________________
Chumbo

Last edited by Chumbo; 21st December 2007 at 06:17.
Chumbo is offline  
Old 21st December 2007, 06:27   #2127  |  Link
shanghai2004
Registered User
 
Join Date: Jul 2005
Posts: 32
Sample of Eagles HD-DVD EVO to verify LPCM problem

Quote:
Originally Posted by madshi View Post
Yes, that'd be helpful! But only if the problem can be reproduced with the sample, too. Thanks!
http://www.sendspace.com/file/i867cw

Its about 96MB. Plays fine in PowerDVD.
Extracting the LPCM audio track results in corrupted audio file.

Hope you have time to take a look. Thanks ahead!
shanghai2004 is offline  
Old 21st December 2007, 09:28   #2128  |  Link
yonta
Registered User
 
Join Date: Mar 2005
Posts: 136
Samples of 24bit Blu-ray LPCM which crash eac3to v2.10.

All files were demuxed with xport and they seem to be OK when converted to wav with sox/wavewizard.

24bit.2.0ch.Blu-ray.LPCM.sample1
http://www.sendspace.com/file/tnbe4v

24bit.2.0ch.Blu-ray.LPCM.sample2
http://www.sendspace.com/file/ett8j3

24bit.2.0ch.Blu-ray.LPCM.sample3
http://www.sendspace.com/file/5ncjkr

24bit.5.1ch.Blu-ray.LPCM
http://www.sendspace.com/file/64lsvl

Thank you madshi for your great effort!
yonta is offline  
Old 21st December 2007, 09:29   #2129  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nautilus7 View Post
Ok, i understand.

Is there anything (except delay ) that would you like me to test?
Nothing specific. Just let eac3to convert some movies for you and check whether everything works alright. That'd be helpful.
madshi is offline  
Old 21st December 2007, 09:46   #2130  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Chumbo View Post
Well, 5 seconds after I posted this, I tried something else. I renamed eac3tov2.exe to recode.exe
Ehm, normally Nero's decoder only works if you rename the exe to "recode.exe". However, eac3to has implemented a hack around this by also allowing "eac3to.exe". Renaming "eac3to.exe" to "eac3tov2.exe" disables this hack. Please don't rename "eac3to.exe".
madshi is offline  
Old 21st December 2007, 09:48   #2131  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
can you tell in how far codes or routines from other programs (for example evodemux or h264tsto or haali filters) were used regarding .evo joining & de- and remuxing? would be useful in case we get errors, so we might know which program(s) would produce a similar error in that case and dont have to try each other tool then.
Evo demuxing and joining is completely my own code. I got the idea from Ron's (drmpeg's) original code, but I've totally rewritten it. Timestamp fixing is based on my own OffsetPTS, but also rewritten. Evo remuxing is done on the fly by feeding the joined Evo directly into the "Haali Media Splitter (AR)" without writing the joined Evo file to harddisk first. Timestamp rewriting is done in an extra step by calling mkvtoolnix.

FWIW, I've yesterday converted three h264 HD DVD movies (Shooter, Transformers and Hunt for Red October) with the new eac3to and all three movies converted perfectly (apart from the one remaining libav TrueHD decoder bug). The final MKV files work great and also seeking works great. So I'm feeling safe to say that with the latest Haali filters remuxing h264 HD DVD movies works very well. So no need to demux the h264 video track to a raw file and mux it to MKV by dropping it into mkvtoolnix, anymore. eac3to uses the Haali filters instead which seem now up to the task, as far as I can say so far. I still have some problems with rewriting timestamps with Equilibrium, but I think that's not Haali's fault, but a bug in mkvtoolnix.
madshi is offline  
Old 21st December 2007, 09:56   #2132  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by yonta View Post
Samples of 24bit Blu-ray LPCM which crash eac3to v2.10.
Thank you for the samples. The crash should be fixed in the next eac3to build. However, how did you demux these samples? They look kind of corrupt to me. Did you use TsRemux or xport?
madshi is offline  
Old 21st December 2007, 10:02   #2133  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Chumbo View Post
May I request a wish list item please. In addition to the video codec, i.e., "VC-1" above as an example, is there a way to provide a few more pieces of info? Something like "VC-1, 1920x1080, 23.976, pulldown" and pulldown would only be there if the video has the pulldown flag. If it's doable.
That's already planned for a future version.
madshi is offline  
Old 21st December 2007, 10:28   #2134  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by shanghai2004 View Post
http://www.sendspace.com/file/i867cw

Its about 96MB. Plays fine in PowerDVD.
Does PowerDVD play the PCM track or the DTS-HD track?

The PCM track seems to be corrupt. Haali's splitter doesn't even offer to demux it. Sonic's splitter crashes when trying to demux it. Nero's filter demuxes the track, but it's no valid PCM data. eac3to demuxes it, too, but it's also not valid PCM data.

Maybe EvoDemux corrupted the EVO while rebuilding? Please try eac3to on the original EVO files.
madshi is offline  
Old 21st December 2007, 10:46   #2135  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
is eac3to supposed to apply the correct delay if you only encode the lossless track from the evos to flac (no video remuxing)? it doesn't seem apply any delay at all..
shambles is offline  
Old 21st December 2007, 10:51   #2136  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by madshi View Post
Did you use TsRemux or xport?
He mentions xport.
nautilus7 is offline  
Old 21st December 2007, 11:27   #2137  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by shambles View Post
is eac3to supposed to apply the correct delay if you only encode the lossless track from the evos to flac (no video remuxing)? it doesn't seem apply any delay at all..
The delay should still be applied correctly. How does the eac3to output look like?
madshi is offline  
Old 21st December 2007, 11:27   #2138  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nautilus7 View Post
He mentions xport.
Oooops. Will recheck the samples.
madshi is offline  
Old 21st December 2007, 12:22   #2139  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
E:\Program Files\eac3to>eac3to 101.evo f:\1.flac
EVO/VOB, 1 video track, 4 audio tracks, 1:11:52
1: VC-1
2: E-AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, 2002ms
3: TrueHD, 5.1 channels, 48khz, dialnorm: -24dB, 2002ms
4: E-AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, 2002ms
5: E-AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, 2002ms
Track 3 is used for destination file "1.flac".
Demuxing 2nd audio track...
Removing dialog normalization...
Encoding FLAC...
Creating/writing file "f:\1.24bit.flac"...
This audio track contains only 16 bit of information.
The zero bytes were successfully removed.
Done.

also, the new eac3to version seems to report dialnorm -24db for all truehd tracks (both in evo and demuxed) while the old ones reported -27db (even for the same tracks)
shambles is offline  
Old 21st December 2007, 12:31   #2140  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by shambles View Post
3: TrueHD, 5.1 channels, 48khz, dialnorm: -24dB, 2002ms
Hmmmm... The delay really doesn't seem to be applied. So is the FLAC track out of sync by 2 seconds?

It would be very helpful, if you could upload a little sample of the EVO file. Maybe 50MB, if possible?

Quote:
Originally Posted by shambles View Post
also, the new eac3to version seems to report dialnorm -24db for all truehd tracks (both in evo and demuxed) while the old ones reported -27db (even for the same tracks)
Ah - thanks for reporting! That's a bug, will be fixed in next build.
madshi 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 20:19.


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