this post was submitted on 08 Nov 2025
13 points (100.0% liked)
No Stupid Questions
3449 readers
56 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
Also i really do not care about file size when it comes to quality for certain things. I just haplen to need an MP4 for my use case and id like to explore the options to do that exactly. I cant overemphasize how insignificant the file sizes are to me, id like to optimize for fidelity above all but in an mp4
Ah. Ok. Well, in that case, I've got an idea.
And, being honest here, I've learned this in the last few minutes, but apparently MP4 can technically only hold a certain number of different kinds of audio. There are some not-to-spec ways to put things like uncompressed WAV or FLAC into an MP4, but a lot of tools don't support that.
I just did some tests with FFMPEG and was not able to embed FLAC or WAV (pcm_s16le or pcm_s24le) into an M4A container, but I was able to embed ALAC into an M4A file with the following command:
And mpv is able to play the resulting M4A file just fine.
So, it seems like what you're going for is doable, at least depending which tool you use. But FFMPEG can do it. Whether your player of choice can play it is another question, but it definitely seems worth a try.
Oh, by the way, the M4A file is a tiny bit larger than the FLAC file:
(Username and computer hostname changed to protect the guilty.)
Excellent :) Thanks for this