[FFmpeg-user] HEVC trouble

Matti Haveri matti.haveri at gmail.com
Wed Dec 23 18:24:51 EET 2020


On Wed, Dec 23, 2020 at 5:42 PM Michael <michaelwatchulonis at gmail.com>
wrote:

> Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo,
[mp4 @ 0x7fbabf811c00] Could not find tag for codec pcm_s16le in stream #1,
codec not currently supported in container
> Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
> Error initializing output stream 0:0 --

It seems the input is ProRes with PCM audio that mp4 does not support? So
the copied audio might not work for mp4.

Try this (modify -crf and -preset and audio options from their defaults if
needed. Oh, YMMV if you insist on some bitrate):

ffmpeg -i input.mov -c:v libx265 -crf 28 -preset medium -timecode
00:00:00:00 -tag:v hvc1 -c:a aac -b:a 128k output.mp4

- Matti


More information about the ffmpeg-user mailing list