An m4a contains a video and an audio file.
Mpeg-4 files of the various formats contain video, audio, subtitles, and maybe other
data streams within the same single file. A stream is structured data within that file, not a seperate file.
They are processed separately as others have pointed out.
... or data can simply be discarded if one doesn't want, or cannot allow, that particular data in the output.