[FFmpeg-user] PCM audio in MP4
Le Chiffre
le_chiffre at bondvillian.com
Thu Jul 4 18:49:04 EEST 2019
Can you embed wav audio? I seem to remember doing that myself.
On Thu, Jul 4, 2019 at 2:30 AM Peter B. <pb at das-werkstatt.com> wrote:
> Hi everyone :)
>
> I'm trying to create .mp4 files with uncompressed, linear PCM for audio
> in it.
>
> I know for quite a while already that FFmpeg doesn't allow that:
>
> > [mp4 @ 0x50cc780] Could not find tag for codec pcm_s16le in stream #0,
> codec not currently supported in container
> > Could not write header for output file #0 (incorrect codec parameters
> ?): Invalid argument
>
> In my research a few years ago I stumbled over a few sources saying that
> MP4 specs didn't allow LPCM for audio [1,2,3].
> However, I know that some (Sony) video cameras do produce PCM in .mp4
> container, and Wikipedia also lists LPCM as supported audio codec [4] in
> MP4.
>
>
> Experience has shown that "if FFmpeg can't/won't do it - there's a good
> reason" :)
> May I ask what that reason is?
>
>
> Thank you very much in advance for any insights,
> Peter B.
>
>
>
> # Links
>
> [1]
>
> https://stackoverflow.com/questions/17651975/unable-to-store-pcm-audio-in-mp4-container-file
> [2] https://forum.doom9.org/archive/index.php/t-140877.html
> [3]
>
> https://stackoverflow.com/questions/38309120/ffmpeg-mov-to-mp4-error-could-not-write-header-for-output-file-0-incorrect-co
> [4]
>
> https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#Audio_formats_supported
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list