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 17th July 2016, 19:42   #1381  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Randy31416, this is because the clean_file_name() function is applied to clean up the file name, before the final file extension is appended. And dots (.) at the end of the file name are forbidden, so they are removed.

I have changed the logic now, so that the clean up function gets applied at a slightly later point:
https://sourceforge.net/projects/mul...6.exe/download
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 18th July 2016, 14:23   #1382  |  Link
Randy31416
Registered User
 
Join Date: Jun 2015
Posts: 4
Quote:
Originally Posted by LoRd_MuldeR View Post
I have changed the logic now, so that the clean up function gets applied at a slightly later point
You do support this program exceptionally well. Thanks. Randy
Randy31416 is offline   Reply With Quote
Old 20th August 2016, 18:52   #1383  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 Beta-4

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.2 and Opus-Tools to v0.1.9 (2016-05-22)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated MediaInfo to v0.7.85 (2016-04-29), compiled with ICL 15.0 and MSVC 12.0
* Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Updated mpg123 decoder to v1.23.4 (2016-05-11), compiled with GCC 5.3.0
* Updated ALAC decoder to refalac v1.58 (2016-01-05)
* Updated GnuPG to v1.4.21 (2016-08-17), compiled with GCC 6.1.0
* Improved auto-update function (faster Internet connectivity check)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 21st October 2016 at 21:14.
LoRd_MuldeR is offline   Reply With Quote
Old 11th September 2016, 16:23   #1384  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 Beta-5

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.3 and Opus-Tools to v0.1.9 (2016-09-11)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated MediaInfo to v0.7.85 (2016-04-29), compiled with ICL 15.0 and MSVC 12.0
* Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Updated mpg123 decoder to v1.23.4 (2016-05-11), compiled with GCC 5.3.0
* Updated ALAC decoder to refalac v1.58 (2016-01-05)
* Updated GnuPG to v1.4.21 (2016-08-17), compiled with GCC 6.1.0
* Improved auto-update function (faster Internet connectivity check)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 21st October 2016 at 21:14.
LoRd_MuldeR is offline   Reply With Quote
Old 3rd October 2016, 13:55   #1385  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
The QAAC Add-in has been updated to QAAC v2.61:
LameXP.qaac-addin.2016-10-03.zip
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd October 2016, 20:19   #1386  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 Beta-7

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.3 and Opus-Tools to v0.1.9 (2016-09-11)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated MediaInfo to v0.7.88 (2016-08-31), compiled with ICL 15.0 and MSVC 12.0
* Updated QAAC add-in to the to QAAC v2.61 (2016-10-02)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Updated mpg123 decoder to v1.23.4 (2016-05-11), compiled with GCC 5.3.0
* Updated ALAC decoder to refalac v1.61 (2016-10-02)
* Updated WavPack decoder to v4.80.0 (2016-03-28), compiled with ICL 15.0 and MSVC 12.0
* Updated GnuPG to v1.4.21 (2016-08-17), compiled with GCC 6.1.0
* Improved auto-update function (faster Internet connectivity check)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 21st October 2016 at 21:13.
LoRd_MuldeR is offline   Reply With Quote
Old 16th October 2016, 16:56   #1387  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 RC-1

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.3 and Opus-Tools to v0.1.9 (2016-10-16)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated FLAC encoder/decoder to v1.3.1 (2016-10-04), compiled with ICL 17.0 and MSVC 12.0
* Updated MediaInfo to v0.7.88 (2016-08-31), compiled with ICL 15.0 and MSVC 12.0
* Updated mpg123 decoder to v1.23.4 (2016-05-11), compiled with GCC 5.3.0
* Updated ALAC decoder to refalac v1.61 (2016-10-02)
* Updated WavPack decoder to v4.80.0 (2016-03-28), compiled with ICL 15.0 and MSVC 12.0
* Updated GnuPG to v1.4.21 (2016-08-17), compiled with GCC 6.1.0
* Updated QAAC add-in to the to QAAC v2.61 (2016-10-02)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Improved auto-update function (faster Internet connectivity check)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 21st October 2016 at 21:13.
LoRd_MuldeR is offline   Reply With Quote
Old 21st October 2016, 21:05   #1388  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 RC-2

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.3 and Opus-Tools to v0.1.9 (2016-10-16)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated FLAC encoder/decoder to v1.3.1 (2016-10-04), compiled with ICL 17.0 and MSVC 12.0
* Updated MediaInfo to v0.7.88 (2016-08-31), compiled with ICL 15.0 and MSVC 12.0
* Updated mpg123 decoder to v1.23.8 (2016-09-27), compiled with GCC 6.2.0
* Updated ALAC decoder to refalac v1.61 (2016-10-02)
* Updated WavPack decoder to v4.80.0 (2016-03-28), compiled with ICL 15.0 and MSVC 12.0
* Updated GnuPG to v1.4.21 (2016-08-17), compiled with GCC 6.1.0
* Updated QAAC add-in to the to QAAC v2.61 (2016-10-02)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Improved auto-update function (faster Internet connectivity check)
* Updated language files (big thank-you to all contributors !!!)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 5th November 2016 at 14:09.
LoRd_MuldeR is offline   Reply With Quote
Old 22nd October 2016, 18:35   #1389  |  Link
digitaltoast
Registered User
 
Join Date: Mar 2005
Posts: 34
Looking good, but if you're after feedback on 4.14RC2, I just have a couple:

During install, it wants to install to folder 4.11 and won't let me change path.
When encoding mp3, even when I override the samplerate and enforce 44.1KHz, it downgrades to 32KHz etc, at anything above VBR compression level 6.

That's it, so far! Do you need screenshots or is that OK? Thanks for a great app!
digitaltoast is offline   Reply With Quote
Old 22nd October 2016, 19:33   #1390  |  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 digitaltoast View Post
During install, it wants to install to folder 4.11 and won't let me change path.
That's because the installer will "upgrade" the existing installation - which is located wherever you originally installed LameXP.

Quote:
Originally Posted by digitaltoast View Post
When encoding mp3, even when I override the samplerate and enforce 44.1KHz, it downgrades to 32KHz etc, at anything above VBR compression level 6.
And that's because of LAME's psycho-acoustic model.

The sampling rate determines the highest frequency that can be retained (cf. Nyquist–Shannon sampling theorem). So, by reducing the sampling rate from 44.1 kHz to 32 kHz, you are effectively low-pass filtering the audio. In other words, the highest frequencies are discarded before the actual encoding. At a sampling frequency of 44.1 kHz the highest audio frequency that can be retained (without aliasing) is 22.05 kHz; at a sampling frequency of 32 kHz, the highest audio frequency that can be retained is 16 kHz. Low-pass filtering the audio makes a lot of sense at very low bitrates (or the lowest VBR quality levels), because loosing the highest frequencies is way less disturbing than the compression artifacts that arise otherwise.

Note: It's possible to "force" LAME to encode at the original sampling rate, by explicitly specifying the "--resample" option with the original sampling rate. But you almost always do not want this!
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 22nd October 2016 at 19:39.
LoRd_MuldeR is offline   Reply With Quote
Old 22nd October 2016, 19:52   #1391  |  Link
digitaltoast
Registered User
 
Join Date: Mar 2005
Posts: 34
Many thanks for the explanation:

Quote:
Originally Posted by LoRd_MuldeR View Post
Note: It's possible to "force" LAME to encode at the original sampling rate, by explicitly specifying the "--resample" option with the original sampling rate. But you almost always do not want this!
Except of course when it's a particularly archaic piece of hardware which can only cope with multiples of 11.020

Perfect, thank you.
digitaltoast is offline   Reply With Quote
Old 22nd October 2016, 21:16   #1392  |  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 digitaltoast View Post
Except of course when it's a particularly archaic piece of hardware which can only cope with multiples of 11.020
Just for the notes: The original MP3 (actually "MPEG-1 Audio Layer III") specification from 1993 defines three possible sampling rates – 48 kHz, 44.1 kHz and 32 kHz – that any "compliant" decoder must support.

(More sampling rates – 16 kHz, 22.05 kHz and 24 kHz – have been added to MP3 with the MPEG-2 standard in 1995)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 25th October 2016, 11:03   #1393  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
in the latest version (RC2) it seems that opus isn't working properly. if i encode with the same setting as before (VBR 16kbps; complexity 10; framesize 60) i get valid opus files with correct filesize, but when played back it's just extremely noisy, which sounds like compressed at 1kbps
anyways, keep up the good work!

Last edited by RieGo; 25th October 2016 at 11:19.
RieGo is offline   Reply With Quote
Old 26th October 2016, 22:07   #1394  |  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 RieGo View Post
in the latest version (RC2) it seems that opus isn't working properly. if i encode with the same setting as before (VBR 16kbps; complexity 10; framesize 60) i get valid opus files with correct filesize, but when played back it's just extremely noisy, which sounds like compressed at 1kbps
anyways, keep up the good work!
I see what you mean. I tried encoding a piece of music at ~16 kbps and it came out as total noise. Not that I would expect anything worthwhile at ~16 kbps.

Interestingly, at ~24 kbps it came out "okay". Of course, the ~24 kbps version didn't sound very good either. But considering that it's only ~24 kbps Opus still performed pretty well at that rate. Nothing like the ~16 kbps result.

I'm not sure whether the ~16 kbps result is a bug in latest Opus or just what you have to expect at that ultra-low rate. If you got better result before, with what Opus version was that?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 26th October 2016 at 22:15.
LoRd_MuldeR is offline   Reply With Quote
Old 27th October 2016, 09:34   #1395  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
Quote:
Originally Posted by LoRd_MuldeR View Post
I see what you mean. I tried encoding a piece of music at ~16 kbps and it came out as total noise. Not that I would expect anything worthwhile at ~16 kbps.

Interestingly, at ~24 kbps it came out "okay". Of course, the ~24 kbps version didn't sound very good either. But considering that it's only ~24 kbps Opus still performed pretty well at that rate. Nothing like the ~16 kbps result.

I'm not sure whether the ~16 kbps result is a bug in latest Opus or just what you have to expect at that ultra-low rate. If you got better result before, with what Opus version was that?
yes! i use opus mainly to encode tons of audiobooks (mono), which results in "really good" sound quality starting at 16kbps. it worked just fine on releases before RC2 (or RC1?) and it also works with official opus encoder 1.1.3.
if you say 24kbps came out okay for you, it may be just a problem on my side. i'll try to reinstall LameXP and check.

update:
same problem after reinstalling and removing settings.
i uploaded 2 samples, so you know what i mean:
03_opusenc.opus
03_RC2.opus

i also tried encoding at 24kbps and 128kbps:
24kbps has the same weird artifacts, but not as present as with lower bitrate
128kbps sounds just fine

maybe it's really just a bug in the latest Opus, which effects only lowest bitrates

btw: i have seen that opus files generated by LameXP are always 1kbps lower than set. so i encoded my sample at 15kbps with opusenc

Last edited by RieGo; 27th October 2016 at 10:02.
RieGo is offline   Reply With Quote
Old 27th October 2016, 21:35   #1396  |  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 RieGo View Post
yes! i use opus mainly to encode tons of audiobooks (mono), which results in "really good" sound quality starting at 16kbps. it worked just fine on releases before RC2 (or RC1?) and it also works with official opus encoder 1.1.3.
Opus binaries have last been updated in RC-1, from Git "master" 2016-09-11 to 2016-10-16. There has not been any change to Opus between RC-1 and RC-2.


Quote:
Originally Posted by RieGo View Post
maybe it's really just a bug in the latest Opus, which effects only lowest bitrates
I noticed two recent commits/fixes that may be related to this problem:
Will try building latest version soon... (not this weekend though)


Quote:
Originally Posted by RieGo View Post
btw: i have seen that opus files generated by LameXP are always 1kbps lower than set. so i encoded my sample at 15kbps with opusenc
By default, Opus uses VBR mode. So, by default, the selected bitrate only "specifies the average rate for a large and diverse collection of audio". It's more a rough estimate.

Your particular audio file may, very well, come out at a somewhat higher or a somewhat lower average bitrate!

If you really whish to hit a specific average bitrate, then you have to add the "--cvbr" option, aka "constrained variable bitrate encoding". Or even use the "--hard-cbr" option.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 27th October 2016 at 21:43.
LoRd_MuldeR is offline   Reply With Quote
Old 30th October 2016, 20:22   #1397  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
RieGo, can you please try again with the latest LameXP build?
https://sourceforge.net/projects/lam...4.exe/download

(After some testing, it appears that the "noisy" output occurs when SSE2 or AVX compiler-optimizations are enabled for the Opus library, so I keep them disabled for now. The recent fixes in Opus code seem unrelated)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 30th October 2016 at 20:25.
LoRd_MuldeR is offline   Reply With Quote
Old 30th October 2016, 22:37   #1398  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 284
i try to convert m4a " dash" but lamexp tell me this is not supported format ?
source form youtube
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 30th October 2016, 22:39   #1399  |  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 amayra View Post
i try to convert m4a " dash" but lamexp tell me this is not supported format ?
source form youtube
What does MediaInfo say about that file?
https://github.com/lordmulder/mediai...eleases/latest
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 31st October 2016, 09:50   #1400  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
Quote:
Originally Posted by LoRd_MuldeR View Post
RieGo, can you please try again with the latest LameXP build?
https://sourceforge.net/projects/lam...4.exe/download

(After some testing, it appears that the "noisy" output occurs when SSE2 or AVX compiler-optimizations are enabled for the Opus library, so I keep them disabled for now. The recent fixes in Opus code seem unrelated)
your new release works just fine. thanks a lot!
RieGo 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 09:58.


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