this post was submitted on 08 Nov 2025
13 points (100.0% liked)
No Stupid Questions
3449 readers
53 users here now
There is no such thing as a Stupid Question!
Don't be embarrassed of your curiosity; everyone has questions that they may feel uncomfortable asking certain people, so this place gives you a nice area not to be judged about asking it. Everyone here is willing to help.
- ex. How do I change oil
- ex. How to tie shoes
- ex. Can you cry underwater?
Reminder that the rules for lemmy.ca still apply!
Thanks for reading all of this, even if you didn't read all of this, and your eye started somewhere else, have a watermelon slice 🍉.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
ffmpeg can do that. It's a command-line utility that can do a ton of media format conversions. Idk what OS you're on, but you'll have to download ffmpeg, extract it, then use the ffmpeg executable file.
for Windows file paths it would be something like:
cd path\to\album\folderC:\path\to\ffmpeg.exe -i song.flac -map 0:a -c:a copy song.mp4to shove a flac file into an mp4 container as is. If, for whatever reason, the program you're trying to use, still doesn't like the flac format in the mp4 container, you can convert it to a 320kbps mp3 like:
C:\path\to\ffmpeg.exe -i song.flac -map 0:a -c:a libmp3lame -b:a 320k song.mp4(320kbps mp3 would probably have the least loss in perceptual quality from FLAC, while still having a wide range of compatibility)
(Also, the -map 0:a term makes sure that ffmpeg only tries to convert the audio stream. If you've got album art embedded in the FLAC file, it'll get upset trying to convert the album art to a h.264 without the map argument)
As for converting the whole album at once, if you're on Windows, idk how to do that. You'd have to look up how to use ForEach in powershell or something like that.
Anyone reading this on a Unix-like in bash would be able to run it in a loop in the album folder like:
for file in *.flac; do; ffmpeg -i "$file" -map 0:a -c:a libmp3lame -b:a 320k "${file%.*}.mp4"; done