getAudioClip.Rd
This function matches the metadata of audio and the metadata of the photo-identification to output audio clips containing photo-identified individuals
getAudioClip( selected_metadata, output_extension = ".wav", timezone = NULL, trim_interval = NULL, export_audio_folder = NULL, export_data_folder = NULL, export_data_filename = NULL, show_ffmpeg_on_console = FALSE )
selected_metadata | data frame with metadata of the audio included in the data frame containing the metadata of the photographs produced by the function |
---|---|
output_extension | |
timezone | string. Add the correct timezone where the audio were recorded, as per the R base notation (for additional information, see |
trim_interval | Integer. If the chosen output media is a audio clip, |
export_audio_folder | full path of the destination folder where the audio clips should be saved at |
export_data_folder | full folder path to where the data frame with the matched data should be exported to |
export_data_filename | csv name for the export file (e.g. |
show_ffmpeg_on_console | logical. If |
Requires FFmpeg. Please install it from [http://ffmpeg.org]
Alexandre Machado, Mauricio Cantor
if (FALSE) { getAudioClip(selected_metadata = df_selected_audios, output_extension = '.wav', timezone = "America/Sao_Paulo", trim_interval = 60, export_audio_folder = '/Volumes/HDD/export/sync', export_data_folder = '/Volumes/HDD/export/sync', export_data_filename = "audio_clips.csv", show_ffmpeg_on_console = TRUE) }