Opened 19 months ago

Last modified 19 months ago

#10359 new defect

Incorrect MP4 with 24-bit and 32-bit PCM audio

Reported by: slydiman Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg writes PCM_S24LE to MP4 as is but ipcm atom reports PCM_S16LE.
As the result the audio stream is totally damaged.
The same behavior for PCM_S24BE -> PCM_S16BE and 32-bit PCM audio.

ffmpeg version: nightly build 20230507

How to reproduce:

% ffmpeg -i input.mp4 -c:v copy -c:a pcm_s24le output.mp4

Change History (2)

comment:1 by Balling, 19 months ago

Where is input.mp4?

in reply to:  1 comment:2 by slydiman, 19 months ago

Replying to Balling:

Where is input.mp4?

It may be any generic file, for example h264+aac.
You can use http://slydiman.me/ffmpeg/pcm/test.mp4

Note you need to playback output.mp4 in Google Chrome or MediaPlayerClassic from k-lite codec pack on Windows (or any Windows player except VLC player).

See also for more details
https://github.com/gpac/gpac/issues/2470#issuecomment-1560149797

Note: See TracTickets for help on using tickets.