Convert to M4A without installing iTunes does not work

Bug reports go here.
RobNC
Posts: 5
Joined: Tue Sep 22, 2020 4:52 pm

Re: Convert to M4A without installing iTunes

Post by RobNC »

Hello, can you please confirm that this still works?
I have Win10 x64 build 2004, and XRECODE 3 x64 1.104. My username is "roblo". When I try the instructions above, no files are extracted to:
C:\Users\roblo\AppData\Local\Temp\XRECODE3
It shows these contents:
iTunes64Setup.exe (folder)
23397540__5jq1w_2.txt

Contents of the text file:

Code: Select all

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 201029448 bytes (192 MiB)

Listing archive: C:\Users\roblo\Downloads\iTunes64Setup.exe

--
Path = C:\Users\roblo\Downloads\iTunes64Setup.exe
Type = PE
Physical Size = 201029448
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2020-09-11 22:14:29
Headers Size = 1024
Checksum = 201072297
Name = iTunesSetup.exe
Image Size = 201052160
Section Alignment = 4096
File Alignment = 512
Code Size = 88576
Initialized Data Size = 200942080
Uninitialized Data Size = 0
Linker Version = 14.27
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 5368709120
Comment = 
{
FileVersion: 12.10.9.3
ProductVersion: 12.10.9.3
CompanyName: Apple Inc.
FileDescription: iTunes Installer
LegalCopyright: c Apple Inc. All Rights Reserved.
InternalName: iTunesSetup
OriginalFilename: iTunesSetup.exe
ProductName: iTunes
}
----
Path = .rsrc\RCDATA\CABINET
Size = 200792553
Packed Size = 200792553
--
Path = .rsrc\RCDATA\CABINET
Type = Cab
Physical Size = 200792553
Method = LZX:15
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 40135

----------
Path = iTunes64.msi
Size = 165761024
Modified = 2020-09-11 19:13:22
Attributes = A
Method = LZX:15
Block = 0

Path = AppleSoftwareUpdate.msi
Size = 3608576
Modified = 2020-09-09 18:41:54
Attributes = A
Method = LZX:15
Block = 0

Path = AppleMobileDeviceSupport64.msi
Size = 39944192
Modified = 2020-09-09 22:50:30
Attributes = A
Method = LZX:15
Block = 0

Path = Bonjour64.msi
Size = 2732032
Modified = 2020-09-09 18:39:50
Attributes = A
Method = LZX:15
Block = 0

Path = SetupAdmin.exe
Size = 140104
Modified = 2020-09-11 19:13:30
Attributes = A
Method = LZX:15
Block = 0

Files in iTunes64Setup.exe (folder):

Code: Select all

AppleMobileDeviceSupport64.msi
AppleSoftwareUpdate.msi
Bonjour64.msi
iTunes64.msi
SetupAdmin.exe
In the C:\Program Files\xrecode3\bin\qaac\x64 directory, there are no files.

Running the extraction process using XRECODE 3 shows:

Code: Select all

Please wait...
C:\Users\roblo\AppData\Local\Temp\XRECODE3\iTunes64Setup.exe\


Qaac support files were copied successfully, please press "Close"
Obviously, this doesn't work as qaac64.exe is not copied to the location needed.
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: Convert to M4A without installing iTunes

Post by admin »

Thanks for the report. The iTunes installation file has changed and that's why the current method wasn't working anymore.
Here's the update to try https://xrecode.com/test/setup_xrecode3 ... _1.105.exe
RobNC
Posts: 5
Joined: Tue Sep 22, 2020 4:52 pm

Re: Convert to M4A without installing iTunes

Post by RobNC »

Thanks for reading this post and re-building after finding the fix, so quickly!!

I saw the following message when extracting (per steps above):

Code: Select all

Please wait...
C:\Users\roblo\AppData\Local\Temp\XRECODE3\iTunes64Setup.exe\

Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\objc.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\msvcr100.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\CoreAudioToolbox.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\icudt62.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\CoreFoundation.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\msvcp100.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\libicuuc.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\libdispatch.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\ASL.dll
Copied file C:\Users\roblo\AppData\Roaming\XRECODE3\bin\qaac\x64\libicuin.dll

Qaac support files were copied successfully, please press "Close"
Files qaac64.exe and refalac64.exe were copied to here:
C:\Program Files\xrecode3\bin\qaac\x64

The whole reason I went down this path is because of some mis-behavior of Nero's AAC codec with some FLAC files; at a setting of VBR 0.40 (126kbps it says), I got some files that seemed huge, like 256kbps with or without HE. I need some kind of tool to determine why some of my files are huge, 18-20MBytes but others done correctly (same settings, all about 4 min long songs) are around 3-4MBytes.

By the way, your test build looks good to me, it works as the older versions did (correcting a change in the iTunes exe file).
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: Convert to M4A without installing iTunes does not work

Post by admin »

I moved the bug report here, so that "How to" stays clean.
Could you, please, send one such Flac file to xrecode@gmail.com? You could use https://wetransfer.com. Also, include the Diagnostic information (it's under About button), so that I could reproduce the issue.
RobNC
Posts: 5
Joined: Tue Sep 22, 2020 4:52 pm

Re: Convert to M4A without installing iTunes does not work

Post by RobNC »

Thanks for moving it into the bug report area, I completely agree with trying to keep the Wiki howto clean.

I will update this in a second. I'm adding another bug I see with the gui.
I think my issue with the conversion size is the album image was stored as PNG which is very high quality and very large; removing the album cover reduces the size of the one MP4 from 18MB down to 3MB.
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: Convert to M4A without installing iTunes does not work

Post by admin »

Yeah, I noticed that too. Nothing wrong with the encoder, it's the Cover :)
bornleader
Posts: 5
Joined: Sun Jan 12, 2020 3:47 pm

Re: Convert to M4A without installing iTunes does not work

Post by bornleader »

I cannot get an M4P file to load as the source. Running XRECODE3 (64 bit) - 1.105. I've tried drag / drop and Files / Add with no joy.
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: Convert to M4A without installing iTunes does not work

Post by admin »

bornleader
Posts: 5
Joined: Sun Jan 12, 2020 3:47 pm

Re: Convert to M4A without installing iTunes does not work

Post by bornleader »

Installed update; loaded .m4p ok; started convert to .mp3; loaded .mp3 in Winamp; no joy zero minutes shown in Winamp
bornleader
Posts: 5
Joined: Sun Jan 12, 2020 3:47 pm

Re: Convert to M4A without installing iTunes does not work

Post by bornleader »

Just noticed error:

10/4/2020 12:17:33 PM: ERROR: D:\Users\Dave\Music\iTunes\iTunes Media\Music\Akon\Freedom\01 Right Now (Na Na Na).m4p / D:\Users\Dave\Music\iTunes\iTunes Media\Music\Akon\Freedom\Akon - Freedom.mp3 : Unhandled exception from nil : D:\Users\Dave\Music\iTunes\iTunes Media\Music\Akon\Freedom\01 Right Now (Na Na Na).m4p : ff_decode_audio Error while decoding (-1094995529) : Invalid data found when processing input
Post Reply