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 2nd March 2019, 19:54   #1581  |  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 hanskroll View Post
I'm using everything that came with LameXP, so it's the Nero AAC encoder. I will try to figure out and test results with QAAC. Here's the error output:

Code:
"C:/Program Files (x86)/MuldeR/LameXP/neroAacEnc.exe" -cbr 320000 -if C:\Users\****\AppData\Local\Temp\51ba36340709e014\153e3d8201b4b954.wav -of "C:\Users\****\Downloads\file.mp4"

ERROR: could not open AAC encoder
Not quite sure, but I think this is some kind of "internal" error in Nero AAC encoder. Maybe we can pin down the exact conditions. Does it happen only with 320 kbps?

Unfortunately, development of Nero AAC encoder has been discontinued. There was no update for years.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 2nd March 2019, 20:02   #1582  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 293
AFAIK, NeroAAC doesn't support 192 kHz input. QAAC will automatically resample it to 48 kHz, but NeroAAC cannot do this.
lvqcl is offline   Reply With Quote
Old 2nd March 2019, 20:14   #1583  |  Link
hanskroll
Registered User
 
Join Date: Feb 2019
Posts: 5
Yes, unfortunately it happens with whatever quality, bitrate or profile I select. I indeed also feared it was because of the 192 khz, but could not find any documents about this online (quick search though). Anyway thanks to both for your answers!
hanskroll is offline   Reply With Quote
Old 29th March 2019, 15:52   #1584  |  Link
hanskroll
Registered User
 
Join Date: Feb 2019
Posts: 5
Hello again. First of all came back to confirm I have been able to successfully convert 192kHz FLAC to 48kHz AAC/MP4, by simply replacing the Nero encoder for the QAAC (thanks to the great manual included in LameXP).

I have two remaining questions.

1. I am unable to disable artwork when converting. Track -> Show details -> Artwork -> Right mouse button on cover -> Clear Artwork. This deletes the artwork in LameXP itself, however is still present in the metadata of the file after the encoding completed. My example is from FLAC to AAC/MP4. Also, selecting multiple files and deleting the artwork, only deletes it from the one you've clicked on: not all those you've selected. Am I doing something wrong in this process?
2. Again about AAC/MP4: Is it somehow possible to change the output from .mp4 container to the .m4a extension?

Last edited by hanskroll; 29th March 2019 at 17:50.
hanskroll is offline   Reply With Quote
Old 29th March 2019, 22:02   #1585  |  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 hanskroll View Post
1. I am unable to disable artwork when converting. Track -> Show details -> Artwork -> Right mouse button on cover -> Clear Artwork. This deletes the artwork in LameXP itself, however is still present in the metadata of the file after the encoding completed. My example is from FLAC to AAC/MP4. Also, selecting multiple files and deleting the artwork, only deletes it from the one you've clicked on: not all those you've selected. Am I doing something wrong in this process?
There cannot be any cover artwork (or other meta information) in the encoded file, unless it is explicitly embedded.

But LameXP won't (and can't) instruct QAAC to embed any meta-tags – including cover artwork – unless that meta-data is actually available in LameXP and the option "Write meta information to encoded files" is enabled.

You can double-check this in the LameXP log. For this purpose, double-click on the corresponding item in the list, after the encoding process has finished. Then check the QAAC command-line.

Anyway, how do you know that encoded file still contains cover artwork? For example, if your playback application shows cover artwork for the file, it does not necessarily mean the artwork was loaded from the file itself!

(The playback application might load cover artwork from a separate "cover.jpg" in the same directory, or even fetch it from the Internet)


Quote:
Originally Posted by hanskroll View Post
2. Again about AAC/MP4: Is it somehow possible to change the output from .mp4 container to the .m4a extension?
If you really which to change the file extension of AAC/MP4 files to the non-standard .m4a extension, you can do this by simply renaming those files, of course

In LameXP, you could use the "Rename output files" option, on the "Advanced options" tab. Click on "File extensions" and then "Add overwrite".
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 29th March 2019 at 22:05.
LoRd_MuldeR is offline   Reply With Quote
Old 30th March 2019, 00:19   #1586  |  Link
hanskroll
Registered User
 
Join Date: Feb 2019
Posts: 5
Thanks for your reply.

1. I have one single FLAC file in an otherwise empty folder, with a cover included in its metadata. There is no other file (jpg) in the same folder, nor does my playback application fetch data over the internet. Unchecking the "Write meta information to encoded files" in the Meta Data tab discards the artwork cover, but this option however locks me out from actually renaming other data, for example album title.
2. My apologies, I have overlooked the overwrite option in LameXP, let alone renaming it manually myself.. (Reason for testing with the non-standard extension is because VLC Android is treating the .mp4 as a video file, and Kodi Android TV doesn't even show the file in its folder..)

Thanks again!
hanskroll is offline   Reply With Quote
Old 30th March 2019, 13:02   #1587  |  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 hanskroll View Post
1. I have one single FLAC file in an otherwise empty folder, with a cover included in its metadata. There is no other file (jpg) in the same folder, nor does my playback application fetch data over the internet. Unchecking the "Write meta information to encoded files" in the Meta Data tab discards the artwork cover, but this option however locks me out from actually renaming other data, for example album title.
I just double-checked that. When I encode a source file that has cover artwork, it gets embedded with QAAC, as expected:
Code:
LameXP v4.18 (Build #2208), compiled on 2019-03-16 at 21:35:30

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

C:/Users/MuldeR/AppData/Local/Temp/7def5916b439d522/lxp_mpg123.exe -v --utf8
    -w C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\15782f6fc678129d.wav
    "E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3"

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.10; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Decoder: x86-64 (AVX)
Trying output module: wav, device:
    C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\15782f6fc678129d.wav
Playing MPEG stream 1 of 1: E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3 ...
MPEG 1.0 L III cbr320 44100 stereo
Title: Böse Winde Artist: Alte Sau
Album: Alte Sau
Year: 2014 Genre: Unknown
[3:48] Decoding of E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3 finished.

Exited with code: 0x0000

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

"C:/Program Files (x86)/MuldeR/LameXP v4.14/qaac.exe" --tvbr 63 --quality 2 --title "Böse Winde"
    --artist "Alte Sau" --album "Alte Sau" --genre "Punk Rock" --comment "Encoded with LameXP"
    --date 2017 --track 1 --artwork
    C:/Users/MuldeR/AppData/Local/Temp/7def5916b439d522/b30bddaf9b31e9c3.jpg -d . -o
    "C:\Users\MuldeR\Music\!\01 Bose Winde.mp4"
    C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\15782f6fc678129d.wav

qaac 2.64, CoreAudioToolbox 7.10.5.0
01 Bose Winde.mp4
AAC-LC Encoder, TVBR q64, Quality 96
10082304/10082304 samples processed in 0:03.125
Overall bitrate: 118.644kbps
Optimizing...done

Exited with code: 0x0000
Cover artwork does not get embedded with QAAC, after I cleared it in LameXP, also as expected:
Code:
LameXP v4.18 (Build #2208), compiled on 2019-03-16 at 21:35:30

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

C:/Users/MuldeR/AppData/Local/Temp/7def5916b439d522/lxp_mpg123.exe -v --utf8
    -w C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\e007818421b31884.wav
    "E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3"

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.10; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Decoder: x86-64 (AVX)
Trying output module:
    wav, device: C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\e007818421b31884.wav
Playing MPEG stream 1 of 1: E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3 ...
MPEG 1.0 L III cbr320 44100 stereo
Title: Böse Winde Artist: Alte Sau
Album: Alte Sau
Year: 2014 Genre: Unknown
[3:48] Decoding of E:\Music\Alte Sau - Alte Sau\01 Bose Winde.mp3 finished.

Exited with code: 0x0000

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

"C:/Program Files (x86)/MuldeR/LameXP v4.14/qaac.exe" --tvbr 63 --quality 2 --title "Böse Winde"
    --artist "Alte Sau" --album "Alte Sau" --genre "Punk Rock" --comment "Encoded with LameXP"
    --date 2017 --track 1 -d . -o "C:\Users\MuldeR\Music\!\01 Bose Winde (2).mp4"
    C:\Users\MuldeR\AppData\Local\Temp\7def5916b439d522\e007818421b31884.wav

qaac 2.64, CoreAudioToolbox 7.10.5.0
01 Bose Winde (2).mp4
AAC-LC Encoder, TVBR q64, Quality 96
10082304/10082304 samples processed in 0:03.093
Overall bitrate: 118.644kbps
Optimizing...done

Exited with code: 0x0000
Note how there no "--artwork" switch passed to QAAC in the second case. Looks like everything works correct on the LameXP side.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 30th March 2019 at 13:06.
LoRd_MuldeR is offline   Reply With Quote
Old 2nd April 2019, 18:25   #1588  |  Link
tablerocker
Registered User
 
Join Date: Feb 2017
Posts: 17
Regarding my last post about failed update search (signature verification failed):
I wanted to investigate today but now it works without errors.

So as you assumed the error probably originated from an external source (Windows firewall, Avast behaviour shield, ...).

I didn't change anything besides patching already present programs. However, error is gone now.
tablerocker is offline   Reply With Quote
Old 2nd April 2019, 20:26   #1589  |  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 tablerocker View Post
Regarding my last post about failed update search (signature verification failed):
I wanted to investigate today but now it works without errors.

So as you assumed the error probably originated from an external source (Windows firewall, Avast behaviour shield, ...).

I didn't change anything besides patching already present programs. However, error is gone now.
Hmm, interesting...

Because the GnuPG process was apparently "blocked" from accessing the downloaded signature file – after the download itself seemed to have completed just fine – the Avast thingy would be my bet.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 2nd April 2019 at 20:33.
LoRd_MuldeR is offline   Reply With Quote
Old 13th April 2019, 17:00   #1590  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.18 Alpha-8

Quote:
Changes between v4.17 and v4.18 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2017.9 (MSVC 14.16)
* Updated Vorbis encoder to OggEnc v2.88 (2018-11-14), using libvorbis v1.3.6 with aoTuV b6.03 (2018)
* Updated FLAC encoder/decoder to v1.3.2+ Git (2018-09-19), compiled with ICL 19.0 and MSVC 14.16
* Updated Monkey's Audio binary to v4.41 (2018-12-05), compiled with ICL 19.0 and MSVC 14.16
* Updated mpg123 decoder to v1.25.10 (2018-03-05) and added 64-Bit binaries, compiled with GCC 8.2.1
* Updated MediaInfo to v18.12 (2018-12-10), compiled with ICL 19.0 and MSVC 14.16
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th December 2019 at 22:15.
LoRd_MuldeR is offline   Reply With Quote
Old 19th April 2019, 16:24   #1591  |  Link
danlock
Registered User
 
Join Date: Oct 2017
Posts: 15
Quote:
Originally Posted by LoRd_MuldeR View Post
LameXP v4.18 Alpha-8
Experimental VS2019 binaries[...]
Thank you, LoRd_MuldeR.

I'm a little surprised you didn't include the latest stable build of libopus, but—to be fair—that was released on 12 April, so you might not have had time to include it in v4.18 Alpha-8.



I use Win 8.1 x64 too. In your opinion, would it be good for me to try the experimental VS2019 binaries? Are you actively looking for feedback on those?

FWIW, I had to manually download LameXP for a couple of months also due to an auto-update error, but I don't know whether it's related to what's been discussed. That is no longer a problem. (The only AV software I use is the built-in Windows Defender.)

Thanks!

Last edited by danlock; 19th April 2019 at 16:31.
danlock is offline   Reply With Quote
Old 28th April 2019, 13:05   #1592  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.18 Beta-1

Quote:
Changes between v4.17 and v4.18 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2017.9 (MSVC 14.16)
* Updated Opus encoder/decoder libraries to v1.3.1 (2019-04-14) and Opus-Tools to v0.2+3 (2018-10-16)
* Updated Vorbis encoder to OggEnc v2.88 (2018-11-14), using libvorbis v1.3.6 with aoTuV b6.03 (2018)
* Updated FLAC encoder/decoder to v1.3.2+ Git (2018-09-19), compiled with ICL 19.0 and MSVC 14.16
* Updated Monkey's Audio binary to v4.41 (2018-12-05), compiled with ICL 19.0 and MSVC 14.16
* Updated mpg123 decoder to v1.25.10 (2018-03-05) and added 64-Bit binaries, compiled with GCC 8.2.1
* Updated MediaInfo to v19.04 (2019-04-23), compiled with ICL 19.0 and MSVC 14.16
* Fixed encoding with Nero AAC encoder for input sampling rate less than 8 KHz or greater than 96 KHz
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 19th May 2019 at 17:35.
LoRd_MuldeR is offline   Reply With Quote
Old 13th May 2019, 20:40   #1593  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Enhancement Request

I just started using LameXP (4.18 Beta-1 2216) and have run across a silly thing:

LameXP wants to extract the flac audio as WAV files. How about an option that skips that skip and go directly to flac, for those of us who just want to extract the singular flac file into its separate pieces. I know, others will want an option to go directly to MP3, etc. Just a thought.

So far, I'm liking this program.
MrVideo is offline   Reply With Quote
Old 13th May 2019, 20:58   #1594  |  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 MrVideo View Post
LameXP wants to extract the flac audio as WAV files. How about an option that skips that skip and go directly to flac, for those of us who just want to extract the singular flac file into its separate pieces. I know, others will want an option to go directly to MP3, etc. Just a thought.
Not quite sure what you mean with "extract the singular flac file into its separate pieces"

But if you want to split an existing FLAC file into multiple segments, then LameXP might not be right tool for you. LameXP is primarily an audio file converter, i.e. it converts audio files from one format to another.

In general, the given input file will first be decoded to an uncompressed WAV file, using the suitable decoder, and then the that "intermediary" WAV file is sent to the selected encoder.

If and only if the selected encoder is able read the respective input format directly, then the "decoding" step will be skipped.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 13th May 2019 at 21:03.
LoRd_MuldeR is offline   Reply With Quote
Old 13th May 2019, 22:37   #1595  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,130
Quote:
Originally Posted by LoRd_MuldeR View Post
Not quite sure what you mean with "extract the singular flac file into its separate pieces"
A single flac file that contains more than one song. For example, an entire CD converted to a single flac file, hence the cue file.

If you know of a program that can take the single flac file, along with the cue file, and extract the individual songs without recoding, I'd appreciate it.

The process of converting to WAV first and then to flac doesn't result in any quality loss, since both are lossless. Going directly from flac to flac, without any recoding, would be faster.
MrVideo is offline   Reply With Quote
Old 14th May 2019, 22:49   #1596  |  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 MrVideo View Post
A single flac file that contains more than one song. For example, an entire CD converted to a single flac file, hence the cue file.

If you know of a program that can take the single flac file, along with the cue file, and extract the individual songs without recoding, I'd appreciate it.
Have you looked at CUETools yet?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 19th May 2019, 17:34   #1597  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.18 Beta-2

Quote:
Changes between v4.17 and v4.18 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2017.9 (MSVC 14.16)
* Updated Opus encoder/decoder libraries to v1.3.1 (2019-04-14) and Opus-Tools to v0.2+3 (2018-10-16)
* Updated Vorbis encoder to OggEnc v2.88 (2018-11-14), using libvorbis v1.3.6 with aoTuV b6.03 (2018)
* Updated FLAC encoder/decoder to v1.3.2+ Git (2018-09-19), compiled with ICL 19.0 and MSVC 14.16
* Updated Monkey's Audio binary to v4.73 (2019-05-15), compiled with ICL 19.0 and MSVC 14.16
* Updated mpg123 decoder to v1.25.10 (2018-03-05) and added 64-Bit binaries, compiled with GCC 8.2.1
* Updated MediaInfo to v19.04 (2019-04-23), compiled with ICL 19.0 and MSVC 14.16[/COLOR]
* Fixed encoding with Nero AAC encoder for input sampling rate less than 8 KHz or greater than 96 KHz
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th December 2019 at 22:15.
LoRd_MuldeR is offline   Reply With Quote
Old 19th May 2019, 22:13   #1598  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I would like to request better High DPI support, maybe use fonts instead of images, like FontAwesome & Segoe-MDL2-Assets
stax76 is offline   Reply With Quote
Old 22nd May 2019, 20:58   #1599  |  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 stax76 View Post
I would like to request better High DPI support, maybe use fonts instead of images, like FontAwesome & Segoe-MDL2-Assets
The GUI is made with Qt. So, we pretty much have to rely on the "High DPI support" that is offered by Qt. And, in fact, I already tried to fix the layout for non-standard DPI settings in a few places. What is your specific problem?

As far as the icons and images are concerned: Even though Qt is supposed to support SVG, replacing all the bitmap icons and images with vector graphics would be a difficult task...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 22nd May 2019 at 21:02.
LoRd_MuldeR is offline   Reply With Quote
Old 22nd May 2019, 21:08   #1600  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
At 288 DPI none of your apps are usable.
stax76 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 20:47.


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