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 23rd May 2022, 19:52   #1761  |  Link
bigdog660
Registered User
 
Join Date: Mar 2004
Posts: 63
Hi, I've been trying to convert AAC in a MP4 container to MP3. I get the following error:

LameXP v4.19 (Build #2320), compiled on 2021-08-29 at 18:25:44

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

The format of this file is NOT supported:
C:/Users/rgeer/Downloads/test.mp4

Container Format: dash
Audio Format: Type: AAC, Profile: LC, Bitrate: 126 kbps

Media info gives me this:

General
Complete name : C:\Users\rgeer\Downloads\test.mp4
Format : dash
Codec ID : dash (iso6/mp41)
File size : 3.87 MiB
Duration : 4 min 15 s
Overall bit rate : 127 kb/s
Encoded date : UTC 2017-03-21 21:11:13
Tagged date : UTC 2017-03-21 21:11:13

Audio
ID : 1
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 4 min 15 s
Bit rate : 126 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.82 MiB (99%)
Encoded date : UTC 2017-03-21 21:11:13
Tagged date : UTC 2017-03-21 21:11:13

Is there any chance this may be fixed or feature added in the future? Thanks!
bigdog660 is offline   Reply With Quote
Old 23rd May 2022, 22:16   #1762  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,103
You can find information and methods to open this DASH format here:
https://filext.com/file-extension/DASH
manolito is offline   Reply With Quote
Old 24th May 2022, 00:22   #1763  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
Even though your file has a .mp4 file extension, it's not a "regular" MP4 container, but DASH format. This format is not currently supported

I don't know whether FAAD supports this kind of file, but I doubt it. If it does, then support for DASH input could be added to LameXP. You could always try yourself:
Code:
faad.exe -o output.wav your_input.mp4
If FAAD cannot handle this kind of file directly, maybe you could use MP4box to demux the AAC stream?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 24th May 2022 at 00:29.
LoRd_MuldeR is offline   Reply With Quote
Old 24th May 2022, 07:28   #1764  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 311
IIRC it's possible to remux it from DASH-MP4 to regular MP4 using ffmpeg.
lvqcl is offline   Reply With Quote
Old 25th May 2022, 14:09   #1765  |  Link
bigdog660
Registered User
 
Join Date: Mar 2004
Posts: 63
Thanks for all the info guys. ffmpeg does the job, but I was liking the LameXP GUI. I finally used my head, and found a ffmpeg GUI that works well enough for DASH to MP3 conversion. For kicks and giggles, I'll give FAAD and MP4box try and report back soon. Been a long time since I've used them independently.
bigdog660 is offline   Reply With Quote
Old 25th May 2022, 15:38   #1766  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,259
Why not de-mux the elementary AAC audio stream out of the .mp4 container prior to re-encoding to .mp3?

EDIT: That being said... Why bother re-encoding to mp3 when LC-AAC at the same bit-rate is superior?!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 27th May 2022 at 10:05.
SeeMoreDigital is offline   Reply With Quote
Old 27th May 2022, 08:23   #1767  |  Link
mike20021969
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 336
Hi.

With AAC encoding:
Could you include as an additional option format ADTS (Audio Data Transport Stream) with an .aac file extension?
Thanks.
mike20021969 is offline   Reply With Quote
Old 27th May 2022, 12:46   #1768  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
It appears that QAAC has an option to output ADTS, but neither FDKAAC nur NeroAAC has such option.

Why would you need ADTS anyway? MP4 is, by far, the most widely used standard container for AAC. Also, you can always demux from the MP4 container, e.g. by using MP4Box.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 19th June 2022, 14:05   #1769  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
LameXP v4.20 Beta-2
https://sourceforge.net/projects/lam...29/2022-06-19/

Quote:
Changes between v4.19 and v4.20:
* Updated MediaInfo to v22.03 (2022-03-31), compiled with ICL 2021.2 and MSVC 15.9
* Implemented workaround for DwmEnableBlurBehindWindow() not working on Windows 11
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 18th July 2022, 23:32   #1770  |  Link
shades
Registered User
 
Join Date: Apr 2005
Location: Australia
Posts: 38
Request

Dear LoRd_Mulder!

I hope you are well!
I have a feature request, perhaps you could consider please?

When converting to .wav on the slider it just says, (uncompressed) for obvious reasons.
Could this be changed to (samplerate) and do a up-downsample conversion and maybe a Stereo/Mono selector?

This would make this an extremely useful tool for me. I need to change samplerates and mono conversion all the time working with stems etc.

Thanks for your time working on this great tool.
shades is offline   Reply With Quote
Old 16th October 2022, 02:42   #1771  |  Link
WSC4
Registered User
 
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 90
Can you correct your uninstaller to remove all files please? I have installed and uninstalled a few times, but files are left over in directories. The main problem is in the registry HKEY_CLASSES_ROOT shell. And this was a bad problem. Thanks.
WSC4 is offline   Reply With Quote
Old 21st October 2022, 20:24   #1772  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
Quote:
Originally Posted by WSC4 View Post
Can you correct your uninstaller to remove all files please? I have installed and uninstalled a few times, but files are left over in directories. The main problem is in the registry HKEY_CLASSES_ROOT shell. And this was a bad problem. Thanks.
Which files exactly do you mean that are left over after uninstall?

Also, first you talk about files, then suddenly you are referring to the registry key HKEY_CLASSES_ROOT. Those are two entirely different things. So, is this about files or registry entries?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 23rd October 2022, 02:56   #1773  |  Link
WSC4
Registered User
 
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 90
Quote:
Which files exactly do you mean that are left over after uninstall?
Doing a search for lamexp of the entire drive for system files and folders, hidden files and folders and subfolders came up with lamexp in the file name. I have forgotten how many.

Quote:
Also, first you talk about files, then suddenly you are referring to the registry
Perhaps I should have written "Also, the main problem is in the registry..." or "Another problem is in the registry...".

In Registry Editor, Edit, Find and entering lamexp found it in the HKEY_CLASSES_ROOT.

I did this because sometime after uninstalling LameXP, I was in Windows Explorer and right clicked to "Open With" a 7-Zip file and LameXP was listed to open the .7z file.
WSC4 is offline   Reply With Quote
Old 23rd October 2022, 17:14   #1774  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
Quote:
Originally Posted by WSC4 View Post
Doing a search for lamexp of the entire drive for system files and folders, hidden files and folders and subfolders came up with lamexp in the file name. I have forgotten how many.
LameXP installer does not "create" any files, other than those extracted to the selected install directory. The only exception of this probably are the shortcuts created in the start menu and on the desktop.

The uninstaller is supposed to remove the LameXP install directory as well as the shortcuts that were created during install.

If you think this doesn't work as expected, then you need to re-produce the problem and provide more detailed information! Otherwise, it will be next to impossible to have this fixed...

Quote:
Originally Posted by WSC4 View Post
In Registry Editor, Edit, Find and entering lamexp found it in the HKEY_CLASSES_ROOT.
Well, the key HKEY_CLASSES_ROOT is used to store information about file types.

LameXP needs to modify entries in this key in order to add the shell command "Convert this file with LameXP" to all supported file types – provided that you enable the "Shell integration" option in the program. However, this is not so simple, because, in the HKEY_CLASSES_ROOT key, file extensions (e.g. ".mp3") are mapped to file types (e.g "Winamp.File.MP3"). And it is the file types that we need to modify! Consequently, for all supported file extensions, we first have to figure out the corresponding file types. Then, we can add our shell operation to each file type that was found in the previous step. So, to make a long store short, the list of file types that we need to modify is not fixed and is not known in advanced!

Because it cannot be known in advance which keys in HKEY_CLASSES_ROOT we will have to modify on a specific machine, there is no simple way to remove those entries in the uninstaller. You would probably think that we could simply scan the entire HKEY_CLASSES_ROOT key and remove every "ConvertWithLameXP" sub-key. But keep in mind that the (un)installer is created with NSIS, so we are pretty much limited to removing hard-coded registry keys

Quote:
Originally Posted by WSC4 View Post
I did this because sometime after uninstalling LameXP, I was in Windows Explorer and right clicked to "Open With" a 7-Zip file and LameXP was listed to open the .7z file.
LameXP will never add the "ConvertWithLameXP" operation to the .7z file extension.

If, however, the file extension .7z happens to be associated with the same file type as one of the file extensions supported by LameXP (e.g. .mp3), then we could end up in a situation where the operation "ConvertWithLameXP" appears for .7z files too, even though this was unintended. To make it clear again: LameXP does not create such situation by itself! But, if such situation exists on your system, then there is hardly anything we could do about it...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 23rd October 2022 at 17:47.
LoRd_MuldeR is offline   Reply With Quote
Old 12th December 2023, 07:58   #1775  |  Link
danlock
Registered User
 
Join Date: Oct 2017
Posts: 15
newest build

Thanks for the recent update. I downloaded it today and am very impressed and very pleased.

thanks!

Last edited by danlock; 12th December 2023 at 23:42. Reason: word removal
danlock is offline   Reply With Quote
Old 14th December 2023, 08:55   #1776  |  Link
WSC4
Registered User
 
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 90
@danlock

https://www.videohelp.com/software/TAudioConverter
WSC4 is offline   Reply With Quote
Old 29th December 2023, 18:31   #1777  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,251
LameXP v4.21 has been released
https://github.com/lordmulder/LameXP/releases/latest

Quote:
Changes between v4.20 and v4.21 [2023-12-29]:
* Upgraded build environment to Microsoft Visual Studio 2019.11 (MSVC 16.11)
* Updated the Windows SDK version to 10.0.19041.0
* Updated LAME encoder to v3.101 Beta-3 (2023-12-15), compiled with ICL 2023.2 and MSVC 16.11
* Updated Opus encoder/decoder libraries to v1.4+9 (2023-11-03) and Opus-Tools to v0.2+34 (2023-11-12)
* Updated Monkey's Audio binary to v10.38 (2023-12-22), compiled with ICL 2024.0 and MSVC 16.11
* Updated FLAC encoder/decoder to v1.4.3 (2023-06-23), compiled with ICL 2024.0 and MSVC 16.11
* Updated mpg123 decoder to v1.32.3 (2023-10-02), compiled with GCC 13.2.0
* Updated MediaInfo to v23.11 (2023-11-30), compiled with ICL 2023.2 and MSVC 16.11
* Updated cURL to v8.5.0 (2023-12-06), with libcurl v8.5.0 and OpenSSL v1.1.1w
* Updated QAAC add-in (separate download) to QAAC v2.80 (2023-07-05), compiled with ICL 2024.0 and MSVC 16.11
* Updated ALAC decoder to refalac v1.80 (2023-07-05), compiled with ICL 2024.0 and MSVC 16.11
* Added an option to disable the icon in the notification area (now disabled by default)
* Updated language files (big thank-you to all contributors !!!)
Quote:
Download updated version of the QAAC add-in here:
LameXP.qaac-addin.2023-12-18.zip
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 29th December 2023 at 22:47.
LoRd_MuldeR is offline   Reply With Quote
Old 29th December 2023, 18:41   #1778  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,259
Super duper... Thank you my Lord
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 24th October 2024, 20:00   #1779  |  Link
bar72
Registered User
 
Join Date: Oct 2024
Location: Scotland
Posts: 2
Just like to say many thanks for this. Saved me a ton of time with a bunch of DVDs I was transcoding to mkv. Handy it normalises surround files with ease.
bar72 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 11:59.


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