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. |
26th July 2011, 23:07 | #341 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.03 Alpha-5:
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 5th August 2011 at 22:25. |
|
4th August 2011, 23:45 | #343 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.03 Alpha-7:
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 5th August 2011 at 22:25. |
|
5th August 2011, 02:36 | #344 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Thanks for the new build, everything is working fine here...
Meanwhile I found a workaround for the issue concerning the wav files created by Valdec (junk chunk causing problems when trying to open these files with older apps). I now use Valdec v. 0.2a which does not support wav files > 2GB and also does not use the WAVE_FORMAT_EXTENSIBLE format for multichannel wav files. This older version is no longer available on the AC3Filter website, but the current version of Quick AVI Creator has it. Interesting find in the changelog: Quote:
Anyways, my wish list for LameXP has become quite short. Add the ability to downmix multichannel sources to stereo, and I will be absolutely happy... Cheers Manolito |
|
5th August 2011, 22:25 | #345 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.03 Alpha-8:
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th August 2011 at 14:17. |
|
6th August 2011, 19:15 | #346 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Quote:
I already spent some time testing the downmix feature, and everything works fine from the LameXP side, but sox is doing some weird things to the output. The right channel always comes out at a significantly lower volume than the left channel. It depends on the source how big this level reduction is, but it is always there. I uploaded a 6ch AC3 where the average RMS loudness of the right channel is -13 dB compared to the left channel: http://www.sendspace.com/file/9e8gjf Other audio converters I tried (PX3's AC3 to WAV, BeLight, HeadAC3HE) do not show this behavior. This was my test procedure: Select Downmix to stereo (options like Dolby Prologic 1 or 2 and Dolby Surround compatible turned off). Normalizing, sample rate conversion all turned off. Load the resulting wav into WaveLab and perform a Global Analysis over the whole file. Compare the Loudness Level (RMS) for both channels. I don't know if sox allows the user to modify the downmix algorithm via command line switches, so I am not sure if you can do something about it... But again a big thanks... Cheers manolito Last edited by manolito; 6th August 2011 at 19:24. |
|
6th August 2011, 19:31 | #347 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Oops, I almost forgot to ask my other question concerning Valdec.
I just noticed that you modified Valdec to support Unicode and to support decoding to STDOUT. By using the older version 2.0a I lose these features. While I certainly can live without Unicode support, I am not sure what I am losing by not being able to decode to STDOUT. Does LameXP use this? I tested a conversion from AC3 to AAC using the old Valdec, and everything was fine. Cheers manolito |
6th August 2011, 19:42 | #348 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Hmm, that's probably a result of "wrong" channel mapping
There is a filter in SoX that allows mixing the channels with a custom channel mapping (and custom weights), I think. But how to figure out the "correct" mapping for the individual source? That's the big question! (BTW: The STDOUT feature I hacked into Valdec isn't used by LameXP, but the loss of Unicode support will be problematic!)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 6th August 2011 at 20:46. |
6th August 2011, 20:28 | #349 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Okay, it seems with the "-c" option of SoX the center channel will be mixed completely into the left channel
So I changed the Downmix option to use the "remix" filter of SoX (with explicit channel mapping) instead of the "-c" option. I used the "Default Channel Ordering" for multiple channel WAVE files, as given on this site: http://msdn.microsoft.com/en-us/wind...dware/gg463006 Hopefully this will give better downmix results - as long as all decoders output Wave files with default channel ordering
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th August 2011 at 03:20. |
6th August 2011, 21:47 | #350 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Sorry, the test build does not work here...
The decoding seems to work, but after this sox is not invoked at all. There is no error message, LameXP tells me that everything is fine, but I end up with an empty 2ch wav file which has a length of 44 bytes. Cheers manolito |
6th August 2011, 22:49 | #351 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 6th August 2011 at 23:34. |
|
7th August 2011, 01:50 | #352 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Here's the log file:
Quote:
Cheers manolito |
|
7th August 2011, 02:51 | #353 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Argh, it seems we need different parameters for each number of input channels
SoX doesn't ignore no-existent channels in the remix mapping, as I had assumed. Instead it will error out, if there are too few channels.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th August 2011 at 03:00. |
7th August 2011, 07:17 | #354 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Alright, the channel mapping of this latest test build works for me...
I tested it with several 5.1 AC3 files and also with a 6ch DTS file. No problems, the resulting 2ch files sounded real good, the default sox downmix algorithms seem to work well. I could not even break it by using a 2ch AC3 source file and still have the downmix option ticked. LameXP seemed to intercept it and did not invoke sox at all. For a while I thought that it might be a good idea to avoid sox for downmixing and use the decoder downmix capabilities instead. Valdec and Faad both have a command line switch for downmixing which would already cover AC3, DTS and AAC. No idea about the other decoders. Could be faster in many cases. But then again using sox certainly is more "universal". Anyways, it works for me as it is right now.. Thanks again Cheers manolito |
7th August 2011, 11:35 | #355 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
Out of interest...
Does SoX offer the ability to generate discrete multi-channel encodes from 2-channel "pro logic" encoded sources?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
7th August 2011, 12:29 | #356 | Link | |||||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Quote:
It gives an unexpected downmix result. For example, the center would be mixed into left, but not into right. Here is a good sample to test: http://www.mediafire.com/file/1c3oob...ltichannel.wma With the "remix" filter we can get the desired result, but only if we manually define a channel mapping for each number of input channels. And it will only work correctly as long as the input uses "Default Channel Ordering" for multiple channel WAVE files... Quote:
Quote:
...as it currently is done with the "resample" filter for encoders that provide "native" re-sampling support. Quote:
Doesn't make much sense to store 5.1 discrete channels with "pseudo" surround, if we can generate the same "effect" from only 2 discrete channels at playback time. Amplifiers with more than two discrete speakers generally provide "pro logic" support. And on your computer you can use ffdshow audio decoder, for example.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th August 2011 at 13:38. |
|||||
7th August 2011, 14:17 | #357 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.03 Alpha-9:
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 8th August 2011 at 21:14. |
|
7th August 2011, 15:42 | #358 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
Bummer...
I recently re-encoded my old 1997 DVD version of Blade Runner The Directors Cut to a cropped and re-sized high bit-rate AVC video stream. Unfortunately all the DVD releases of this movie were encoded with a 2-channel Dolby Digital Pro logic audio track. I was hoping I could convert this 2-channel Dolby Digital Pro logic audio track to a 5.1 channel Dolby Digital discrete track at 640Kbps.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
7th August 2011, 16:11 | #359 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
If you play your DVD's on a PC, you can use your favorite DShow-based player (e.g. MPC-HC) with ffdshow as audio decoder. Ffdshow has a Dolby Pro Logic (even version "II") decoder "built-in", so you can output discrete 5.1 channels. And, if you use a "stand alone" player, it probably is connected to a multi-channel amplifier with Pro Logic support. Isn't it?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th August 2011 at 16:14. |
|
7th August 2011, 16:37 | #360 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
Quote:
Although the Onkyo amplifier has many DSP modes including some THX surround sound modes, it's a case of more buttons to press... And I hate having to go through the ritual of pressing loads of buttons at the start of a movie
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
|
Tags |
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis |
Thread Tools | Search this Thread |
Display Modes | |
|
|