I have built mp3splt from the latest source tarball(s) according to the instructions and without any problems, however, when trying to use it I get above error.
The file I am trying to split is a valid mp3. Output from 'file P20021007.mp3' command:
P20021007.mp3: MP3 file with ID3 version 2.3.0 tag
My system is MacOSX 10.3 (Darwin Kernel Version 7.9.0).
otool output:
otool -L /usr/local/bin/mp3splt
/usr/local/bin/mp3splt:
/usr/local/lib/libmp3splt.0.dylib (compatibility version 1.0.0, current version 1.5.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
otool -L /usr/local/lib/libmp3splt.0.dylib
/usr/local/lib/libmp3splt.0.dylib:
/usr/local/lib/libmp3splt.0.dylib (compatibility version 1.0.0, current version 1.5.0)
/usr/lib/libltdl.3.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
Any ideas?
Cheers,
Peter
Logged In: YES
user_id=1009175
Originator: NO
Hello,
I know that there are issues with libmp3splt on mac.
I will take a look this evening.
Meanwhile, you could try to rename 'libsplt_mp3.dylib' to 'libsplt_mp3.so'
and 'libsplt_ogg.dylib' to 'libsplt_ogg.so'.
--
Alex
Logged In: NO
Alex, renaming as per your suggestion worked...I can now split files successfully. Thanks very much, this is a great program!
i have the same problem. i've used the compiled version 2.2 in this site.
I've tried exactly the same command line with version 2.0e, and if worked flawlessly
sorry, i forgot to add: i've used the compiled WINDOWS version 2.2 in this site
Hello,
on windows, you have to run mp3splt from the project where you
have it installed (usually C:\Program Files\mp3splt), because it
searches for the plugins in the current directory.
Clicking on the icon that appeared on your desktop should
put you in that directory.
You can also type :
mp3splt.exe -D
This should give you an extra output with the plugins found.
You could also give me the output.
What version of Windows are you using ?
--
Alex
I mean "from the directory where you have it installed" instead of "from the project where you have it installed".
thanks alex, it's working now (from the directory where mp3splt.exe is in)
Hello,
this issue has been fixed in the latest version
(libmp3splt v0.5.1 & mp3splt v2.2.1)
I am closing the ticket for the moment.
Feel free to reopen it if necessary.
--
Alex
Hello Alex,
I am currently running "mp3splt 2.6.2 (09/11/14) - using libmp3splt 0.9.2" on a Mac with Yosemite.
I get the above error while trying to split a file.
My system Mac details are
Darwin 14.1.0 Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64
I performed the following to get to this point
1)
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -137,7 +137,7 @@ static int splt_p_filter_plugin_files(const struct dirent *de)
return 0;
}
{
return 0;
}
2) cp /usr/local/lib/libmp3splt.dylib ~/.libmp3splt/
3) And finally I ran the command below.
kidharb@Kidhars-MacBook-Pro:/Volumes/Storage/Music/Audio/Chelsea_Wolfe/temp $ mp3splt -Ds ChelseaWolf.mp3
mp3splt 2.6.2 (09/11/14) - using libmp3splt 0.9.2
Matteo Trotta <mtrotta at="" users.sourceforge.net="">
Alexandru Munteanu
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!</mtrotta>
Searching for plugins ...
Scanning plugins in the directory /usr/local/lib/libmp3splt0
Scanning plugins in the directory /Users/kidharb/.libmp3splt
Looking at the file libmp3splt.dylib
Scanning plugins in the directory ./
Trying to open the plugin /Users/kidharb/.libmp3splt/libmp3splt.dylib ...
Number of plugins found: 1
plugin filename = /Users/kidharb/.libmp3splt/libmp3splt.dylib
plugin name = (null)
plugin version = 0.000000
extension = (null)
Setting silence log fname to mp3splt.log
Processing file 'ChelseaWolf.mp3' ...
Setting filename to split to ChelseaWolf.mp3
Starting to split file ...
Original filename/path to split is ChelseaWolf.mp3
Check and set correct options...
new fname path = __
Check if the new filename path is correct __
Detecting file format...
Checking the format of ChelseaWolf.mp3
No plugin found !
Verifying if the file ChelseaWolf.mp3 is a file ...
error: no plugin matches the file 'ChelseaWolf.mp3'
The plugins, are they available in another package, or are they built from source within libmp3splt?
Hi,
The plugins are from libmp3splt.
You shouldn't change the source code like this.
Leave it like it was.
As you can see plugin name = (null) is wrong.
All plugins must have a name.
Maybe I should add a check for this ..
After compilation, the plugins are found in the libmp3splt/plugins or libmp3splt/plugins/.libs directory.
The plugins files should be libsplt_mp3.so or libsplt_mp3.dynlib or so.
--
Alex
Hello,
I removed the libs that i copied into my home folder rm -rf ~/.libmp3splt
I reverted the source code change
I also am not running the application in my project directory
I listed the files in /usr/local/lib
~/Projects/src/mp3split/libmp3splt-0.9.2 (master) $ ls -l /usr/local/lib/splt
-rwxr-xr-x 1 root admin 194524 Mar 17 10:01 /usr/local/lib/libmp3splt.0.dylib
-rw-r--r-- 1 root admin 1199728 Mar 17 10:01 /usr/local/lib/libmp3splt.a
lrwxr-xr-x 1 root admin 18 Mar 17 10:01 /usr/local/lib/libmp3splt.dylib -> libmp3splt.0.dylib
-rwxr-xr-x 1 root admin 982 Mar 17 10:01 /usr/local/lib/libmp3splt.la
I now get the below output
kidharb@Kidhars-MacBook-Pro:/Volumes/Storage/Music/Audio/Chelsea_Wolfe/temp $ mp3splt -Ds ChelseaWolf.mp3
mp3splt 2.6.2 (09/11/14) - using libmp3splt 0.9.2
Matteo Trotta <mtrotta at="" users.sourceforge.net="">
Alexandru Munteanu
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!</mtrotta>
Searching for plugins ...
Scanning plugins in the directory /usr/local/lib/libmp3splt0
Scanning plugins in the directory /Users/kidharb/.libmp3splt
Scanning plugins in the directory ./
Number of plugins found: 0
Setting silence log fname to mp3splt.log
Processing file 'ChelseaWolf.mp3' ...
Setting filename to split to ChelseaWolf.mp3
Starting to split file ...
Original filename/path to split is ChelseaWolf.mp3
Check and set correct options...
new fname path = __
Check if the new filename path is correct __
Detecting file format...
Checking the format of ChelseaWolf.mp3
No plugin found !
Verifying if the file ChelseaWolf.mp3 is a file ...
error: no plugin matches the file 'ChelseaWolf.mp3'
What do you have in the following directory
/usr/local/lib/libmp3splt0
?
Or in
/usr/local/lib/libmp3splt
?
Hi,
kidharb@Kidhars-MacBook-Pro:~/Projects/src/mp3split/libmp3splt-0.9.2 (master) $ ls -la /usr/local/lib/libmp3splt0
ls: /usr/local/lib/libmp3splt0: No such file or directory
kidharb@Kidhars-MacBook-Pro:~/Projects/src/mp3split/libmp3splt-0.9.2 (master) $ ls -la /usr/local/lib/libmp3splt
ls: /usr/local/lib/libmp3splt: No such file or directory
kidharb@Kidhars-MacBook-Pro:~/Projects/src/mp3split/libmp3splt-0.9.2 (master) $ ls -a /usr/local/lib/
. libgdbm.dylib libmp3splt.dylib libpcre.1.dylib libpcrecpp.dylib
.. libltdl.7.dylib libmp3splt.la libpcre.a libpcreposix.0.dylib
ImageMagick-6.7.6 libltdl.a libosxfuse.2.dylib libpcre.dylib libpcreposix.a
audacity libltdl.dylib libosxfuse.dylib libpcre16.0.dylib libpcreposix.dylib
libfuse.0.dylib libltdl.la libosxfuse.la libpcre16.a librsync.1.0.2.dylib
libfuse.2.dylib libmacfuse_i32.2.dylib libosxfuse_i32.2.dylib libpcre16.dylib librsync.1.dylib
libfuse.dylib libmacfuse_i32.dylib libosxfuse_i32.dylib libpcre32.0.dylib librsync.a
libfuse_ino64.2.dylib libmacfuse_i64.2.dylib libosxfuse_i32.la libpcre32.a librsync.dylib
libfuse_ino64.dylib libmacfuse_i64.dylib libosxfuse_i64.2.dylib libpcre32.dylib librsync.la
libgdbm.4.dylib libmp3splt.0.dylib libosxfuse_i64.dylib libpcrecpp.0.dylib pkgconfig
libgdbm.a libmp3splt.a libosxfuse_i64.la libpcrecpp.a python2.7
Kidhar
Hi,
You most likely compiled libmp3splt without any plugin.
What is the output of the end of the ./configure command ?
Make sure to have installed libmad-dev and libid3tag-dev before issuing ./configure
--
Alex
Hi Alex,
I will install the missing libs.
Output of ./configure
checking for LIBMP3SPLT... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Hi,
Sorry I was not enough precise.
It is the ./configure of libmp3splt which is important.
Can you post the ./configure or libmp3splt ?
It is libmp3splt which decides what plugin to compile or not, depending if you have installed libmad-dev or libogg-dev or so ...
--
Alex
Hello Alex,
I will install the plugins and try again.
checking for lt_dlopen in -lltdl... yes
checking for Mad... no
*** Could not run Mad test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means libmad was incorrectly installed
*** or that you have moved libmad since it was installed.
configure: WARNING: libmad not found ! Will build without mp3 support.
checking for id3tag... no
*** Could not run id3tag test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means id3tag was incorrectly installed
*** or that you have moved id3tag since it was installed.
configure: WARNING: libid3tag not found ! Will build without id3 support.
checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: WARNING: Ogg not found! Download the latest version of libogg at http://www.xiph.org.
checking for Vorbis... no
*** Could not run Vorbis test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Vorbis was incorrectly installed
*** or that you have moved Vorbis since it was installed.
configure: WARNING: Vorbis not found! Will build without ogg/vorbis support.
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FLAC... no
configure: WARNING: libFLAC is not found. Will build without flac support.
checking whether to use Cutter... (cached) auto
checking for CUTTER... no
checking for ... no
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCRE... yes
checking for doxygen... no
Configuration for libmp3splt version 0.9.2 :
Plugins :
Other :
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3splt.pc
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating plugins/Makefile
config.status: creating test/Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile_all
config.status: creating doc/Doxyfile_api
config.status: creating doc/examples/Makefile
config.status: creating include/libmp3splt/version.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
=== configuring in libltdl (/Users/kidharb/Projects/src/mp3split/libmp3splt-0.9.2/libltdl)
configure: WARNING: no configuration information is in libltdl
Hello Alex,
I installed the required libs and it is working fine.
Thank you for you support Alex!
Kidhar
Configuration for libmp3splt version 0.9.2 :
Plugins :
Other :
Good :)
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Greetings!
I am using mp3splt on Windows 10 (using git bash MINGW environment) from a python program I'm building to 'automatically' process numerous recordings from a Zoom H2N recorder.
I put the program on my path and it worked perfectly from the command line (using bash or cmd). But however I tried to use it from my python scripts (using subprocess call or system.os) it would fail to cut the EXACT same mp3 file with the EXACT same command!
In tracking the issue to this thread, and noticing that mp3splt would only look in it's 'start' folder for plugins on Windows...
I was able to copy all the dlls to my python project folder, and then my python to mp3splt cli calls worked fine. But that's a lot of baggage...
It turns out that for both Windows batch files and Python files (and presumably Perl, PHP, Ruby, etc.), if you specify the FULL path to the mp3splt executable rather than just relying on it to be in your path, IT WORKS PERFECTLY!
I've only been using it for a few hours now, but am very pleased with what I've seen. Thank you for sharing your hard work with the world!
Best Regards,
Morgan