MP3 tag manipulation under pCP
Collapse
X
-
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
-
Sorry this ended up being such a challenge.
The glibc_gconv extension is also required for the tinycore compiler extension which is why lame worked for me.
I've added glibc_gconv to the pcp-lame extension dependency file and pushed the change to our repository.
Thank you for persevering.Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.Comment
-
Thank you.Comment
-
While I've got you Ralphy, what would it take to compile lame as 64 bit? Does it seem feasible to you that some if the 5x speed difference between my old Ubuntu Macbook and my 4GB RPi4 could be down to 64 bit versus 32 bit?
I'm assuming that it would probably be too complicated, e.g. both versions would need to be provided because some pCP installations can't run 64 bit, and I'd guess that dependencies would also have to be available in both versions. But I won't know for sure unless I askComment
-
We have no 64 bit user space. But yes, it would have to start with a 64bit glibc. Multi lib support is not a trivial task.
My guess is that it it floating point capabilities of the pi. All of our binaries are designed to run on every pi. You “might” get some benefit compiling for the capabilities of the pi4, but then we have to start building processor dependent packages.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayerComment
-
Originally posted by ralphyHowever, I have put the rpi4 specific lame extension on my sf website for you to try.
On the 1GB unit I see a 2.55x improvement, and on the 4GB unit I see more or less the same 3x improvement that you do. I'm going to guess that your unit has more than 1GB of memory. If not, the difference might be due to me using an MP3 file as the input, rather than a WAV, so there's a bit of decoding time to factor into my results.
The speed of the 64 bit version on my Ubuntu Macbook (Core 2 Duo, circa 2004 I think) is now only 1.5x faster than my 4GB Pi (whereas it used to be 5x faster). That corresponds closely to the difference in processor speed (2.4 GHz versus 1.5 GHz, a 1.6x difference).
I'm going to store this special binary somewhere safe, and hope that the cumulative time I save with it in the future comes to more than the time you've invested on my behalf!Comment
-
Deleted my previous post...turns out that the lame build script was not using the recommended compiler options for even the rpi1.
I rebuilt the pcp-lame extension with them and the encoding results are within a second of the rpi4 specific binary.
Just update the pcp-lame extension from the repository for the faster lame.Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.Comment
-
Deleted my previous post...turns out that the lame build script was not using the recommended compiler options for even the rpi1.
I rebuilt the pcp-lame extension with them and the encoding results are within a second of the rpi4 specific binary.
Just update the pcp-lame extension from the repository for the faster lame.Comment
-
Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.Comment
-
Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.Comment
Comment