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. |
![]() |
#181 | Link |
Registered User
Join Date: Dec 2002
Location: Galati
Posts: 11
|
Is there a setting in the new version to change the temp folder. Is default in C:\. In the older one i could change it quickly. But in this I must be blind or maybe is not implemented? Thanks for your efforts in the development.
__________________
Codres A Bogdan |
![]() |
![]() |
![]() |
#182 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
There is no such option currently.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
![]() |
![]() |
![]() |
#184 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
![]() You will run into all kinds of problems with low disk space on your system drive/partition (not only with LameXP!), that's for sure. Anyway, I can add an option to manually choose the directory for TEMP files... Not sure what you mean. But I recently added an option to manually overwrite the number of parallel instances (available in the latest snapshot build). Settings this option to "1" effectively disables multi-threading, at least on the "batch processing" level. Although this usually isn't recommended...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
![]() |
![]() |
![]() |
#185 | Link |
Registered User
Join Date: Dec 2002
Location: Galati
Posts: 11
|
Well, usually my comp also encodes x264 most of the times. So I don't want to stress too much with mp3 encodings. So, yes, I want to use only 1 core. Thanks for the tips. Right now I have 1.3 Gb free on C which usually is enough but for a movie of 2h30 min gave me an error.
__________________
Codres A Bogdan Last edited by codres; 25th February 2011 at 19:23. |
![]() |
![]() |
![]() |
#187 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Yet another aoTuV Beta-6 update
![]() Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 2nd March 2011 at 21:54. |
|
![]() |
![]() |
![]() |
#188 | Link |
Registered User
Join Date: Nov 2010
Posts: 14
|
Hello LoRd_MuldeR!
After a fresh reinstall of Windows XP, I also wanted to use LameXP again for my audio encodings and saw your update to v4.0. First, I want to say that this new version became excellent...same simple workflow as before, but a brilliant new UI and nice updates. I've played around in different ways and wondered myself where all extracted tool files have gone, because I couldn't find them in default temporary folder. After a look at Avast (Realtime-Scan is very useful in more than one way ![]() You've stated that temporary files go to the %TEMP% folder, but this folder is usually found at "\Documents and Settings\USER\Local Settings\Temp", isn't it? Or is this due to newer OS like Windows 7? Regards, JohnJ EDIT: Forget above...looked at changelog of new beta build 350: Code:
Changes between v4.00 and v4.01: * Added an option to select a user-defined TEMP directory ![]() EDIT2: Spoke too soon! It only affects folder of temporary audio files, so please have a look at it. Last edited by John_J; 7th March 2011 at 03:02. |
![]() |
![]() |
![]() |
#189 | Link |
Member
Join Date: Jun 2002
Location: Buenos Aires - Argentina
Posts: 43
|
LoRd_MuldeR, I was reading post #100 (http://forum.doom9.org/showthread.php?p=1473735 and I very interested about replaygain.
Replaygain main objective is not to adjust the volume without recompressing, but normalize the loudness based on the response of the human ear, so leave all the tracks on an even level. (http://en.wikipedia.org/wiki/Loudness). While replaygain is the most widely used algorithm, the EBU (European Broadcasting Union) has developed a new algorithm based on ITU-R BS.1770 as a loudness measurement method. This was standardized as EBU R-128. (http://tech.ebu.ch/loudness). If you are interested the following libraries can help you determine how to adjust the volume with SOX: http://www.hydrogenaudio.org/forums/...howtopic=85978 and http://www.hydrogenaudio.org/forums/...howtopic=86116. I hope this info will be interesting to you. I apologize for my English. Greetings. Gabriel |
![]() |
![]() |
![]() |
#190 | Link | |||
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
![]() Quote:
*from MSDN documentation: "Note that the function does not verify that the path exists, nor does it test to see if the current process has any kind of access rights to the path." Quote:
(If you don't have the ~10 MB of free space, that LameXP will occupy on start-up, available on your system partition, you will run into all kinds of problems with other applications too)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th March 2011 at 14:09. |
|||
![]() |
![]() |
![]() |
#191 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
SoX also has a "--replay-gain" parameter, but apparently this can only be used to re-gain files that have already been tagged with ReplayGain information before. From the SoX manual: One important use of audio file comments is to convey ‘Replay Gain’ information. SoX supports applying Replay Gain information, but not generating it.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th March 2011 at 14:12. |
|
![]() |
![]() |
![]() |
#192 | Link | |||||
Registered User
Join Date: Nov 2010
Posts: 14
|
Hello LoRd_MuldeR,
thanks for your fast response! Quote:
![]() ![]() BTW: Is this the right function which specifies temporary tool path? Code:
Global.cpp /* * Get LameXP temp folder */ const QString &lamexp_temp_folder(void) { static const char *TEMP_STR = "Temp"; if(g_lamexp_temp_folder.isEmpty()) { ... } ... } Quote:
![]() Quote:
Quote:
![]() Quote:
![]() Perhaps you could implement a function to delete it in an XP environment or create it in "%USERPROFILE%\Local Settings\Application Data\LoRd_MuldeR", if you really need this folder at this location and don't want to trust temporary variable. --JohnJ |
|||||
![]() |
![]() |
![]() |
#193 | Link | ||||
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Quote:
Quote:
Moreover it can even happen that other programs/installers modify environment variables. Consequently we should avoid 'uncertainties' (like depending on environment variables) as much as possible. BTW: LameXP v3.18 used GetTempPath(), because back at that time I hadn't realized that this function is just a wrapper for getenv("TMP") ![]() Quote:
After all, given that all applications clean up properly, you should always find the TEMP folder empty, after exiting all running applications ![]() Yes, of course I could do that. But I want to avoid OS-specific code paths as much as possible. This easily creates bugs, which are hard to identify/reproduce...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
||||
![]() |
![]() |
![]() |
#194 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
In Windows, the correct way to do it is to actually use GetTempPath() ... It's designed to return the go through these one after another:
1. TMP 2. TEMP 3. User profile env. variable 4. The Windows folder You're right, though, they're not guaranteed to be valid, even the example for this API function mentions it: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx However, it's your job to test if the folder actually exists and you can write in it, and only then if it fails, go on and use your own location. The reason is because there are quite a few particularities and reasons why the TMP and TEMP variables are used - one I can mention from the top of my head is for example this one, where depending on how someone configures Remote Desktop, you get a different temporary folder *on purpose* : http://blogs.msdn.com/b/oldnewthing/.../10119675.aspx If everything fails, I guess you can always fall back to Application Data and you to be careful which one to pick, because there's two of them: http://blogs.msdn.com/b/oldnewthing/...01/434647.aspx . You can use SHGetFolderLocation with the right CLSID to determine the paths: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx and btw, the correct wording is actually directory, because "folders" are a virtual thing (but encapsulate regular directories): http://blogs.msdn.com/b/oldnewthing/.../10129908.aspx |
![]() |
![]() |
![]() |
#195 | Link | ||||
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Quote:
(Google's installers even install the complete application there ![]() Quote:
Quote:
![]()
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
||||
![]() |
![]() |
![]() |
#196 | Link | |
Registered User
Join Date: Nov 2010
Posts: 14
|
Quote:
![]() ![]() I'll write a VB script for my personal use to start LameXP and clean up directories afterwards. Anyways, keep on the excellent work and I hope to see your website back online, soon! Regards, JohnJ |
|
![]() |
![]() |
![]() |
#197 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
LameXP will now try the directory pointed to by %TMP% first and it will only fall back to "%LOCALAPPDATA%\Temp" if the former doesn't exist or isn't writable. See for details: http://lamexp.git.sourceforge.net/gi...e6330adf4b4600 Hopefully this will make everybody happy, finally ![]()
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 8th March 2011 at 01:20. |
|
![]() |
![]() |
![]() |
#200 | Link | ||
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
![]() And if you need even more details, you may look at the GIT repository's commit log: http://gitorious.org/lamexp/lamexp/commits/master
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 9th March 2011 at 16:02. |
||
![]() |
![]() |
![]() |
Tags |
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis |
Thread Tools | Search this Thread |
Display Modes | |
|
|