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. |
11th March 2007, 01:37 | #981 | Link |
Registered User
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
|
Excellent! Although 6-channel (3/2+lfe) is the most common format on current discs, here's the channel mapping for all the LPCM formats:
Code:
mono M1 X stereo L R 3/0 L R C X 2/1 L R S X 3/1 L R C S 2/2 L R LS RS 3/2 L R C LS RS X 3/2+lfe L R C LS RS lfe 3/4 L R C LS Rls Rrs RS X 3/4+lfe L R C LS Rls Rrs RS lfe Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net |
11th March 2007, 02:28 | #982 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
Strange - when I play back a WAV in MediaCoder, the center speaker track is sent to the Rear Left speaker! I hope this doesn't screw up encoded audio either.
Anyways - I took a DD+ track from an HD-DVD, passed it to Sonic Audio Decoder 4.2 and Dump. Then I took the resulting WAV file and ran it through Sox, then I ran WaveWizard with the channels remapped as suggested. I hope this is the right procedure for HD-DVD DD+ files? Anyways, I will be doing some tests tonight... EDIT: Remapping the channels appears to be a BAD idea! There is no need to remap with WaveWizard it appears, in my testing. Last edited by Rectal Prolapse; 11th March 2007 at 03:35. |
11th March 2007, 03:23 | #984 | Link |
Registered User
Join Date: Feb 2005
Posts: 585
|
Yep, exactly. I've always just used it because it's been solid and I've had no issues. It's also real easy to configure on the fly. I mentioned it because you said you had a problem with a specific version of ffdshow right? I figured AC3Filter may be a good alternative.
__________________
Chumbo |
11th March 2007, 03:31 | #985 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
I can play back FLAC files in GraphEdit now. I had to install the oggcodecs. More details here:
http://forum.inmatrix.com/index.php?showtopic=4959 |
11th March 2007, 04:25 | #986 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
Okay, I think I got FLAC working with HD-DVDs' DD+ soundtracks. Again, many thanks zgx for the guide.
1) Use EVOdemux.exe to demux the desired DD+ audio track. 2) Use EVOdemux.exe to rebuild an EVO that ONLY contains the desired video stream. 3) Use the previously posted instructions to create an MKV file, using GraphEdit, Haali Media Splitter, and Haali Muxer. 4) Use Sonic Audio Decoder 4.2 in GraphEdit to Dump a (huge) .raw file onto your hard drive (look at previous posts on how to do this). 5) Use Sox to convert this into a .WAV file (again, look at previous posts - just make sure to use the -3 option). With DD+ this should result in a 24 bit multichannel WAV file. 6) As per zgx's instructions, convert this to flac with MediaCoder (so far as I can tell, you do NOT need WaveWizard. When I used WaveWizard to remap, it seemed that the center channel got remapped to the left rear speaker! I hope someone can confirm this for me.) 7) Use MKVMerge GUI to mux in the flac stream into a new MKV. Now, surprisingly, I did not need to figure out the audio delay. I had to do this before, when I was encoding to AC3, but not this time! I don't know why - maybe the encoder I used ignores silence? Anyways, this is a good thing - makes things simpler! If you use FFDShow Audio Decoder, make sure that FLAC is enabled in the codecs settings. Enjoy! For reference, I used the Harry Potter Goblet of Fire HD-DVD. The re-encoded 640kbps DD5.1 soundtrack was ~730MB, which is exactly the same as the DD+ soundtrack. The FLAC lossless soundtrack takes up 1300 MB of space. Pretty good! Naturally, the FLAC/DD+ soundtrack sounds far better than the AC3 one - because I used FFDShow to create the AC3 one, which isn't very good - the volume was too low! |
11th March 2007, 09:53 | #989 | Link |
Registered User
Join Date: Feb 2007
Posts: 94
|
@Rectal Prolapse:
Just as you have notcied you don't need to remap the channels for a Sonic Audio Decoder dump. That is just something needed with a LPCM "xport file". You can actually decode Blu-ray LPCM with the Sonic Audio Decoder but I don't trust that filter completely so I rather go with xport even if it takes a little longer. Sorry to hear about stuttering and audio dropouts. I did some tries with FLAC about a week ago when I muxed the MPEG2 streams from Blu-ray together with FLAC audio and I did not experience any stuttering or dropouts. Not 100% sure if I used mkvmerge or gdsmux when I created the files. About the delay setting i mkvmerge please let me know what you find out. Could you perhaps also try if it works better with Wavpack instead of FLAC? When it comes to DD+ there are some movies that feature very high bitrate soundtracks. I played around with such a movie yesterday. It featured a ~2 Mbps DD+ soundtrack. The output I got from Sonic Audio Decoder was 24 bit/48 kHz. I put AC3filter in the chain to downsample to 16 bit and then made a FLAC. Out of the result I got a nice sounding 1100 Kbps FLAC. The question is if the DD+ soundtrack was 24 bit (and I just got a downsampled FLAC) or if that was just something Sonic Audio Decoder decided to output? What's the easiest way to check the bit depth of an EAC3 file? |
11th March 2007, 09:58 | #990 | Link | |
Registered User
Join Date: Mar 2006
Posts: 135
|
Quote:
|
|
11th March 2007, 10:15 | #991 | Link |
Registered User
Join Date: Mar 2005
Posts: 433
|
Thanks guys - I just realized LPCM is different.
gdsmux? I might give that a try. I haven't confirmed yet if it is a problem with FFDShow's FLAC decoding. I put a FLAC file into a .mka container and it had the same audio glitch issues as when it was in a .mkv with a VC-1 video stream. After more testing I realized that there was no video stutter - only the audio glitches. I am using FFDShow-tryouts revision 964 (February 2007). What are you using for FLAC playback, zgx (and anyone else who got this working)? Thanks again! (For the time being I used MediaCoder to make me an AAC track using the FAAC encoder, just for fun! AAC Lossless doesn't work - I get a 4K file everytime! And WMA Lossless in MediaCoder crashes out on me.) |
11th March 2007, 10:32 | #992 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
How does flac compare to MLP, if you convert directly without changing the bit depth? Just curious whether it's a worthwhile savings. (The ease of playability might outweigh that anyway.)
|
11th March 2007, 10:39 | #993 | Link |
Registered User
Join Date: Mar 2006
Posts: 567
|
Rectal Prolapse, does your soundcard support 24 bits input in hardware ? Because if it's only accepting 16 bits, then there's a downsampling being performed by the drivers or by windows without you knowing. And soundcards can choke on high bitrate, even more when it's multichanneled. I'm afraid you might be asking more from your hardware than it can do and you're blaming software for it.
|
11th March 2007, 14:05 | #995 | Link | |
Registered User
Join Date: Mar 2006
Posts: 135
|
Quote:
eac3toac3.exe h:\casino.dd+ g:\test.ac3 The file extension of the source file must be ".eac3", ".dd+" or ".wav". When i rename dd+ track to eac3, it is recognised by that program Can you tell me what i am doing wrong? |
|
11th March 2007, 14:18 | #996 | Link | |
Registered User
Join Date: Apr 2006
Posts: 78
|
Quote:
Under DOS or Windows, you can't name file with '+' inside. It is reserved by command processor(cmd.exe). BTW, I noticed that in DD+ audio files have .ddp extension name in Scenarist SCA, .ec3 in Scenarist ACA. Last edited by orbitlee; 11th March 2007 at 14:21. |
|
11th March 2007, 14:25 | #997 | Link | |
Registered User
Join Date: Mar 2006
Posts: 135
|
Quote:
And something more, what bitrate will your final ac3 have? Is there some possibility to add there parameter for final bitrate of ac3 (i mean 448 or 640)? Last edited by MichalHabart; 11th March 2007 at 17:28. |
|
11th March 2007, 18:52 | #998 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
I'm always using 640 for 5.1 audio tracks. For 2.0 audio tracks I'm using 384, unless the E-AC3 track has a higher rate than that. In that case I'm using 640, too. I guess I can add a parameter, but is there anybody who would want to use 448, anyway? I mean we want best possible quality, don't we? |
|
11th March 2007, 18:54 | #999 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
11th March 2007, 19:17 | #1000 | Link | |
Registered User
Join Date: Feb 2007
Posts: 94
|
Quote:
Any difference in "quality" has to do with the source that was used for the encode or because of differences in software/hardware used in playback. DTS-HD Master Audio has a small plus beeing able to output a 1.5 Mbps DTS core stream over S/PDIF while all the other formats needs to re-encode to example AC3 in realtime for S/PDIF usage. But I think that on a HTPC there are many advantages in using FLAC or Wavpack. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|