LJmp3converter is an R package that allows users to
convert video files to ‘MP3’ audio, merge
multiple audio files, and trim audio files
using ‘FFmpeg’.
It provides an easy-to-use interface for selecting input/output folders
and batch processing media files. The package uses the ‘RStudio
API’ or ‘utils’ to handle file and folder
selection.
To install the package from CRAN, run:
install.packages("LJmp3converter")
# Load the package
library(LJmp3converter)
# Run the video-to-MP3 converter process
run_converter_app()
# Merge multiple audio files into a single MP3
merge_mp3()
# Trim an audio file
trim_audio()
LJmp3converter can extract audio, merge, and trim files from various
formats, including:
- Video: ‘MP4’, ‘MKV’, ‘AVI’, ‘MOV’, ‘WMV’, ‘FLV’,
‘MPEG’, ‘MPG’, ‘WEBM’, ‘M4A’
- Audio: ‘MP3’, ‘WAV’, ‘AAC’, ‘FLAC’, ‘OGG’, ‘M4A’
LJmp3converter is licensed under GPL-3.
‘FFmpeg’ is not bundled with this package; it is
dynamically downloaded to ensure the package is lightweight.
Users are required to adhere to the ‘FFmpeg’ licensing terms when using
this package.