Comments (4)
Imported from SourceForge on 2020-09-13 14:23:42
Created by io_alex_2004 on 2006-01-01 23:08:06
Original: https://sourceforge.net/p/mp3splt/feature-requests/27/#667f
Logged In: YES
user_id=1009175
I am sorry but I had no time to write documentation. As
libmp3splt is not yet finished, I'm afraid that the function
body might change (for the "progress bar" for example, to
call an external function from the library provided by a
pointer).
I would suggest you to wait at least the 0.3 version.
Although, if you want to write your application using
libmp3splt, you can always send me a mail and I will help
you with that. You can find my mail at the end of the README
file from the libmp3splt directory. (I speak french, english
and romanian if this helps you)
We plan to rewrite mp3splt using libmp3splt, so after that
you will have a simple example (comparing to mp3splt-gtk).
This example seems correct. It does a simple split, from
1000 to 2000 (hundreths of seconds) to the file 1.mp3 in the
current directory (although ".\1.mp3" seems a bit strange).
Alex
from mp3splt.
Imported from SourceForge on 2020-09-13 14:23:45
Created by io_alex_2004 on 2006-01-02 00:52:10
Original: https://sourceforge.net/p/mp3splt/feature-requests/27/#9a64
Logged In: YES
user_id=1009175
This example is more correct :
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libmp3splt/mp3split.h>
//Warning, libmp3splt is still in developpement phase, many
//things will change from one version to another
int main(void)
{
int error;
splt_state *a;
splt_options b;
//libmp3splt version 0.2.1
//must be replaced with
//b.split_mode = OPTION_NORMAL_MODE in CVS
b.option_wrap_mode = 0;
b.option_silence_mode = 0;
b.option_time_split = 0;
b.option_mp3_error_mode = 0;
//silence auto adjust off
b.option_auto_adjust = 0;
//frame mode for the mp3 (useful for VBR)
b.option_mp3_frame_mode = 1;
a = libmp3splt_create_new_state (NULL, &error);
a->splitpoints[0] = 1000.0;
a->splitpoints[1] = 2000.0;
//name of the output file (without extension)
snprintf((char *)a->fn[0],255,"output");
//split the file in the current directory named
//"input.mp3" on unix-like systems
error = libmp3splt_split_file
((unsigned char *)"./input.mp3",
a, 2, (unsigned char *)"", b);
libmp3splt_free_left_variables (a);
}
Alex
from mp3splt.
Imported from SourceForge on 2020-09-13 14:23:48
Created by io_alex_2004 on 2006-05-06 03:24:07
Original: https://sourceforge.net/p/mp3splt/feature-requests/27/#2b0d
Logged In: YES
user_id=1009175
Warning, this post is deprecated. API has completely changed.
Documentation and examples are being written in CVS for the
new API. Use the library at your own risk, API may still
change. However, all my efforts are to stabilise it.
Cheers,
Alex
from mp3splt.
Imported from SourceForge on 2020-09-13 14:23:51
Created by io_alex_2004 on 2012-10-10 20:37:48
Original: https://sourceforge.net/p/mp3splt/feature-requests/27/#1a83
I have almost finished stabilizing the libmp3splt API and written full doxygen documentation for it.
The documentation will be posted officialy online with the next release.
Here is a preview of the current development version:
http://ioalex.net/testing_downloads/libmp3splt_api/
I am closing the ticket now.
Please repost here if necessary
- status: open --> closed
- milestone: --> Next_Release_(example)
from mp3splt.
Related Issues (20)
- Shortkey S didn't work for me
- Split points change when files created
- gstreamer not found
- Split files fewer than cue tracklist
- all tags with number of track = 1
- Bad split for CUE sheet more than 100 minutes.
- Split creates many nearly-empty files
- Generated .cue file has wrong splitpoints if using auto-adjust
- Web site downloads page Mac improvements
- Max seconds option?
- Error building source_packages
- Support for total amount of tracknumbers + album artist + album title
- "Error: bit reservoir failed - input files with Xing frame without LAME not yet supported" when attempting to create gapless MP3s by running in frame mode with bit reservoir flag HOT 1
- Error in: Silence - Split with silence detection
- Error: splitpoints are equal
- splitted parts are NOT FRAME equal at all
- allow build with pcre2
- mp3splt fails with "buffer overflow detected ***: terminated" after upgraded to Fedora 38 HOT 1
- Not possible to set tags containing comma ',' or closing bracket ']' in command line with -g option
- Build issue when libmp3splt is installed in custom directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp3splt.