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 > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th January 2012, 02:58   #561  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.04 Alpha-15

Quote:
Changes between v4.03 and v4.04:
* Added support for the QAAC Encoder, requires QuickTime v7.7.1 or newer (see FAQ doc for details)
* Added Chinese and Taiwanese translations, thanks to 456Vv <123@456vv.com>
* Added experimental support for dcaenc, created by Alexander E. Patrakov <patrakov@gmail.com>
* Added CSV export/import for Meta tags (see context-menu on the "Source Files" tab)
* Updated Qt runtime libraries to v4.8.0 (2011-12-15), compiled with MSVC 10.0
* Updated LAME encoder to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0 (details)
* Updated MediaInfo to v0.7.52 (2011-12-19), compiled with ICL 12.1.6 and MSVC 10.0
* Implemented coalescing of update signals to reduce the CPU usage of the LameXP process (details)
* Run more than four instances in parallel on systems with more than four CPU cores (details)
* Improved handling of different character encodings for Playlist and Cue Sheet import
* Improved LameXP inter-process communication by adding queue support
* Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only)
* Prevent LameXP from blocking a system shutdown (encoding process is aborted, if necessary)
* Improved internal handling of MediaInfo output, including extraction of cover art
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 14th January 2012 at 21:26.
LoRd_MuldeR is offline   Reply With Quote
Old 14th January 2012, 20:32   #562  |  Link
lethedoom
Registered User
 
lethedoom's Avatar
 
Join Date: Dec 2010
Location: california
Posts: 23
Lame XP Alpha 15 installation changed a setting

Hi Mulder,

As always I thank you for providing LameXP.

fyi when I installed Alpha-14 dated 1/4 there was already an update dated 1/5 to download and install which never seemed to be added to your sourceforge.net list. Today when I downloaded and installed Alpha 15 I found the Rename Output Files 'Rename Pattern' on the Advanced Options tab reset to [<TrackNo>] <Artist> - <Title> rather than carrying over the setting <Title> I had established on the updated iteration. This did not happen on the previous update.

lethedoom
lethedoom is offline   Reply With Quote
Old 14th January 2012, 20:52   #563  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
I don't upload all builds to the Sourceforge mirror. The auto-update server therefore is updated more frequently.

Also, when you install a newer build, your old settings are lost. Actually they are not lost, but each version stores its settings separately.

The vast majority of all users will only update when a new "final" version is out, so I never bothered changing this behavior...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th January 2012, 21:26   #564  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.04 Alpha-16:

Quote:
Changes between v4.03 and v4.04:
* Added support for the QAAC Encoder, requires QuickTime v7.7.1 or newer (see FAQ doc for details)
* Added Chinese and Taiwanese translations, thanks to 456Vv <123@456vv.com>
* Added experimental support for dcaenc, created by Alexander E. Patrakov <patrakov@gmail.com>
* Added CSV export/import for Meta tags (see context-menu on the "Source Files" tab)
* Updated Qt runtime libraries to v4.8.0 (2011-12-15), compiled with MSVC 10.0
* Updated LAME encoder to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0 (details)
* Updated MediaInfo to v0.7.52 (2011-12-19), compiled with ICL 12.1.6 and MSVC 10.0
* Implemented coalescing of update signals to reduce the CPU usage of the LameXP process (details)
* Run more than four instances in parallel on systems with more than four CPU cores (details)
* Improved handling of different character encodings for Playlist and Cue Sheet import
* Improved LameXP inter-process communication by adding queue support
* Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only)
* Prevent LameXP from blocking a system shutdown (encoding process is aborted, if necessary)
* Improved internal handling of MediaInfo output, including extraction of cover art
This versions contains an updated MediaInfo binary that fixes a bug with the "--inform" parameter (see here for details).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 26th January 2012 at 15:58.
LoRd_MuldeR is offline   Reply With Quote
Old 16th January 2012, 18:26   #565  |  Link
Hobbe
Registered User
 
Join Date: Oct 2007
Posts: 42
Quote:
Originally Posted by LoRd_MuldeR View Post
Not really in the scope of LameXP. Nonetheless a "video import" wizard could be implemented, similar to the "Cue sheet import" wizard.

At least for some container formats, such as MP4 (via mp4box) and MKV (via mkvextract).
I'm also requesting this feature!
Not many good and updated program that lets you just change audio codec. I often encode aac or ac3 from DTS and leave the video intact...
Hobbe is offline   Reply With Quote
Old 26th January 2012, 15:58   #566  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.04 Alpha-17:

Quote:
Changes between v4.03 and v4.04:
* Added support for the QAAC Encoder, requires QuickTime v7.7.1 or newer (see FAQ doc for details)
* Added Chinese and Taiwanese translations, thanks to 456Vv <123@456vv.com>
* Added experimental support for dcaenc, created by Alexander E. Patrakov <patrakov@gmail.com>
* Added CSV export/import for Meta tags (see context-menu on the "Source Files" tab)
* Updated Qt runtime libraries to v4.8.0 (2011-12-15), compiled with MSVC 10.0
* Updated LAME encoder to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0 (details)
* Updated MediaInfo to v0.7.53 (2012-01-24), compiled with ICL 12.1.6 and MSVC 10.0
* Updated Monkey's Audio to v4.10 (2011-04-16)
* Implemented coalescing of update signals to reduce the CPU usage of the LameXP process (details)
* Run more than four instances in parallel on systems with more than four CPU cores (details)
* Improved handling of different character encodings for Playlist and Cue Sheet import
* Improved LameXP inter-process communication by adding queue support
* Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only)
* Prevent LameXP from blocking a system shutdown (encoding process is aborted, if necessary)
* Improved internal handling of MediaInfo output, including extraction of cover art
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 24th February 2012 at 01:42.
LoRd_MuldeR is offline   Reply With Quote
Old 9th February 2012, 17:35   #567  |  Link
Xanderic
Registered User
 
Join Date: May 2011
Posts: 3
Just a quick question... I noticed the default encoding channel is set to Joint Stereo.. but I remember reading years ago that JS wasn't that good.. something about it not being implemented properly?... has that changed? Should I stick with Stereo or start encoding with Joint Stereo? and what's the difference with Forced Joint Stereo?

Thanks

Last edited by Xanderic; 9th February 2012 at 17:48.
Xanderic is offline   Reply With Quote
Old 9th February 2012, 17:55   #568  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
You are wrong:

The default is "Auto" mode, i.e. let the LAME encoder decide the "optimal" channel mode, based on the input audio and the target bitrate.

Joint Stereo can improve the compression efficiency quite a bit. That's why LAME uses it for "medium" and "low" bitrates. And you should trust LAME here

At "high" bitrates though, the extra compression efficiency probably isn't worth the slightly worse Stereo separation caused by Joint Stereo.

Also, even if LAME decides to use Joint Streo, it will still switch between Joint Stereo and plain Stereo on a per-frame basis, depending on the input audio.

You can enforce the use of Joint Stereo in all frames by selecting the "Forced Joint Stereo" mode, but this is not recommended!

(About "not being implemented properly": As you don't say anything about who or what you think does not implement Joint Stereo properly, I have no idea)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 9th February 2012 at 18:01.
LoRd_MuldeR is offline   Reply With Quote
Old 9th February 2012, 17:59   #569  |  Link
Xanderic
Registered User
 
Join Date: May 2011
Posts: 3
Thank you very much for the quick response. I encode at 320 CBR so I guess it's relatively insignificant. I'll do a few more tests and see if I can hear any difference but I doubt it .

Thanks again.
Xanderic is offline   Reply With Quote
Old 9th February 2012, 18:25   #570  |  Link
Xanderic
Registered User
 
Join Date: May 2011
Posts: 3
But this is where I get confused.. using "Auto" mode on "LameXP.2011-11-12.Release-Static.Build-774", when I put it into iTunes... it says "Channels: Joint Stereo" and "Encoded with: Unknown"

I just did 2 conversions... 1 english flac conversion and 1 chinese ape conversion ... any recommendations on what program I should use to analyze the information of the converted files?

I couldn't upload the screenshots so I uploaded to dropbox:
English: http://dl.dropbox.com/u/1363175/keane%20conversion.jpg
Chinese: http://dl.dropbox.com/u/1363175/leoku%20conversion.jpg
Xanderic is offline   Reply With Quote
Old 9th February 2012, 18:49   #571  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Xanderic View Post
But this is where I get confused.. using "Auto" mode on "LameXP.2011-11-12.Release-Static.Build-774", when I put it into iTunes... it says "Channels: Joint Stereo" and "Encoded with: Unknown"
What does it mean if iTunes says "Channels: Joint Stereo" ???

The very first MP3 frame in the file is Joint Stereo? There is at least one MP3 frame encoded as Joint Stereo in the file? All MP3 frames in the file are Joint Stereo?

Also: It's not very spurring that at least some frames were encoded as Joint Stereo in "Auto" mode.

Quote:
Originally Posted by Xanderic View Post
I just did 2 conversions... 1 english flac conversion and 1 chinese ape conversion ... any recommendations on what program I should use to analyze the information of the converted files?
For some general info use MediaInfo! For details about MP3 files, use MPEG Audio Info:
http://sourceforge.net/projects/lame...0Audio%20Info/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 21st February 2012, 22:28   #572  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
RE Normalizing multichannel sources with SoX

Good news! The latest SoX release candidate version 14.4.0rc3 did fix the old bug that the parameter "gain -n" screwed up normalization for multichannel files. Here is the log:

Code:
LameXP v4.03 (Build #774), compiled on 2011-11-12 at 16:13:26

-------------------------------

Copy file "I:/Title1.wav" to "I://d4349fe33fa94bc5b533da544cdce4bc.wav"

Exited with code: 0x0000

-------------------------------

E:/Programme/LameXP/tools/774/sox.exe -V3 -S --temp . I:\\d4349fe33fa94bc5b533da544cdce4bc.wav I:\\edcda78cbcba4818a3a3427361023840.wav gain -n -0.50

E:\Programme\LameXP\tools\774\sox.exe: SoX v14.4.0
E:\Programme\LameXP\tools\774\sox.exe INFO formats: detected file format type `wav'
E:\Programme\LameXP\tools\774\sox.exe INFO wav: EXTENSIBLE
Input File : 'I:\\d4349fe33fa94bc5b533da544cdce4bc.wav'
Channels : 6
Sample Rate : 48000
Precision : 16-bit
Duration : 00:03:27.62 = 9965568 samples ~ 15571.2 CDDA sectors
File Size : 120M
Bit Rate : 4.61M
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
E:\Programme\LameXP\tools\774\sox.exe INFO sox: Overwriting `I:\\edcda78cbcba4818a3a3427361023840.wav'
Output File : 'I:\\edcda78cbcba4818a3a3427361023840.wav'
Channels : 6
Sample Rate : 48000
Precision : 16-bit
Duration : 00:03:27.62 = 9965568 samples ~ 15571.2 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comment : 'Processed by SoX'
E:\Programme\LameXP\tools\774\sox.exe INFO sox: effects chain: input 48000Hz 6 channels
E:\Programme\LameXP\tools\774\sox.exe INFO sox: effects chain: gain 48000Hz 6 channels
E:\Programme\LameXP\tools\774\sox.exe INFO sox: effects chain: dither 48000Hz 6 channels
E:\Programme\LameXP\tools\774\sox.exe INFO sox: effects chain: output 48000Hz 6 channels
Done.

Exited with code: 0x0000

-------------------------------

Copy file "I://edcda78cbcba4818a3a3427361023840.wav" to "I://Title1 (2).wav"

Exited with code: 0x0000
Which means that the temporary fix (using -ne or -nb) is no longer necessary. Very nice...


Cheers
manolito
manolito is offline   Reply With Quote
Old 21st February 2012, 22:34   #573  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Thank you for the info. I will give the new version a try ASAP

Tough, unless they finally support Unicode on Win32 now, I will have to port my UTF-8 modifications to the new version first, before it can be used in LameXP.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 21st February 2012, 23:59   #574  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.04 Beta-1:

Quote:
Changes between v4.03 and v4.04:
* Added support for the QAAC Encoder, requires QuickTime v7.7.1 or newer (see FAQ doc for details)
* Added Chinese and Taiwanese translations, thanks to 456Vv <123@456vv.com>
* Added experimental support for dcaenc, created by Alexander E. Patrakov <patrakov@gmail.com>
* Added CSV export/import for Meta tags (see context-menu on the "Source Files" tab)
* Updated Qt runtime libraries to v4.8.0 (2011-12-15), compiled with MSVC 10.0
* Updated LAME encoder to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0 (details)
* Updated MediaInfo to v0.7.53 (2012-01-24), compiled with ICL 12.1.6 and MSVC 10.0
* Updated Monkey's Audio binary to v4.11 (2011-04-20)
* Updated Musepack decoder to revision 475 (2011-08-10), compiled with ICL 12.1.6 and MSVC 10.0
* Implemented coalescing of update signals to reduce the CPU usage of the LameXP process (details)
* Run more than four instances in parallel on systems with more than four CPU cores (details)
* Improved handling of different character encodings for Playlist and Cue Sheet import
* Improved LameXP inter-process communication by adding queue support
* Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only)
* Prevent LameXP from blocking a system shutdown (encoding process is aborted, if necessary)
* Improved internal handling of MediaInfo output, including extraction of cover art
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 24th February 2012 at 01:42.
LoRd_MuldeR is offline   Reply With Quote
Old 22nd February 2012, 19:21   #575  |  Link
Vospi
Registered User
 
Join Date: Sep 2011
Posts: 7
I've encountered a very bothersome trouble:

At some point LameXP began to show "Not found!" status for some files during encoding. This bug is totally random; for example, once the encode is finished, I can just drop the skipped files again and they will encode with no problems. Also, you can drop the same files and LameXP will skip something new this time.

I use v4.03 Final-2 (Build 774). Windows XP SP3 x86.

I really love the software and will be grateful for help.

Last edited by Vospi; 22nd February 2012 at 19:39.
Vospi is offline   Reply With Quote
Old 22nd February 2012, 21:39   #576  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Vospi View Post
I've encountered a very bothersome trouble:

At some point LameXP began to show "Not found!" status for some files during encoding. This bug is totally random; for example, once the encode is finished, I can just drop the skipped files again and they will encode with no problems. Also, you can drop the same files and LameXP will skip something new this time.

I use v4.03 Final-2 (Build 774). Windows XP SP3 x86.

I really love the software and will be grateful for help.
You are the first one to report this problem. So what details does the log give for the "Not found!" items?

Do you have any Antivirus program with "real-time scanner" or "behavior scanner" or "guard" feature installed? If so, try to temporarily uninstall/disable it and see if that makes any difference.

Also: Is the problematic file located on some network drive or USB device? And does the problem still occur with LameXP v4.04 Beta-1 ???
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 22nd February 2012 at 22:02.
LoRd_MuldeR is offline   Reply With Quote
Old 24th February 2012, 01:43   #577  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.04 Beta-2:

Quote:
Changes between v4.03 and v4.04:
* Added support for the QAAC Encoder, requires QuickTime v7.7.1 or newer (see FAQ doc for details)
* Added Chinese and Taiwanese translations, thanks to 456Vv <123@456vv.com>
* Added experimental support for dcaenc, created by Alexander E. Patrakov <patrakov@gmail.com>
* Added CSV export/import for Meta tags (see context-menu on the "Source Files" tab)
* Updated Qt runtime libraries to v4.8.0 (2011-12-15), compiled with MSVC 10.0
* Updated LAME encoder to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0 (details)
* Updated MediaInfo to v0.7.53 (2012-01-24), compiled with ICL 12.1.6 and MSVC 10.0
* Updated Monkey's Audio binary to v4.11 (2011-04-20)
* Updated Musepack decoder to revision 475 (2011-08-10), compiled with ICL 12.1.6 and MSVC 10.0
* Implemented coalescing of update signals to reduce the CPU usage of the LameXP process (details)
* Run more than four instances in parallel on systems with more than four CPU cores (details)
* Improved handling of different character encodings for Playlist and Cue Sheet import
* Improved LameXP inter-process communication by adding queue support
* Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only)
* Prevent LameXP from blocking a system shutdown (encoding process is aborted, if necessary)
* Improved internal handling of MediaInfo output, including extraction of cover art
* Fixed a very rare "live-lock" situation in early initialization code
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 26th February 2012 at 23:59.
LoRd_MuldeR is offline   Reply With Quote
Old 24th February 2012, 01:47   #578  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Today I made new builds of SoX from version v14.4.0rc3 with Unicode support:
http://www.mediafire.com/file/kdrdad...2012-02-24.zip

Please give it a test and report fixes (or regressions) compared to the old version.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 24th February 2012, 20:09   #579  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Just did a few short test runs with the Unicode version of SoX. I converted a 6-ch wave file (FORMAT_EXTENSIBLE) to a normalized 6-ch wave file using the gain -n option. No problem, the resulting file looked alright to me.

I also converted the same source file to a normalized 2-ch wave file to make sure that the downmix option was not broken. No problem here, too.

I have no idea how to test if the Unicode support works. I gave my source file a funny name with all kinds of special characters plus some french accented characters, but the original (non-Unicode) version handled this file just fine.


One thing might need further investigating, though. I did the conversion from 6-ch to 6-ch normalized twice, once using the original version and once using your modified Unicode enabled version. The two resulting files should be identical, right? But they are not, even though I could not make out any audible difference.


Cheers
manolito
manolito is offline   Reply With Quote
Old 24th February 2012, 20:31   #580  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
I have no idea how to test if the Unicode support works.
If you want to test Unicode support, use a file name that cannot be represented in your computer's local ANSI codepage.

Or even better: Use a file name that contains characters from different ANSI codepages and thus can not be represented in the local ANSI codepage on any computer!

For examplem combine a few Cyrillic, a few Greek, a few Arabic, a few Nepalese and a few Chinese characters in the same file name

Quote:
One thing might need further investigating, though. I did the conversion from 6-ch to 6-ch normalized twice, once using the original version and once using your modified Unicode enabled version. The two resulting files should be identical, right? But they are not, even though I could not make out any audible difference.
In theory, they should be identical. But in reality, there can be minor differences due to different compilers or different compiler settings.

You can make a DIFF of the two files, e.g. in Cool Edit or a similar audio editor, by copying the one file to the clipboard and then using "mix paste" with "inverted" option to paste it into the other one.

That DIFF audio file should be pretty much silent. Otherwise we have a problem
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 25th February 2012 at 00:03.
LoRd_MuldeR is offline   Reply With Quote
Reply

Tags
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis

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 21:01.


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