Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: The FLAC lossless audio is contained within an M4A file? (Read 4585 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

The FLAC lossless audio is contained within an M4A file?

The FLAC lossless audio is contained within an M4A file, is this normal?

I downloaded some Hires lossless (like 24/96) music files from Tidal, which are M4A files. My sony WM1Z cannot play them, file not supported.
When I put them in Foobar, I can see this:
X

So M4A file has a FLAC file in it as a container? Then I converted this M4A into FLAC via foobar, now my WM1Z finally can play it normally.

My confusions are:
1. Is this normal that Tidal uses M4A files to contain FLAC lossless files, and what for?
2. Actually, there is flac file inside the m4a file, but when I converted the m4a into flac via foobar, the file size still changes a little. Will the audio quality be negatively impacted by this conversion? Will it result in a decrease in the overall quality of the music?

Thanks a lot! because there are a lot lossless music contained in M4A format in Tidal, I really want to figure it out.

Re: The FLAC lossless audio is contained within an M4A file?

Reply #1
I didn't even know that mp4 container supports FLAC.
TAPE LOADING ERROR

 

Re: The FLAC lossless audio is contained within an M4A file?

Reply #2
Audio quality won't be affected by the conversion. The size changes most because the audio is re-encoded from the decoded data using compression settings that you chose. Even without re-encoding size should decrease a bit because native FLAC container is more efficient than MP4. There can also be small size differences because metadata padding amount can change, Tidal would have no need to use padding but not sure if it does.
If you want to avoid re-encoding you can use for example ffmpeg to extract the FLAC as is. But according to my test the file extracted that way won't be bit-identical to what went in the container.

Re: The FLAC lossless audio is contained within an M4A file?

Reply #3
I didn't even know that mp4 container supports FLAC.
Yes, there has been a formal specification and ffmpeg support since 2016, this has been formally registered in 2022 as part of the IETF FLAC spec RFC effort. You can find FLAC in this authorative list.
Music: sounds arranged such that they construct feelings.

Re: The FLAC lossless audio is contained within an M4A file?

Reply #4
I didn't even know that mp4 container supports FLAC.

not MP4, it is m4a. usually the container of AAC or ALAC from apple.

Re: The FLAC lossless audio is contained within an M4A file?

Reply #5
Audio quality won't be affected by the conversion. The size changes most because the audio is re-encoded from the decoded data using compression settings that you chose. Even without re-encoding size should decrease a bit because native FLAC container is more efficient than MP4. There can also be small size differences because metadata padding amount can change, Tidal would have no need to use padding but not sure if it does.
If you want to avoid re-encoding you can use for example ffmpeg to extract the FLAC as is. But according to my test the file extracted that way won't be bit-identical to what went in the container.

Thanks a lot! But it's not MP4, it is m4a. usually the container of AAC or ALAC from apple.
I hope the answer remains the same? lol