diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
| commit | ef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch) | |
| tree | 1089334258aefbd459d18cf6968e78f1194739b0 /mkmp3 | |
initial commit
Diffstat (limited to 'mkmp3')
| -rwxr-xr-x | mkmp3 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +for i in "$@"; do + # Arguments for converting flac to mp3. + # ab - audio bitrate of 320k + # map_metadata 0 - copy all metadata from input to output + # id3v2_version 3 - convert metadata into this format, so it's mp3 compatible + ffmpeg -i "${i}" -ab 320k -map_metadata 0 -id3v2_version 3 "${i%.*}".mp3 +done |
