Code Monkey home page Code Monkey logo

mp3splt's Introduction

Basic instructions to compile on a *nix-like system

libmp3splt compilation

Install build & documentation dependencies: autopoint, autoconf, libtool, gettext, doxygen, graphviz. And needed libraries: libmad, libogg, libvorbis, libid3tag, libflac. Example on a Debian-like system:

sudo apt-get install autopoint autoconf libtool gettext doxygen graphviz libmad0-dev libogg-dev libvorbis-dev libid3tag0-dev libflac-dev

To compile libmp3splt, go inside the libmp3splt directory and type the following commands:

mkdir target
./autogen.sh
./configure --prefix=`pwd`/target
make
make install

mp3splt compilation

Once libmp3splt is compiled, go inside the newmp3splt directory and type the following commands:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/../libmp3splt/target/lib/pkgconfig/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/../libmp3splt/target/lib/ # needed for running the final executable
./autogen.sh
./configure
make

mp3splt executable can be found in newmp3splt/src/mp3splt.

mp3splt-gtk compilation

Install needed development files for audacious, gstreamer, gtk-3, libaudclient & libdbus-glib Example on a Debian-like system:

sudo apt-get install audacious-dev libgstreamer1.0-dev libgtk-3-dev libaudclient-dev libdbus-glib-1-dev

Make sure to compile libmp3splt before this step. Once libmp3splt has been compiled, go inside the mp3splt-gtk directory and type the following commands:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/../libmp3splt/target/lib/pkgconfig/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/../libmp3splt/target/lib/ # needed for running the final executable
./autogen.sh
./configure
make

mp3splt-gtk executable can be found in mp3splt-gtk/src/mp3splt-gtk.

mp3splt's People

Contributors

optimix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mp3splt's Issues

-s with 70% or 80% silence

Imported from SourceForge on 2020-09-13 14:24:29
Created by *anonymous on 2006-08-18 11:57:07
Original: https://sourceforge.net/p/mp3splt/feature-requests/32


Hello:
Thanks for a great utility, and keep up the good work.
Below are entries found in the mp3splt.log of a recent
run with the silence option.
The first two numbers are respectively the threshold
level (dB) to be considered silence, and min (minimum
number of seconds to be considered a valid splitpoint).
The rest I am unable to understand. I have tried
several "theories" of what the entries might mean, but
when I try them on the actual numbers and do some
arithmetic, the numbers "do not add up".

Can you please describe the meaning of these entries.
You might want to consider adding this description to
the doc. If it is there, I did not find it.

Thank you in advance.

-48.00 6.00
1503.790039 1517.060059 403
1401.329956 1413.449951 373
1229.369995 1241.150024 369
1557.150024 1568.359985 325

Virgil
P.S. If possible send please a copy or your reply to:
wkq6luffgyoeb18 jetable.org

Fix manpage linking for flacsplt/oggsplt

Imported from SourceForge on 2020-09-13 14:17:45
Created by *anonymous on 2014-03-23 12:25:53
Original: https://sourceforge.net/p/mp3splt/patches/9


Currently (if enabled) manpage linking for flacsplt/oggsplt is performed in install-exec-hook, which has no relation to install-man and therefore fails in my environment with error of non-existent target /usr/share/man/man1 directory (make 4.0). It happened to work with -jN with N > 1 probably due to install-man and install-exec being performed in parallel and therefore exec-hook being luckily executed after install-man was performed. Please apply attached patch which changes linking from install-exec-hook to install-data-hook.

Attachments:

Fix id3tags when copying from original / from filename-regex

Imported from SourceForge on 2020-09-13 14:18:13
Created by jprobst on 2016-11-29 21:27:36
Original: https://sourceforge.net/p/mp3splt/patches/11


Using mp3splt-gtk-0.9.2 with libmp3splt-0.9.2 incl. id3tag support, splitting an mp3 in one part (i.e. using two split-points) would not result in a file with the expected id3tags if preferences->tags->"split file tags" is set to "original file tags" or "extract tags from filename". Both cases would result in the same tags you get with "Custom tags (from the splitpoints table)", that is, empty tags by default if no custom tags were set in the splitpoints table.

How fixed (for developers): In every case, a tags_group is appended to the mp3split_state for every splitpoint, with the custom tags data. Then at a later time, in case of "original file tags" or "extract tags from filename", an additional tags_group is added with the expected tags. But since only the first splitpoint's tags are written to file, the last group is ignored. So I just added an if-clause which only appends the custom tags_groups if the "custom tags" mode is actually set.

Attachments:

Cue info vs. Splitted File info

Imported from SourceForge on 2020-09-13 14:23:07
Created by dane_1 on 2005-11-12 06:51:14
Original: https://sourceforge.net/p/mp3splt/feature-requests/24


I note that upon splitting an MP3 with CUE file
operation, the track names are NOT matching the cue
file track names.

Also the tag information is completely blank, although
much information is available in the cue file

I detail my suggestions and the problem in the attached
zip file. Containing a cue file, a DIR listing and a
suggestion *.txt file.

thank you

split by silence, name using freedb?

Imported from SourceForge on 2020-09-13 14:24:07
Created by wkearney99 on 2006-05-19 22:37:30
Original: https://sourceforge.net/p/mp3splt/feature-requests/29


Is there a way to get it to save the tracks it finds
using silence gaps, with track names found from freedb?

As in, I have an album 'whole' recorded from LP. I'd
like to split it and attach the freedb tags. The time
markers are different but the tracks are the same (in
number and order).

Possible?

set filename automatically from CUE file

Imported from SourceForge on 2020-09-13 14:22:47
Created by dane_1 on 2005-11-11 07:17:40
Original: https://sourceforge.net/p/mp3splt/feature-requests/23


Using mp3splt-gtk v0.2

  1. I open a cue file
  2. Press Add Cue split points button
  3. Click the Check mark "Split files"
  4. result - ONE time it split the mp3. Ever since then, all
    I get is a message on bottom status bar "Error: cannot
    open file"

notes on my efforts to solve problem:
a) the mp3 is NOT marked read only

b) I checked the cue files, they have the right MP3 file
name

c) Tried on about 20 different cue/mp3 files. Got same
error message

d) tired to split an MP3 which did not have a cue file
*not an albumwrap mp3. and also got same error
message

e) reinstalled the program

Output warning when silence not found

Imported from SourceForge on 2020-09-13 14:20:30
Created by dov-g on 2004-01-19 20:05:32
Original: https://sourceforge.net/p/mp3splt/feature-requests/12


I have in vain tried to use the -a option to
automatically find silent points. It didn't work for me
and what is frustrating is that I don't know why it
doesn't work. It would be nice if there was a warning
describing the failure. E.g. something like:

Warning: no silent split point found in interval

16:30-17:30.
Max silence time found was 0.7s.

Split into many chunks

Imported from SourceForge on 2020-09-13 14:23:24
Created by *anonymous on 2005-11-14 05:29:37
Original: https://sourceforge.net/p/mp3splt/feature-requests/25


I have a cheap MP3 player that forgets where it was
whenever you turn it off, and can't fast-forward (it can only
skip tracks.) I'd like to split my bigger podcasts into
chunks so that I don't always have to start at the
beginning. It looks like mp3splt could do the job, but I'd
have to run it several times to get all the chunks, and I'd
have to know in advance how long the file is. Ideally,
there's be a mode where you just tell it "give me three-
minute chunks" and it would make however many files it
took.

Thanks in advance.

my e-mail: [email protected]

UTF8 unicode characters

Imported from SourceForge on 2020-09-13 14:25:32
Created by *anonymous on 2006-11-25 15:51:54
Original: https://sourceforge.net/p/mp3splt/feature-requests/35


Does mp3splt support UTF8 unicode characters. I splitted an ogg vorbis file with this program using cue method and it truncates all the unicode characters (Japanese). Is it normal or do I miss something. If it has been implemented I can compile from svn no problem.

Having a lot of cue album files make my life miserable when I switch to Linux but your software saves the day. Thanks.

Customizable seeks in mp3splt-gtk

Imported from SourceForge on 2020-09-13 14:17:06
Created by avani42 on 2013-10-04 13:44:04
Original: https://sourceforge.net/p/mp3splt/patches/7


In mp3splt-gtk, the existing forward/backward seeks change the current time for a predetermined, though sound length dependent amounts. In a certain situation, I found this to be undesirable: while the sound length varied, the structure of the data in different recordings was the same, thus the same seek jump length was desirable for all files.

The attached patch makes seek jump length configurable. The defaults are such that the old behaviour is retained. For small jumps, the default value is 300 (milliseconds). For normal and big seeks, the default value of 0 triggers the old ("automatic") behaviour.

I hope you will find this patch useful and include it in the future versions.

Attachments:

trim silence from beginning and end

Imported from SourceForge on 2020-09-13 14:25:13
Created by *anonymous on 2006-10-13 11:01:30
Original: https://sourceforge.net/p/mp3splt/feature-requests/34


Hi there,
Would it be much work to have an option that detects
silence at the begininng and end of a mp3 file that
has only one song and then discards these silent
sections and saves the mp3 file (which now has no
leading or trailing silences)?

Mp3trim for windows does this great but I can't get it
to work under wine in linux

regards

Brian
[email protected]

Minimum Track Length

Imported from SourceForge on 2020-09-13 14:22:33
Created by *anonymous on 2005-10-17 21:59:23
Original: https://sourceforge.net/p/mp3splt/feature-requests/22


For splitting based on silence, there needs to be a
minimum track length. For instance, I need to be able
to specify that I don't want to split within 3 minutes of
the last split. I need to be able to set that length to any
number of minutes:seconds that I wish.

Alphabetic track number output variables

Imported from SourceForge on 2020-09-13 14:16:18
Created by erez_v on 2009-06-25 09:02:34
Original: https://sourceforge.net/p/mp3splt/patches/5


Added the output format variables @l, @l, @U, @U:

  • @l/@l: Track number (like @n/@n) as a lowercase letter ('a', 'b', ... 'z', 'aa', 'ab', 'ac'...)
  • @u/@U: Track number (like @n/@n) as an uppercase letter ('A', 'B', ... 'Z', 'AA', 'AB', 'AB'...)

Also supported: Specifying the number of digits, e.g., Track@u2 will give 'TrackAA.mp3', 'TrackAB.mp3', ... 'TrackAZ.mp3', 'TrackBA.mp3' , 'TrackBB.mp3'...
Still needs improvement: Calculating the number of digits in advance (this assumes base-10 at the moment)

This patch is against svn revision 522. For comparison, I've also included a minimalistic implementation (only one letter supported)

Thank you for a wonderful program!

CUE->Seconds precision

Imported from SourceForge on 2020-09-13 14:21:20
Created by *anonymous on 2004-06-28 08:05:21
Original: https://sourceforge.net/p/mp3splt/feature-requests/17


I wanna ask if last number in "INDEX 01" in cue file
analysis is recognized in range 00-99 or 00-74. Because
I think 00-74 is standard option. So when I am
splitting mp3 files with this utility I get strange
split times, because of precision 1/100 sec(I assume)
not 1/75 sec. So you can fix this, or add option to
select the right range.

Maiky

id3v2 Support

Imported from SourceForge on 2020-09-13 14:24:15
Created by *anonymous on 2006-06-21 03:28:25
Original: https://sourceforge.net/p/mp3splt/feature-requests/30


Hi, Im using you wounderful program to split Dj sets
files into mp3s, but im suffering from the same
problem from other people.. We need a id3v2 support
for long tagnames :D

Btw, when a new release (even a BETA) will be
avaliable to download?

want to add some examples in libmp3splt

Imported from SourceForge on 2020-09-13 14:23:41
Created by weongyo on 2006-01-01 19:16:20
Original: https://sourceforge.net/p/mp3splt/feature-requests/27


Hello.

I downloaded libmp3splt v0.2.1 recently. But I can't
any example in that sources. Even i can't in google.
So i want to add some examples in libmp3splt.

Maybe i think that nobody can't use libmp3splt if he
wouldn't analyze mp3splt sources.

So, I write a example which is very simple.


#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libmp3splt/mp3split.h>

int main (void)
{
int error;
splt_state *a;
splt_options b, *c;

c = &b;

memset (c, '\0', sizeof (splt_options));

a = libmp3splt_create_new_state (NULL, &error);
a->splitpoints[0] = 1000.0;
a->splitpoints[1] = 2000.0;

libmp3splt_split_file (".\1.mp3", a, 2, "", b);

libmp3splt_free_left_variables (a);
}

i spend my time to write this code for 2 hours.

i hope that nobody don't over again like me.

Thanks. and sorry for my fool english.

.XMCD file support from freedb.org

Imported from SourceForge on 2020-09-13 14:19:46
Created by *anonymous on 2003-09-27 19:09:17
Original: https://sourceforge.net/p/mp3splt/feature-requests/6


Love the program. It is the first ACCURATE mp3 splitter
I have found that uses .CUE files. Since you have
support for direct querying of the freedb database, I
would like to see mp3splt support splitting based on
the .XMCD format downloadable from freedb. This way
a user can manually browse through the database and
find the exact version of the album data that they
would like to use, save the .XMCD file, and use it just
like a .CUE file with the -c option.

Also, for those lazy people like myself who hate typing
really long MP3 filenames into the command line, a very
simple windows GUI would be nice for the win32 release.

Thanks again!

Colin
[email protected]

Year in id3

Imported from SourceForge on 2020-09-13 14:20:46
Created by thoensi on 2004-03-23 21:02:19
Original: https://sourceforge.net/p/mp3splt/feature-requests/13


I like this application so much I'm writing a graphical
launcher for it, automatically searching freedb for
matching length albums, and manually searching google
for album art. However, I miss the year in the ID3 tags
of the splitted files!

allow id3 tags &amp;amp; filenames w/o cddb

Imported from SourceForge on 2020-09-13 14:19:53
Created by *anonymous on 2003-11-07 21:00:02
Original: https://sourceforge.net/p/mp3splt/feature-requests/8


I'd like to see the ability to set a template for file
names and ID3 tags, even if they are not in CDDB. For
example, if I know that the album name is "Blue Album"
I'd like to specify that the ID3 tag on all output
files have "Blue Album" in the album title field.
Likewise, I'd like to say something like "-o
blue+album+track+@n" to have the first output file be
"blue album track 01.mp3" or whatever. (Sequential
number is a pretty good approximation of track number,
but one could add @s for sequential or segment number
if one preferred being exact.)

Love the program, though I use it mostly to split audio
books into 3-4 minute segments to make listening on my
mp3 player more managable... it is next to impossible
to fast forward through a 1 hour reading to find where
you left off.

id3v1 fields max length

Imported from SourceForge on 2020-09-13 14:20:52
Created by *anonymous on 2004-04-14 13:24:03
Original: https://sourceforge.net/p/mp3splt/feature-requests/14


First of all, i found this program amazing usefull, and
you've done a great job!!

i've only found one constrain though: the maximum
lenght of the id3 description fields.

Since you use the id3v1, the maximum length is 30, but
many many albums and compilations have tracks name much
longer than that: imagine a compilation with artist and
track name on each track entry... you easely take over
30 characters... so, why not adopt the idv3v2 or higher
specifications? many entries in the freedb.org db use
id3v2 or above.

And you can also write many more information regarding
the album with id3v2 and above...

i hope you'll listen to my whish... in the meantime,
thank you very much!!

albe

Put track numbers into the ID3 tag

Imported from SourceForge on 2020-09-13 14:19:15
Created by *anonymous on 2002-11-10 22:38:39
Original: https://sourceforge.net/p/mp3splt/feature-requests/2


I've split about a half a dozen MP3s with this application and mp3split did not include the track numbers when assigning ID3 tags to the newly formed MP3s.

Also, if the album is a multiple disk set, it should put the disk number in the disk number field in the ID3 tag instead of appending it to the album title.

These might be features of ID3 2+ only, I'm not sure...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.