[FFmpeg-user] Audio not playing in Quicktime Player

Moritz Barsnick barsnick at gmx.net
Wed Jan 3 15:02:21 EET 2018

On Wed, Jan 03, 2018 at 11:39:09 +0100, Gabriel Zachmann wrote:
>    Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 192 kb/s (default)
Well, at least this looks peculiar, but I'm no QuickTime/MOV/MP4
expert. I get the same when remuxing MP3 audio to an MP4 container.
When remuxing to a MOV container, I get ".mp3". I can't force ".mp3" on
MP4 container though:

$ ffmpeg -i ~/tmp/h265_mp3.mov -c copy -tag:a ".mp3" ~/tmp/h265_mp3_atag.mp4
ffmpeg version N-89665-gbddf31b Copyright (c) 2000-2018 the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/barsnick/tmp/h265_mp3.mov':
    Stream #0:1(eng): Audio: mp3 (.mp3 / 0x33706D2E), 48000 Hz, stereo, s16p, 128 kb/s (default)
      handler_name    : DataHandler
[mp4 @ 0xb7b3140] Tag .mp3 incompatible with output codec id '86017' (mp4a)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input

It looks like ffmpeg considers "mp4a" to be the correct tag for the MP3
codec in MP4 containers. (If I map to ipod = ".m4a" extension, which I
though was just a variation of the MP4 container, ffmpeg does use the
".mp3" tag.) I can't say whether ffmpeg is correct or not, just

Do you have any MP3 audio in MP4 files which play correctly? Does the
original MP3 audio in MOV file play correctly?


More information about the ffmpeg-user mailing list