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. |
1st June 2018, 10:42 | #1542 | Link |
Registered User
Join Date: May 2018
Posts: 3
|
Cannot set custom quality level for AAC/MP4
Hi all,
I have been using LameXP for over a year - excellent program! However, I'm running into a bug when trying to encode using AAC (qaac 2.66). I don't encounter this problem with either OPUS, MP3 or Vorbis. I'm currently using Version 4.16, Build 2134. The problem is this: under the advanced settings tab, when inputting a custom encoding parameter for AAC (in this case, simply: "--tvbr 87") the encode fails, every time. When inspecting the log, I figured out what the problem was: As you can see, instead of replacing and overriding the default quality setting (--tvbr 91, which the slider is set to under the Compression tab), the custom setting that I want (--tvbr 87) is just appended to the command string, thus conflicting with the first setting. Naturally this means that the encode stops in its tracks before it can do anything. It throws up this message at the bottom: Please let me know if you can replicate this. It's the only thing holding me back from using LameXP for AAC encoding (which is otherwise first class). Last edited by Photon; 1st June 2018 at 10:59. |
1st June 2018, 12:17 | #1543 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
If you try to set the RC mode via "custom" parameter too, RC mode will unavoidably appear in the command-line twice – as the program clearly says: "custom" parameters are not validated and you use them at your own risk. Most CLI tools will allow to specify even "conflicting" switches, in which case simply the last option on the command-line will take effect. This way you can easily "override" options already set by the generated command-line. But: It appears that QAAC does more "pedantic" checking and won't allow to "override" the already-set RC mode. There is no easy solution for this, because we would need figure out any possible combination of "conflicting" options. And, if a "conflicting" option was detected, remove that option from the generated command-line... (Maintaining a list of potentially "conflicting" options – for every supported encoder – would be a lot of work. Just to enable a use-case that was never really intended)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 1st June 2018 at 12:29. |
|
1st June 2018, 19:52 | #1544 | Link | |
Registered User
Join Date: May 2018
Posts: 3
|
Quote:
Would it be possible in that case to provide an option somehow tweak the TVBR slider so that we have more granular control? (Maybe an "advanced" slider activated by a checkbox, that allows the user to move up and down in increments of 1). That's the only solution I can think of for this but I don't know how feasible it would be to implement. Other software allows you to select the TVBR quality level in increments of one right from the GUI, it's just that they don't have any easy was of importing your whole library in one go like LameXP does. Last edited by Photon; 1st June 2018 at 20:00. |
|
1st June 2018, 20:08 | #1545 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Quote:
From QAAC wiki: From LameXP code: Code:
static const int g_qaacVBRQualityLUT[16] = {0 ,9, 18, 27, 36, 45, 54, 63, 73, 82, 91, 100, 109, 118, 127, INT_MAX}; class QAACEncoderInfo : public AbstractEncoderInfo { virtual int valueCount(int mode) const { switch(mode) { case SettingsModel::VBRMode: return 15; break; [...] } } virtual int valueAt(int mode, int index) const { switch(mode) { case SettingsModel::VBRMode: return g_qaacVBRQualityLUT[qBound(0, index , 14)]; break; [...] } } [...] }
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 1st June 2018 at 20:15. |
||
1st June 2018, 21:09 | #1546 | Link | |
Registered User
Join Date: May 2018
Posts: 3
|
Quote:
|
|
7th July 2018, 12:21 | #1547 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 Alpha-3
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 26th August 2018 at 21:51. |
|
7th July 2018, 15:45 | #1548 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
I won't bother with LameXP Alpha, Beta or RC versions any longer, it's just too annoying. I went back to the stable version 4.15 and updated a few tools, and this will do until the next stable version comes out... Cheers manolito |
|
11th July 2018, 17:48 | #1549 | Link |
Registered User
Join Date: Nov 2009
Posts: 59
|
thanks for your regular updates. still using this tool mainly for opus low bitrate encoding stuff
now there's one request i'd like to mention. in LameXP you can only choose between preset bitrate options. 8;16;24 beeing the lowest. now there is quite a big quality gap between 8 and 16 kbit/s in opus. could you make it possible to somehow be able to set custom bitrate values? thx |
13th July 2018, 20:34 | #1550 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
for now you could just add "--bitrate <value>" to the custom parameters for OpusEnc, on "Adavanced Options" tab. This will overwrite the bitrate selected on "Compression" tab. But if you think that we should add more bitrate steps for Opus towards the lower end, then I could probably do that. Maybe adding 12 kbps and 20 kbps would suffice? Regards.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
13th July 2018, 21:22 | #1551 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
https://sourceforge.net/projects/mul...6.exe/download
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
22nd July 2018, 16:49 | #1552 | Link | |
Registered User
Join Date: Nov 2009
Posts: 59
|
Quote:
just tried this new build and it works just as expected. you are awesome! |
|
26th August 2018, 21:51 | #1553 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 Beta-1
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 27th September 2018 at 20:42. Reason: deprectaed |
|
27th September 2018, 20:33 | #1554 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 Beta-2
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 3rd October 2018 at 20:49. |
|
3rd October 2018, 20:47 | #1555 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 RC-1
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 17th October 2018 at 21:20. |
|
24th October 2018, 22:49 | #1556 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 RC-4
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 10th November 2018 at 17:07. |
|
10th November 2018, 17:08 | #1559 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.17 has been released
https://github.com/lordmulder/LameXP/releases/latest Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
10th November 2018, 17:08 | #1560 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Probably not, sorry.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
Tags |
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis |
Thread Tools | Search this Thread |
Display Modes | |
|
|