From 2da39922cad34922368e9b1558f83c2edc25b274 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Thu, 25 Aug 2011 03:44:46 +0200 Subject: [PATCH] Added warnings when LAME algorithm quality is set to "extreme" values. --- etc/Translation/Blank.ts | 683 +++++++++++++++++++++--------------------- etc/Translation/LameXP_DE.ts | 8 + etc/Translation/LameXP_ES.ts | 8 + etc/Translation/LameXP_FR.ts | 8 + etc/Translation/LameXP_IT.ts | 8 + etc/Translation/LameXP_KR.ts | 8 + etc/Translation/LameXP_RU.ts | 8 + etc/Translation/LameXP_UK.ts | 8 + gui/MainWindow.ui | 78 ++++- res/localization/LameXP_DE.qm | Bin 70896 -> 71588 bytes src/Config.h | 2 +- src/Dialog_MainWindow.cpp | 7 + src/Global.cpp | 2 +- src/Main.cpp | 14 +- 14 files changed, 497 insertions(+), 345 deletions(-) diff --git a/etc/Translation/Blank.ts b/etc/Translation/Blank.ts index 467670b2..38583357 100644 --- a/etc/Translation/Blank.ts +++ b/etc/Translation/Blank.ts @@ -378,8 +378,8 @@ - - + + Cue Sheet Error @@ -414,88 +414,89 @@ - + + Choose Output Directory - - + + LameXP - + Error: The selected output directory could not be created! - + Error: The selected output directory is not writable! - + Low Diskspace Warning - + There are less than %1 GB of free diskspace available in the selected output directory. - + It is highly recommend to free up more diskspace before proceeding with the import! - + Analyzing file(s), please wait... - + Analysis Failed - + Warning: The format of some of the input files could not be determined! - + Continue Anyway - + Abort - + Splitting file(s), please wait... - + Process was aborted by the user after %1 track(s)! - + An unexpected error has occured while splitting the Cue Sheet! - + Imported %1 track(s) from the Cue Sheet and skipped %2 track(s). - + Cue Sheet Completed @@ -683,7 +684,7 @@ - + Source Files @@ -704,13 +705,13 @@ - + Show Details - + Output Directory @@ -746,7 +747,7 @@ - + Meta Data @@ -787,7 +788,7 @@ - + Compression @@ -863,7 +864,7 @@ - + Advanced Options @@ -903,1223 +904,1235 @@ - + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + + + Channel Mode / Sampling Rate - - + + Auto Select (Default) - + Joint Stereo - + Forced Joint Stereo - + Simple - + Dual Mono - + Mono - + MP3 Channel Mode: - + Sampling Rate (Hz): - + 16.000 - + 22.050 - + 24.000 - + 32.000 - + 44.100 - + 48.000 - + Enforce Stereo Downmix of Surround (Multi-Channel) Sources - + AAC Encoder-Options - + Enable 2-Pass Processing (ABR Mode) - + Select AAC Profile: - + Auto Select (Recommended) - + Enforce LC-AAC - + Enforce HE-AAC (AAC + SBR) - + Enforce HE-AAC v2 (AAC + SBR + PS) - + Volume Normalization - + Enable Normalization Filter - + Peak Volume (dB): - + Tone Adjustment - + Adjust Treble (dB): - + Adjust Bass (dB): - + Custom Encoder Parameters - - - - - + + + + + You can eneter custom parameters here! - + Lame MP3: - + OggEnc2: - + MPEG-4 AAC: - + FLAC: - + Warning: Custom parameters won't be checked at all. Use them at your own risk !!! - + Aften A/52: - + Multi-Threading - + Choose the number of parallel instances based on the number of CPU cores (Recommended) - + Fewer Instances - + More Instances - + Temp Directory - + Browse... - + Store temporary files in your system's default TEMP directory (Recommended) - + Aften A/52 Options - + Film Light - + Film Standard - + Music Light - + Music Standard - + Speech - + None (Default) - + Auto Select - + 1+1 (Ch1,Ch2) - + 1/0 (C) - + 2/0 (L,R) - + 3/0 (L,R,C) - + 2/1 (L,R,S) - + 3/1 (L,R,C,S) - + 2/2 (L,R,SL,SR) - + 3/2 (L,R,C,SL,SR) - + Audio Coding Mode: - + Dynamic Range Compression: - + Fast Bit Allocation (Less Accurate) - + Exponent Search Size: - + Rename Output Files - + Entere the pattern to rename the output files here! - + Rename Output Files - + <a href="reset">Reset</a> &nbsp; <a href="#">Show List of Macros</a> - + Rename Pattern: - + Example File Name: - + Reset Advanced Options - + Encode Now! - - + + About... - + Exit Program - + File - + ? - + View - + Style - + Language - + Tools - + Configuration - + Quit - + Open File(s)... - - + + Visit Official Web-Site - - - - + + + + Check for Updates - + Open Folder... - + Clear All - + Plastique - + Cleanlooks - + Windows Vista ("Aero") - + Windows Classic - + Windows XP ("Luna") - - + + Disable Update Reminder - - + + Disable Sound Effects - + Install WMA Decoder - + Disable Nero AAC Notifications - + Show DropBox - + From File... - + Encode! - + Disable Shell Integration - + Frequently Asked Questions - + Changelog - + Translator's Guide - + Help && Support - + Open Folder Recursively... - + Check for Beta Updates - + Import Cue Sheet - + Disable Slow Startup Notifications - + Adding file(s), please wait... - - + + Access Denied - + %1 file(s) have been rejected, because read access was not granted! - + This usually means the file is locked by another process. - + CDDA Files - + %1 file(s) have been rejected, because they are dummy CDDA files! - + Sorry, LameXP cannot extract audio tracks from an Audio&minus;CD at present. - + We recommend using %1 for that purpose. - + Cue Sheet - + %1 file(s) have been rejected, because they appear to be Cue Sheet images! - + Please use LameXP's Cue Sheet wizard for importing Cue Sheet files. - + Files Rejected - + %1 file(s) have been rejected, because the file format could not be recognized! - + This usually means the file is damaged or the file format is not supported. - + Scanning folder(s) for files, please wait... - + DEMO VERSION - + You can drop in audio files here! - + Open File in External Application - + Browse File Location - + Browse Selected Folder - + Bookmark Current Output Folder - + License Declined - + You have declined the license. Consequently the application will exit now! - + Goodbye! - + LameXP - Expired - + This demo (pre-release) version of LameXP has expired at %1. - + LameXP is free software and release versions won't expire. - - + + Exit Program - + It seems that a bogus anti-virus software is slowing down the startup of LameXP. - + Please refer to the %1 document for details and solutions! - + Slow Startup - - - - + + + + Discard - - + + Don't Show Again - + Urgent Update - + Your version of LameXP is more than a year old. Time for an update! - - - + + + Update Reminder - + Your last update check was more than 14 days ago. Check for updates now? - + Your did not check for LameXP updates yet. Check for updates now? - + Postpone - + LameXP detected that your version of the Nero AAC encoder is outdated! - + The current version available is %1 (or later), but you still have version %2 installed. - + n/a - + You can download the latest version of the Nero AAC encoder from the Nero website at: - + AAC Encoder Outdated - + The Nero AAC encoder could not be found. AAC encoding support will be disabled. - + Please put 'neroAacEnc.exe', 'neroAacDec.exe' and 'neroAacTag.exe' into the LameXP directory! - + Your LameXP directory is located here: - + You can download the Nero AAC encoder for free from the official Nero website at: - + AAC Support Disabled - - - + + + LameXP - + You must add at least one file to the list before proceeding! - + Not Found - + Your currently selected TEMP folder does not exist anymore: - + Restore Default - + Cancel - + Low Diskspace Warning - + There are less than %1 GB of free diskspace available on your system's TEMP folder. - + It is highly recommend to free up more diskspace before proceeding with the encode! - + Your TEMP folder is located at: - + Abort Encoding Process - + Clean Disk Now - + Ignore - + Low Diskspace - + You are proceeding with low diskspace. Problems might occur! - + Sorry, an unsupported encoder has been chosen! - + Cannot write to the selected output directory. - + Please choose a different directory! - + Load Translation - + Translation Files - + Do you really want to disable the update reminder? - - - - - - + + + + + + Yes - - - - - - + + + + + + No - + The update reminder has been disabled. - + Please remember to check for updates at regular intervals! - + The update reminder has been re-enabled. - + Do you really want to disable all sound effects? - - + + Sound Effects - + All sound effects have been disabled. - + The sound effects have been re-enabled. - - - + + + Nero AAC Notifications - + Do you really want to disable all Nero AAC Encoder notifications? - + All Nero AAC Encoder notifications have been disabled. - + The Nero AAC Encoder notifications have been re-enabled. - - - + + + Slow Startup Notifications - + Do you really want to disable the slow startup notifications? - + The slow startup notifications have been disabled. - + The slow startup notifications have been re-enabled. - + + Open Cue Sheet - + + Cue Sheet File - - - + + + Beta Updates - + Do you really want LameXP to check for Beta (pre-release) updates? - + LameXP will check for Beta (pre-release) updates from now on. - + Check Now - + LameXP will <i>not</i> check for Beta (pre-release) updates from now on. - - - + + + Shell Integration - + Do you really want to disable the LameXP shell integration? - + The LameXP shell integration has been disabled. - + The LameXP shell integration has been re-enabled. - - + + Add file(s) - - + + Add Folder - - + + New Folder - + Enter the name of the new folder: - + Failed to create folder - + The new folder could not be created: - + Drive is read-only or insufficient access rights! - - - - + + + + Quality Level %1 - - - + + + Compression %1 - - - + + + Uncompressed - + Best Quality (Very Slow) - + High Quality (Recommended) - + Average Quality (Default) - + Low Quality (Fast) - + Poor Quality (Very Fast) - + File name without extension - + Track number with leading zero - + Track title - + Artist name - + Album name - + Year with (at least) four digits - + Comment - + Characters forbidden in file names: - + Rename Macros - + %1 Instance(s) - + Cannot write to the selected directory. Please choose another directory! - + Already Running - + LameXP is already running, please use the running instance! @@ -2541,114 +2554,114 @@ - + Show details for selected job - + Browse Output File Location - + Encoding Files - + Your files are being encoded, please be patient... - + Encoding files, please wait... - + Multi-threading enabled: Running %1 instances in parallel! - + Aborted! Waiting for running jobs to terminate... - + Encoding: %1 files of %2 completed so far, please wait... - + Creating the playlist file, please wait... - + Process was aborted by the user after %1 file(s)! - + Process was aborted prematurely by the user! - + LameXP - Aborted - + Process was aborted by the user. - + Error: %1 of %2 files failed. Double-click failed items for detailed information! - + LameXP - Error - + At least one file has failed! - - + + All files completed successfully. - + LameXP - Done - + Playlist creation failed - + The playlist file could not be created: - + Warning: Computer will shutdown in %1 seconds... - - + + Cancel Shutdown diff --git a/etc/Translation/LameXP_DE.ts b/etc/Translation/LameXP_DE.ts index d1fd5dc7..05704dc4 100644 --- a/etc/Translation/LameXP_DE.ts +++ b/etc/Translation/LameXP_DE.ts @@ -1642,6 +1642,14 @@ MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + Achtung: Die Klangqualität wird sehr schlecht sein. Bitte <b>nicht</b> über die Klangqualität beschweren! + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + Achtung: Die Geschwindigkeit wird sehr gering sein. Bitte <b>nicht</b> über die Geschwindigkeit beschweren! + MetaInfo diff --git a/etc/Translation/LameXP_ES.ts b/etc/Translation/LameXP_ES.ts index 316d90a2..1a11810a 100644 --- a/etc/Translation/LameXP_ES.ts +++ b/etc/Translation/LameXP_ES.ts @@ -1641,6 +1641,14 @@ MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/etc/Translation/LameXP_FR.ts b/etc/Translation/LameXP_FR.ts index 7cb634cb..eaa99201 100644 --- a/etc/Translation/LameXP_FR.ts +++ b/etc/Translation/LameXP_FR.ts @@ -1651,6 +1651,14 @@ Ouvrir le dossier récursivement... MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/etc/Translation/LameXP_IT.ts b/etc/Translation/LameXP_IT.ts index b09950c4..6aa127b6 100644 --- a/etc/Translation/LameXP_IT.ts +++ b/etc/Translation/LameXP_IT.ts @@ -1642,6 +1642,14 @@ MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/etc/Translation/LameXP_KR.ts b/etc/Translation/LameXP_KR.ts index 5989c18c..57a6c09a 100644 --- a/etc/Translation/LameXP_KR.ts +++ b/etc/Translation/LameXP_KR.ts @@ -1641,6 +1641,14 @@ MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/etc/Translation/LameXP_RU.ts b/etc/Translation/LameXP_RU.ts index ef0dcff9..4989cee5 100644 --- a/etc/Translation/LameXP_RU.ts +++ b/etc/Translation/LameXP_RU.ts @@ -1647,6 +1647,14 @@ MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/etc/Translation/LameXP_UK.ts b/etc/Translation/LameXP_UK.ts index fb81edfa..c0061dd3 100644 --- a/etc/Translation/LameXP_UK.ts +++ b/etc/Translation/LameXP_UK.ts @@ -1642,6 +1642,14 @@ MPEG-4 AAC: MPEG-4 AAC: + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + MetaInfo diff --git a/gui/MainWindow.ui b/gui/MainWindow.ui index 1832fb25..760fee02 100644 --- a/gui/MainWindow.ui +++ b/gui/MainWindow.ui @@ -1100,7 +1100,7 @@ 0 0 604 - 1426 + 1486 @@ -1368,6 +1368,82 @@ + + + + + + + + + :/icons/exclamation.png + + + + + + + + 0 + 0 + + + + Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality! + + + + + + + + + + + + + + :/icons/error.png + + + + + + + + 0 + 0 + + + + Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed! + + + + + + + + + + 0 + 6 + + + + + 16777215 + 6 + + + + QFrame::HLine + + + QFrame::Sunken + + + diff --git a/res/localization/LameXP_DE.qm b/res/localization/LameXP_DE.qm index d61d9b5e004d0232b0a4e6c2c63b6f5e17156680..bbc4004a78dab3abb4d7089b8a85b9ada3bdb25d 100644 GIT binary patch delta 2973 zcma)72~<;O7XI?`UXqvO5wW-+5+g0hV2xUp9;w8lbpc$^3Z;NxfC#A}EMZYvh;(YW!tl|Rhh=`)Ks8wr$D%KT?YqdgqF`hX+b2^;D<=yK5Mgmil0qzap^k$Niflt;0Q>FrKJ%CUx;6DtAISlNM1yZK~9&HX; z&4Dd@8<^b#>|U16S{<@_{<0)r`vo^BL%#-A>)%x0)<+^zMRHV#L!K{3O(NgHyRRVATr&pz@pK}awVv4 za9D81AQnsfBF?x=I5~a#;-aK$ff0D1m$+2*1Hx}ey7_eleDWkc<~9S5DdVO zmB2^zl!F&%*`MwfAJ;e_F$rr z^$n@wDpBKBid3WD2i%(`b<63Xq|2nQyiD@Sa_i!Lr z&W`c(1D>2@C-_tGGPgj5m(fJax5u+3atgEAn=L)O z5GWVf%I153UB({L5z9{O5py`bU;RC{d7~2`b7gV7sec$DEiB^y=qmQY3`4J&7HG6BAyIB$fe$+jy-fu z%#iuo8~nMVKm%QJ<378~068Aq+Hs!1nvLAXy#>HJEw`zD9VOY$eX*DtxNQ`7aM&4Y zy?pL)QUx$4jXPOEG~0ED`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ezyAd5{pDm>5r z6F4ghUA~Kfr}GqYmJ3+16YVx6({3q2jJq+I11FAMBL_ zW|3$LpC||JCK2UXF%OlVtMA7mRTjGFjl{s4DVKTAAv2#~X)0IKnqp-}DakK#lyYCM zv83r}_DZFy~O3tM87;tjJJycdUuKO zvA3zBN#g2njDVITaosylAl5_Nm`%^k@5LQ4df<-^@lfm*AaR74*+wiiL&XC3Fe)r3 zHY`jA*7gx^FZ2Pz+r*X}9z773FFxx-2`TUrJE!W&XBwu}OftPCSI-+s^$ES!jhF7Q zP>sPQw@tk}s2GTdQ1AV7Dexjnof*8J^bw>!p5FyDolzILQGpuE)y4H0lmut>MFr9O zbe&z+7`VETtW)EuZuZp#wbEBFJJ}4$VE@-0O`1N5nrFUdZ&MTv4iC+Ntfw>(LNq0& znZTGRP1*K(5>+hAmi%n)J4ogULx8(=lKJ5YS~&@v*G5^<_oF9iqm$LZRXeuP$aP%B zY;CTC0T{AKTQHuMH~n8*XubkCHAY)>k&aWo(_YZiwQC%;*Y-XD+&Z<-qQ=u?V%k@Q zwbW|rm{w=UmA_$*I#2FY3|p&nUN#Y*<{FMCTyayolTReE+iwGX5e65Sfo8!{j6?5sxdIpPZ#cgk+iXuZ8Q$* z{Ylg{6?g(Vcirzx*8@vz!y%J@r0xbw_PMX+$uCVBa!*dE7$9TA8nh>`T)g4+H;(S= AIsgCw diff --git a/src/Config.h b/src/Config.h index bb7c6e01..6a8ce658 100644 --- a/src/Config.h +++ b/src/Config.h @@ -30,7 +30,7 @@ #define VER_LAMEXP_MINOR_LO 3 #define VER_LAMEXP_TYPE Alpha #define VER_LAMEXP_PATCH 15 -#define VER_LAMEXP_BUILD 664 +#define VER_LAMEXP_BUILD 666 /////////////////////////////////////////////////////////////////////////////// // Tools versions diff --git a/src/Dialog_MainWindow.cpp b/src/Dialog_MainWindow.cpp index 3cbf5394..eba4d1d6 100644 --- a/src/Dialog_MainWindow.cpp +++ b/src/Dialog_MainWindow.cpp @@ -2590,6 +2590,13 @@ void MainWindow::updateLameAlgoQuality(int value) m_settings->lameAlgoQuality(value); labelLameAlgoQuality->setText(text); } + + bool warning = (value == 0), notice = (value == 4); + labelLameAlgoQualityWarning->setVisible(warning); + labelLameAlgoQualityWarningIcon->setVisible(warning); + labelLameAlgoQualityNotice->setVisible(notice); + labelLameAlgoQualityNoticeIcon->setVisible(notice); + labelLameAlgoQualitySpacer->setVisible(warning || notice); } /* diff --git a/src/Global.cpp b/src/Global.cpp index ed9be4a1..ec40aa91 100644 --- a/src/Global.cpp +++ b/src/Global.cpp @@ -327,7 +327,7 @@ LONG WINAPI lamexp_exception_handler(__in struct _EXCEPTION_POINTERS *ExceptionI if(mainThread) TerminateThread(mainThread, ULONG_MAX); } - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); + FatalAppExit(0, L"Unhandeled exception handler invoked, application will exit!"); TerminateProcess(GetCurrentProcess(), -1); return LONG_MAX; } diff --git a/src/Main.cpp b/src/Main.cpp index c24e6dea..3bfacdaf 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -205,16 +205,16 @@ static int _main(int argc, char* argv[]) { fflush(stdout); fflush(stderr); - fprintf(stderr, "\nGURU MEDITATION: %s\n", error); - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); + fprintf(stderr, "\nGURU MEDITATION !!!\n\nException error message: %s\n", error); + FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!"); TerminateProcess(GetCurrentProcess(), -1); } catch(int error) { fflush(stdout); fflush(stderr); - fprintf(stderr, "\nGURU MEDITATION: Error code 0x%X\n", error); - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); + fprintf(stderr, "\nGURU MEDITATION !!!\n\nException error code: 0x%X\n", error); + FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!"); TerminateProcess(GetCurrentProcess(), -1); } catch(...) @@ -222,7 +222,7 @@ static int _main(int argc, char* argv[]) fflush(stdout); fflush(stderr); fprintf(stderr, "\nGURU MEDITATION !!!\n"); - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); + FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!"); TerminateProcess(GetCurrentProcess(), -1); } return iResult; @@ -247,8 +247,8 @@ int main(int argc, char* argv[]) { fflush(stdout); fflush(stderr); - fprintf(stderr, "\nGURU MEDITATION !!!\n"); - FatalAppExit(0, L"Unhandeled exception error, application will exit!"); + fprintf(stderr, "\nGURU MEDITATION !!!\n\nUnhandeled structured exception error! [code: 0x%X]\n", GetExceptionCode()); + FatalAppExit(0, L"Unhandeled structured exception error, application will exit!"); TerminateProcess(GetCurrentProcess(), -1); } } -- 2.11.0