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. |
3rd May 2008, 22:55 | #4581 | Link | |
Registered User
Join Date: May 2007
Posts: 29
|
Quote:
|
|
4th May 2008, 03:38 | #4582 | Link |
Registered User
Join Date: Oct 2007
Posts: 36
|
Madashi, yet more info on DTS-HD to WAV problem.
I just converted a TrueHD track to WAV and it plays fine on the popcorn hour. Looks like libav works, but got this error: C:\DVDRips\HD>eac3to.exe Ripped\legend_audio.truehd Ripped\output.wav TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB Extracting TrueHD stream... Removing dialog normalization... Writing WAV... Creating/writing file "Ripped\output.24bit.wav"... [libav] Lossless check failed - expected 0, calculated d1 Caution: The WAV file is bigger than 4GB. Some WAV readers might not be able to handle this file correctly. This audio track contains only 16 bit of information. The zero bytes were successfully removed. eac3to processing took 9 minutes, 14 seconds. Done. Sonice and Nero both produce garbage audio after about 20% |
4th May 2008, 04:21 | #4583 | Link |
Registered User
Join Date: Aug 2007
Posts: 111
|
@madshi
I had trouble extracting the chapters from The Terminator BD (it's MPEG-2). I got this: CHAPTER01=00:00:00.000 CHAPTER01NAME= CHAPTER02=00:06:23.925 CHAPTER02NAME= CHAPTER03=00:13:38.234 CHAPTER03NAME= CHAPTER04=00:15:04.737 CHAPTER04NAME= CHAPTER05=00:22:42.528 CHAPTER05NAME= CHAPTER06=00:29:42.698 CHAPTER06NAME= CHAPTER07=00:38:40.026 CHAPTER07NAME= CHAPTER08=00:41:18.101 CHAPTER08NAME= CHAPTER09=00:47:39.398 CHAPTER09NAME= CHAPTER10=00:00:00.000 CHAPTER10NAME= CHAPTER11=00:00:00.000 CHAPTER11NAME= CHAPTER12=00:00:00.000 CHAPTER12NAME= CHAPTER13=00:00:00.000 CHAPTER13NAME= CHAPTER14=00:00:00.000 CHAPTER14NAME= CHAPTER15=00:00:00.000 CHAPTER15NAME= CHAPTER16=00:00:00.000 CHAPTER16NAME= CHAPTER17=00:00:00.000 CHAPTER17NAME= So, the first 8 are okay, but the last 8 are all 00:00:00.000 for some reason... Any idea what may be causing this? |
4th May 2008, 07:12 | #4584 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
With which movie/audio track? Also with the TrueHD track of "I Am Legend"? And the libav conversion of the same track works ok? That sounds extremely strange to me. I almost cannot believe that. How long are the final WAV files produced by libav, Nero and Sonic for this one specific TrueHD track? Not right now. Can you please upload the playlist (mpls) file you used? |
||
4th May 2008, 07:59 | #4586 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
P.S: Do "eac3to BluRayMovieFolder" and then upload the first mpls file that gets listed, if that's the movie playlist. |
|
4th May 2008, 08:00 | #4587 | Link |
Registered User
Join Date: Jun 2007
Posts: 215
|
madshi, did I create the sample correctly? concerning this: http://forum.doom9.org/showpost.php?...postcount=4558
|
4th May 2008, 09:20 | #4588 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
4th May 2008, 09:52 | #4589 | Link |
Registered User
Join Date: May 2004
Location: Russia
Posts: 57
|
madshi, hi.
Is it possible to have a piece of your source code where you handle seamless branching audio? If not could you please explain the algorithm of fixing multi file audio without reencoding? I've tried to PM you, but your inbox limit is exceeded. Thanx in advance for your help -) |
4th May 2008, 10:02 | #4590 | Link | |||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Dithering is done when bitdepth is reduced. Usually that's the case when using the libav AC3, E-AC3, MP2 and DTS decoders cause I've hacked these decoders in such a way that they outputs a very high bitdepth. eac3to then internally dithers the bitdepth down to a reasonable value. |
|||||||||
4th May 2008, 10:05 | #4591 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
What do you need this for? |
|
4th May 2008, 10:14 | #4592 | Link |
Registered User
Join Date: May 2004
Location: Russia
Posts: 57
|
Currently I'm trying to create a BD demuxer, which makes Scenarist compliant AVC streams while demuxing.
I already know what should be done to make AVC streams compliant, but I thought it would be great to demux all needed audio and subs as well, but I don't know how to handle audio from seamless branching movie without reencoding. I will certainly share my tool as soon as its ready. |
4th May 2008, 10:22 | #4593 | Link |
Registered User
Join Date: Aug 2007
Posts: 111
|
@mashi.
Sorry I totally wasn't paying attention, I thought you needed the actual list, not the file :P Here it is: http://www.mediafire.com/?dmiyggjnjit |
4th May 2008, 12:43 | #4595 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
I don't know vobBlanker but the author is jsoto. also DelayCut author and the method to delay an ac3 can be used to insert ac3 silence in the middle |
|
4th May 2008, 14:34 | #4597 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
(1) A full stream parser for all audio formats you want to support, which can also calculate the exact runtime of each audio frame. (2) Your tool will need to read out the PTS timestamps of the m2ts container and compare them to the runtime information your audio stream parsers (see (1)) calculated. This will give you information about where in the stream are gaps/overlaps. Unfortunately the PTS values are not always 100% correct, they may vary slightly (a bit too low or a bit too high). So you'll need to find a good way to even out the variances. (3) You have to take the gap/overlap information from step (2) and perform the necessary changes on the audio streams. For AC3, E-AC3, DTS and MP2 you'll have to insert (or delete) single audio frames to get rid of the gaps (or overlaps). For LPCM you can insert (or delete) single samples. For TrueHD things are difficult cause it's not really possible to do such corrections on the TrueHD bitstream without introducing problems. So for TrueHD you can do the correction only if you decode the audio data first. The eac3to source code is a complicated class structure. There's not just a few lines of code which do the audio gap/overlap correction. There's code in several classes which works together. So it's nearly impossible to give you just "some code" to duplicate eac3to's audio gap/overlap correction functionality. |
||
4th May 2008, 16:19 | #4599 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
That's a bit strange. Can be a bug in the libav decoder. Or it can be a slightly damaged TrueHD stream. Don't know. Since this warning only occurred once in the whole audio track, you probably don't need to bother much. The problem can only affect max 100ms worth of audio data in the whole audio track, I believe.
Quote:
It's important to decode the very same track with all 3 decoders. Only if you do that and if you then run into a problem with some decoders while other decoders don't show the same problem, only then it's a hint that some decoders might have a problem. But still even in that case the problem might be elsewhere. E.g. if the TrueHD stream is really damaged (see the "lossless check failed" libav warning you posted) this might throw off Sonic&Nero but might have a less bad effect on libav. |
|
4th May 2008, 17:09 | #4600 | Link |
Registered User
Join Date: Oct 2007
Posts: 36
|
I will do more testing, but so far, the only tracks I can play on the popcorn hour are:
LPCM tracks included with the Bluray TrueHD converted to WAV (PCM) with eac3to -libav Both DTS-MA and DD+ (Sonic, and Nero) both produce bad WAV files. |
Tags |
eac3to |
Thread Tools | Search this Thread |
Display Modes | |
|
|