Another day, another crack at this. And I've made progress. It turns
out that all I need to do to get v2 tags working in lame is to load the
getlocale.tcz extension. I don't even need to run the script to set the
locale with it - I just need to use the pCP extensions interface to load
it.
My locale stays as "C", and if I then run lame with the --id3v2-only
option I get a 2-byte (UTF-16?) v2 tag in the output.
So does this suggest a missing dependency in lame? Something that
happens when getlocale.tcz is loaded is enough to fix it:
Code:
--------------------
Downloading: bash.tcz
bash.tcz: OK
Downloading: glibc_apps.tcz
glibc_apps.tcz: OK
Downloading: glibc_i18n_locale.tcz
glibc_i18n_locale.tcz: OK
Downloading: glibc_gconv.tcz
glibc_gconv.tcz: OK
Downloading: getlocale.tcz
getlocale.tcz: OK
--------------------
I checked this with a fresh install again.
- Burn the image
- Boot the wired RPi4 from this image
- Load pcp-lame.tcz
- Copy testcase.wav to /home/tc
- $ lame --id3v2-only --ta lameartist testcase.wav *<- tag NOT written
to testcase.mp3*
- Load getlocale.tcz
- $ lame --id3v2-only --ta lameartist testcase.wav *<- v2 tag
successfully written testcase.mp3*
Code:
--------------------
tc@piCorePlayer:~$ hexdump -C -n 256 testcase.mp3
00000000 49 44 33 03 00 00 00 00 00 68 54 53 53 45 00 00 |ID3......hTSSE..|
00000010 00 2f 00 00 00 4c 41 4d 45 20 33 32 62 69 74 73 |./...LAME 32bits|
00000020 20 76 65 72 73 69 6f 6e 20 33 2e 31 30 30 20 28 | version 3.100 (|
00000030 68 74 74 70 3a 2f 2f 6c 61 6d 65 2e 73 66 2e 6e |http://lame.sf.n|
00000040 65 74 29 54 50 45 31 00 00 00 17 00 00 01 ff fe |et)TPE1.........|
00000050 6c 00 61 00 6d 00 65 00 61 00 72 00 74 00 69 00 |l.a.m.e.a.r.t.i.|
00000060 73 00 74 00 54 4c 45 4e 00 00 00 04 00 00 00 35 |s.t.TLEN.......5|
00000070 36 36 ff fb 90 44 00 00 00 00 00 00 00 00 00 00 |66...D..........|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 49 6e 66 6f 00 00 00 0f 00 00 |......Info......|
000000a0 00 17 00 00 27 2e 00 0b 0b 0b 0b 16 16 16 16 21 |....'..........!|
000000b0 21 21 21 21 2c 2c 2c 2c 37 37 37 37 42 42 42 42 |!!!!,,,,7777BBBB|
000000c0 42 4d 4d 4d 4d 59 59 59 59 64 64 64 64 64 6f 6f |BMMMMYYYYdddddoo|
000000d0 6f 6f 7a 7a 7a 7a 85 85 85 85 85 90 90 90 90 9b |oozzzz..........|
000000e0 9b 9b 9b a6 a6 a6 a6 a6 b2 b2 b2 b2 bd bd bd bd |................|
000000f0 c8 c8 c8 c8 c8 d3 d3 d3 d3 de de de de e9 e9 e9 |................|
--------------------
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111997
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping