I have hit a problem with sox that I don't know how to get past. I have installed the sox binary and all its missing dependencies. I need mp3 support, so I also installed the optional support for it and all of its missing dependencies. Even with this done sox -h does not show it as a known audio file format and an attempt to work with an mp3 file results in an error message.
Perhaps sox needs to be told where to look for the optional mp3 support, but I haven't found any reference to it in the documentation and I have the library file with all the others in the directory with sox and invoke sox with LD_LIBRARY_PATH=. for it to find the libraries I had to supply.
Has anyone run into this before and can tell me the work-around?
I also looked into ffmpeg, but it appears that debian didn't include that with Jessie and I assume the Stretch binaries would be too new to use on the pw4.
Dave
PS: I tried piping a wav file using sox to convert it to raw to a gst-launch pipeline and it started playing, so this might be workable once mp3 support is worked out
Last edited by dhdurgee; 04-22-2020 at 01:51 PM.
|