Topics | |
| Input filename and paths | |
Macros | |
| #define | SPLT_DEFAULT_PARAM_THRESHOLD -48.0 |
| #define | SPLT_DEFAULT_PARAM_OFFSET 0.8 |
| #define | SPLT_DEFAULT_PARAM_MINIMUM_LENGTH 0.0 |
| #define | SPLT_DEFAULT_PARAM_MINIMUM_TRACK_LENGTH 0.0 |
| #define | SPLT_DEFAULT_PARAM_MIN_TRACK_JOIN 0.0 |
| #define | SPLT_DEFAULT_PARAM_GAP 30 |
| #define | SPLT_DEFAULT_PARAM_TRACKS 0 |
| #define | SPLT_DEFAULT_PARAM_SHOTS 25 |
| #define | SPLT_DEFAULT_KEEP_SILENCE_LEFT 0 |
| #define | SPLT_DEFAULT_KEEP_SILENCE_RIGHT 0 |
| #define | SPLT_DEFAULT_OUTPUT "@f_@mm_@ss_@h0h__@Mm_@Ss_@H0h" |
| #define | SPLT_DEFAULT_CDDB_CUE_OUTPUT "@A - @n - @t" |
| #define | SPLT_DEFAULT_SYNCERROR_OUTPUT "@f_error_@n" |
| #define | SPLT_DEFAULT_SILENCE_OUTPUT "@f_silence_@n" |
| #define | SPLT_DEFAULT_TRIM_SILENCE_OUTPUT "@f_trimmed" |
Functions | |
| splt_code | mp3splt_set_int_option (splt_state *state, splt_options option, int value) |
| splt_code | mp3splt_set_long_option (splt_state *state, splt_options option, long value) |
| splt_code | mp3splt_set_float_option (splt_state *state, splt_options option, float value) |
| int | mp3splt_get_int_option (splt_state *state, splt_options option, splt_code *error) |
| long | mp3splt_get_long_option (splt_state *state, splt_options option, splt_code *error) |
| float | mp3splt_get_float_option (splt_state *state, splt_options option, splt_code *error) |
| splt_code | mp3splt_set_oformat (splt_state *state, const char *format) |
| #define SPLT_DEFAULT_PARAM_THRESHOLD -48.0 |
Default value for the SPLT_OPT_PARAM_THRESHOLD option.
| #define SPLT_DEFAULT_PARAM_OFFSET 0.8 |
Default value for the SPLT_OPT_PARAM_OFFSET option.
| #define SPLT_DEFAULT_PARAM_MINIMUM_LENGTH 0.0 |
Default value for the SPLT_OPT_PARAM_MIN_LENGTH option.
| #define SPLT_DEFAULT_PARAM_MINIMUM_TRACK_LENGTH 0.0 |
Default value for the SPLT_OPT_PARAM_MIN_TRACK_LENGTH option.
| #define SPLT_DEFAULT_PARAM_MIN_TRACK_JOIN 0.0 |
Default value for the SPLT_OPT_PARAM_MIN_TRACK_JOIN option.
| #define SPLT_DEFAULT_PARAM_GAP 30 |
Default value for the SPLT_OPT_PARAM_GAP option.
| #define SPLT_DEFAULT_PARAM_TRACKS 0 |
Default value for the SPLT_OPT_PARAM_NUMBER_TRACKS option.
| #define SPLT_DEFAULT_PARAM_SHOTS 25 |
Default value for the SPLT_OPT_PARAM_SHOTS option.
| #define SPLT_DEFAULT_KEEP_SILENCE_LEFT 0 |
Default value for the SPLT_OPT_KEEP_SILENCE_LEFT option.
| #define SPLT_DEFAULT_KEEP_SILENCE_RIGHT 0 |
Default value for the SPLT_OPT_KEEP_SILENCE_RIGHT option.
| #define SPLT_DEFAULT_OUTPUT "@f_@mm_@ss_@h0h__@Mm_@Ss_@H0h" |
Default output for SPLT_OPTION_NORMAL_MODE when using SPLT_OUTPUT_DEFAULT.
| #define SPLT_DEFAULT_CDDB_CUE_OUTPUT "@A - @n - @t" |
Output filename format for CDDB and CUE when using SPLT_OUTPUT_DEFAULT.
| #define SPLT_DEFAULT_SYNCERROR_OUTPUT "@f_error_@n" |
Output filename format for SPLT_OPTION_ERROR_MODE when using SPLT_OUTPUT_DEFAULT.
| #define SPLT_DEFAULT_SILENCE_OUTPUT "@f_silence_@n" |
Output filename format for SPLT_OPTION_SILENCE_MODE when using SPLT_OUTPUT_DEFAULT.
| #define SPLT_DEFAULT_TRIM_SILENCE_OUTPUT "@f_trimmed" |
Default output for the trim silence split.
| enum splt_options |
Split options.
Use mp3splt_set_int_option, mp3splt_set_long_option and mp3splt_set_float_option to set those options.
Use mp3splt_get_int_option, mp3splt_get_long_option and mp3splt_get_float_option to get those options.
| Enumerator | |
|---|---|
| SPLT_OPT_PRETEND_TO_SPLIT | Pretend to split the file, without actually creating output files. This option works in all modes except error mode and dewrap split. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_QUIET_MODE | If quiet return less messages and don't do mp3 CRC check. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_DEBUG_MODE | If we return debug messages or not. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_SPLIT_MODE | The type of the split. Int option that can take the values from splt_split_mode_options. Default is SPLT_OPTION_NORMAL_MODE |
| SPLT_OPT_TAGS | What tags to put in the output split files. Int option that can take the values from splt_tags_options. Default is SPLT_CURRENT_TAGS |
| SPLT_OPT_XING | For mp3 files, if we write the Xing header. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_TRUE |
| SPLT_OPT_CREATE_DIRS_FROM_FILENAMES | If this option is SPLT_TRUE, we create directories from the output filenames without parsing for illegal characters the output filenames. Otherwise, we parse for illegal characters the filenames and replace them with '_'. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_OUTPUT_FILENAMES | Defines how the output filenames are created. Int option that can take values from splt_output_filenames_options. Default is SPLT_OUTPUT_DEFAULT |
| SPLT_OPT_FRAME_MODE | For mp3 files, force to use the frame mode or not. The frame mode processes the file frame by frame and it is useful when splitting VBR (Variable Bit Rate) files. Frame mode provides higher precision but is slower. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_AUTO_ADJUST | If we use silence detection to auto-adjust splitpoints. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_INPUT_NOT_SEEKABLE | If the input is not seekable. This allows splitting mp3 streams which can be read only one time and can't be seeked. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_PARAM_NUMBER_TRACKS | The desired number of tracks when having a SPLT_OPTION_SILENCE_MODE split. Int option that can take positive integer values. 0 means that we split as many files we find. Default is SPLT_DEFAULT_PARAM_TRACKS |
| SPLT_OPT_PARAM_SHOTS | The desired number of shots when having a SPLT_OPTION_SILENCE_MODE or SPLT_OPTION_TRIM_SILENCE_MODE split or using the SPLT_OPT_AUTO_ADJUST option. Int option that can take positive integer values. It defines the number of shots to be found after the silence. Decrease this value if you need to split files having closer silence points. Default is SPLT_DEFAULT_PARAM_SHOTS |
| SPLT_OPT_PARAM_REMOVE_SILENCE | Used to remove silence between the split tracks when having a SPLT_OPTION_SILENCE_MODE split. Int option that can take the values SPLT_TRUE or SPLT_FALSE. Default is SPLT_FALSE |
| SPLT_OPT_PARAM_GAP | The time to auto-adjust before and after splitpoint when having the SPLT_OPT_AUTO_ADJUST option. Int option that can take positive integer values. Default is SPLT_DEFAULT_PARAM_GAP |
| SPLT_OPT_ENABLE_SILENCE_LOG | |