Quote:
Originally Posted by dhdurgee
Since you have a PW4 I would try copying the gstreamer binaries to the PW3 and place them with the sox binaries and libraries. You will of course need to edit the script to call gst-launch. Check with ldd to see if there are any other libraries required from the PW4. If this works it ought to be able to package an add-on for the PW3 for this.
Dave
|
Not too sure what I am doing but from the PW4,
Code:
[root@kindle bin]# ldd -v gst-launch
linux-vdso.so.1 (0x7ec51000)
/usr/lib/libenvload.so (0x76f9f000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x76e99000)
libc.so.6 => /lib/libc.so.6 (0x76d66000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x76d42000)
/lib/ld-linux.so.3 (0x76fa8000)
Version information:
./gst-launch:
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
/usr/lib/libenvload.so:
libgcc_s.so.1 (GCC_3.5) => /lib/libgcc_s.so.1
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
/usr/lib/libglib-2.0.so.0:
libc.so.6 (GLIBC_2.7) => /lib/libc.so.6
libc.so.6 (GLIBC_2.9) => /lib/libc.so.6
libc.so.6 (GLIBC_2.8) => /lib/libc.so.6
libc.so.6 (GLIBC_2.15) => /lib/libc.so.6
libc.so.6 (GLIBC_2.17) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.3 (GLIBC_2.4) => /lib/ld-linux.so.3
ld-linux.so.3 (GLIBC_PRIVATE) => /lib/ld-linux.so.3
/lib/libgcc_s.so.1:
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
Copied all of these plus the
gst-xxx to the PW3 sox extensions dir
Code:
D:\extensions\sox>dir
Le volume dans le lecteur D s’appelle Kindle
Le numéro de série du volume est 5870-FC60
Répertoire de D:\extensions\sox
2020-05-08 12:07 <DIR> .
2020-05-08 12:07 <DIR> ..
2020-05-01 15:31 279 config.xml
2020-04-30 17:01 75 killgst.sh
2020-05-05 17:40 63 killsox.sh
2020-05-05 17:46 2*367 menu.json
2020-05-09 01:29 1*278 playall.sh
2020-04-30 13:35 918 playfile.sh
2020-05-01 12:58 1*699 playinternetradio.sh
2020-04-30 15:42 1*119 playurl.sh
2020-05-05 17:49 2*179 README.txt
2019-05-28 00:00 168*704 sox
2020-04-22 13:30 168*704 soxi
2020-05-08 12:05 <DIR> library
2019-11-14 21:03 9*212 gst-launch
2019-11-14 21:03 20*248 gst-launch-0.10
2019-11-14 21:03 9*216 gst-typefind
2019-11-14 21:03 9*596 gst-typefind-0.10
2019-11-14 21:03 9*216 gst-xmlinspect
2019-11-14 21:03 17*664 gst-xmlinspect-0.10
2019-11-14 20:41 134*460 ld-linux.so.3
2019-11-14 20:41 1*218*216 libc.so.6
2019-11-14 20:42 4*032 libenvload.so.1
2019-11-14 21:03 4*032 libenvload.so.1.0
2019-11-14 20:05 132 libgcc_s.so
2019-11-14 21:03 116*088 libgcc_s.so.1
2019-11-14 20:41 989*320 libglib-2.0.so
2019-11-14 20:41 989*320 libglib-2.0.so.0
2019-11-14 21:03 9*216 gst-feedback
2019-11-14 21:03 9*212 gst-inspect
2019-11-14 21:03 30*280 gst-inspect-0.10
28 fichier(s) 3*926*845 octets
3 Rép(s) 1*778*819*072 octets libres
And I'm now getting this on PW3
Code:
[root@kindle root]# PATH=./:$PATH
[root@kindle sox]# ./playall.sh
[root@kindle sox]# ERROR: No version of tool gst-launch found.