Type: | Package |
Title: | Convert Video Files to 'mp3' Format, Merge or Trim Audio Files using 'FFmpeg' |
Version: | 1.0.7 |
Description: | Converts video files to 'mp3', merges multiple audio files and trims audio files using 'FFmpeg', which is dynamically downloaded to avoid bundling any third-party binaries. Users must ensure compliance with the license terms of 'FFmpeg' when using the package. See https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip for details. |
License: | GPL-3 |
Encoding: | UTF-8 |
Depends: | R (≥ 3.5.0) |
Imports: | fs, tools, utils, rstudioapi, httr |
Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
RoxygenNote: | 7.3.2 |
Config/testthat/edition: | 3 |
NeedsCompilation: | no |
Packaged: | 2025-03-24 16:10:35 UTC; lijin |
Author: | Lijin Arakkandathil Thekkathil [aut, cre] |
Maintainer: | Lijin Arakkandathil Thekkathil <lijin5673@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2025-03-24 16:30:06 UTC |
LJmp3converter: Convert Video Files to 'mp3' Format, Merge or Trim Audio Files using 'FFmpeg'
Description
Converts video files to 'mp3', merges multiple audio files and trims audio files using 'FFmpeg', which is dynamically downloaded to avoid bundling any third-party binaries. Users must ensure compliance with the license terms of 'FFmpeg' when using the package. See https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip for details.
Author(s)
Maintainer: Lijin Arakkandathil Thekkathil lijin5673@gmail.com
Download and Set Up 'FFmpeg'
Description
This function downloads the latest 'FFmpeg' executable and sets it up for the user. It ensures compliance with MIT licensing by not bundling 'FFmpeg' within the package.
Usage
download_ffmpeg()
Value
A string containing the path to the downloaded 'FFmpeg' executable.
Merge Multiple Audio Files into a Single MP3
Description
This function merges multiple audio files (MP3, WAV, AAC, FLAC, OGG, M4A) into a single MP3 file using FFmpeg.
Usage
merge_mp3()
Value
No return value, called for side effects.
Examples
## Not run:
if (interactive()) {
merge_mp3()
}
## End(Not run)
Launch the Video to MP3 Converter App
Description
This function converts video files to MP3. It provides a simple interface for selecting an input folder and processing the files, with the converted MP3 files saved in the same input folder.
Usage
run_converter_app()
Value
No return value, called for side effects.
Examples
## Not run:
if (interactive()) {
run_converter_app()
}
## End(Not run)
Trim an Audio File
Description
This function trims an audio file based on user-provided start and end times using FFmpeg.
Usage
trim_audio()
Value
No return value, called for side effects.
Examples
## Not run:
if (interactive()) {
trim_audio()
}
## End(Not run)