mp3splt-gtk
splt_options Struct Reference

#include <mp3splt.h>

Collaboration diagram for splt_options:

Data Fields

int album_tag_format
int artist_tag_format
int auto_increment_tracknumber_tags
int comment_tag_format
int create_dirs_from_filenames
int enable_silence_log
int force_tags_version
int length_split_file_number
int option_auto_adjust
int option_frame_mode
int option_input_not_seekable
splt_output_filenames_options output_filenames
long overlap_time
int parameter_gap
float parameter_min_track_join
float parameter_min_track_length
float parameter_minimum_length
int parameter_number_tracks
float parameter_offset
int parameter_remove_silence
int parameter_shots
float parameter_threshold
int pretend_to_split
int quiet_mode
int remaining_tags_like_x
int replace_tags_in_tags
int replace_underscores_tag_format
int set_file_from_cue_if_file_tag_found
splt_split_mode_options split_mode
float split_time
splt_tags_options tags
int title_tag_format
int xing

Detailed Description

structure with all the options supplied to split the file

Definition at line 564 of file mp3splt.h.

Field Documentation

int splt_options::album_tag_format

possible values are #splt_str_format

Definition at line 680 of file mp3splt.h.

int splt_options::artist_tag_format

possible values are #splt_str_format

Definition at line 678 of file mp3splt.h.

int splt_options::auto_increment_tracknumber_tags

true=auto-increment the tracknumber of the tags

Definition at line 711 of file mp3splt.h.

int splt_options::comment_tag_format

possible values are #splt_str_format

Definition at line 684 of file mp3splt.h.

int splt_options::create_dirs_from_filenames

SPLT_TRUE= don't patse output filenames for illegal characters.

Otherwise, we parse for illegal characters the filenames and replace them with '_'. The tags are always checked for illegal characters when set into filenames.

Definition at line 625 of file mp3splt.h.

int splt_options::enable_silence_log

true=enable the silence points log ('mp3splt.log')

Definition at line 716 of file mp3splt.h.

int splt_options::force_tags_version

If we force the mp3 tags version to 1 or 2 or 1 & 2; Set to 0 if force disable; If disabled, original tags version is set to split files, or version 1 if compiled without libid3tag support.

Definition at line 724 of file mp3splt.h.

int splt_options::length_split_file_number

the number of files to be created when splitting by equal time length

Definition at line 728 of file mp3splt.h.

int splt_options::option_auto_adjust

this option uses silence detection to auto-adjust splitpoints.

Definition at line 608 of file mp3splt.h.

int splt_options::option_frame_mode

frame mode (mp3 only).

Process all frames, seeking split positions by counting frames instead of bitrate guessing.

Definition at line 603 of file mp3splt.h.

int splt_options::option_input_not_seekable

True means: input not seekable.

enabling this allows you to split mp3 and ogg streams which can be read only one time and can’t be seeked. WARNING! if you don't know what this means you know why it is wise to set this to FALSE.

Definition at line 617 of file mp3splt.h.

splt_output_filenames_options splt_options::output_filenames

defines the output filenames

Definition at line 587 of file mp3splt.h.

int splt_options::parameter_gap

Auto-Adjust: the gap value around splitpoint to search for silence.

(positive integer for the time to decode before and after splitpoint;default gap is 30 seconds)

Definition at line 702 of file mp3splt.h.

float splt_options::parameter_min_track_join

The minimum track length for option_silence_mode [in seconds] to be kept as a valid segment.

A positive float of the minimum number of seconds to be left as output file. Smaller segments will be joined among others.

Definition at line 675 of file mp3splt.h.

float splt_options::parameter_min_track_length

The minimum track length for option_silence_mode [in seconds].

A positive float of the minimum number of seconds to be considered a valid splitpoint

Definition at line 668 of file mp3splt.h.

float splt_options::parameter_minimum_length

The minimum silence length for option_silence_mode [in seconds].

A positive float of the minimum number of seconds to be considered a valid splitpoint

Definition at line 662 of file mp3splt.h.

int splt_options::parameter_number_tracks

the desired number of tracks for option_silence_mode

(positive integer number of tracks to be split;by default all tracks are split)

Definition at line 649 of file mp3splt.h.

float splt_options::parameter_offset

the offset of cutpoint in silence

Float number between -2 and 2 and allows you to adjust the offset of cutpoint in silence time.0 is the begin of silence, and 1 the end;default is 0.8.

Used for option_auto_adjust and option_silence_mode

Definition at line 641 of file mp3splt.h.

int splt_options::parameter_remove_silence

true=remove the silence between split tracks

Definition at line 693 of file mp3splt.h.

int splt_options::parameter_shots

this option defines the number of shots to be found after the silence.

Decrease this value if you need to split files having closer silence points.

(positive integer number; default is SPLT_DEFAULT_PARAM_SHOTS)

Definition at line 656 of file mp3splt.h.

float splt_options::parameter_threshold

the sound level to be considered silence

(is a float number between -96 and 0. Default is -48 dB)

Definition at line 632 of file mp3splt.h.

int splt_options::pretend_to_split

Pretend to split the file, without real split.

this option works in all modes except error mode and dewrap split.

Definition at line 596 of file mp3splt.h.

int splt_options::quiet_mode

quiet mode: don't perform CRC check or other interaction with the user

Definition at line 590 of file mp3splt.h.

int splt_options::remaining_tags_like_x

Copy all tags from tag number 'remaining_tags_like_x'.

set to -1 to disable

Definition at line 708 of file mp3splt.h.

int splt_options::replace_underscores_tag_format

true=replace underscores with space

Definition at line 687 of file mp3splt.h.

int splt_options::set_file_from_cue_if_file_tag_found

SPLT_TRUE=set the current filename to split from FILE tag - if found in the CUE file.

Definition at line 690 of file mp3splt.h.

splt_split_mode_options splt_options::split_mode

this field can take the following values:

  • SPLT_OPTION_NORMAL_MODE
  • SPLT_OPTION_WRAP_MODE
  • SPLT_OPTION_SILENCE_MODE
  • SPLT_OPTION_TRIM_SILENCE_MODE
  • SPLT_OPTION_ERROR_MODE
  • SPLT_OPTION_TIME_MODE

Definition at line 573 of file mp3splt.h.

float splt_options::split_time

the time of split when split_mode = OPTION_TIME_SPLIT

Definition at line 605 of file mp3splt.h.

splt_tags_options splt_options::tags

might be:

  • SPLT_TAGS_ORIGINAL_FILE - write tags from original file
  • SPLT_NO_TAGS - does not write any tags
  • SPLT_CURRENT_TAGS - tags issued from the cddb or cue for example
  • or be set manually with the functions splt_tags_options tags;

Definition at line 582 of file mp3splt.h.

int splt_options::title_tag_format

possible values are #splt_str_format

Definition at line 682 of file mp3splt.h.


The documentation for this struct was generated from the following file: