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, 18:54   #1581  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,981
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.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 2nd March 2019, 19:02   #1582  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 100
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, 19: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, 14: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 16:50.
hanskroll is offline   Reply With Quote
Old 29th March 2019, 21:02   #1585  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,981
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".
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 29th March 2019 at 21:05.
LoRd_MuldeR is offline   Reply With Quote
Old 29th March 2019, 23: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, 12:02   #1587  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,981
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.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 30th March 2019 at 12:06.
LoRd_MuldeR is offline   Reply With Quote
Old 2nd April 2019, 18:25   #1588  |  Link
tablerocker
Registered User
 
Join Date: Jan 2017
Posts: 16
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: 12,981
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.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



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: 12,981
LameXP v4.18 Alpha-8
https://sourceforge.net/projects/lam...0.exe/download

Experimental VS2019 binaries here:
https://sourceforge.net/projects/lam...9.zip/download

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
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 14th April 2019 at 15:29.
LoRd_MuldeR is offline   Reply With Quote
Old 19th April 2019, 16:24   #1591  |  Link
danlock
Registered User
 
Join Date: Oct 2017
Posts: 9
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 21st April 2019, 20:44   #1592  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,981
LameXP v4.18 Alpha-9
https://sourceforge.net/projects/lam...4.exe/download

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 v18.12 (2018-12-10), compiled with ICL 19.0 and MSVC 14.16
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR 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 00:34.


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