[FFmpeg-user] Create hvc1 mp4 with ffmpeg only

Moritz Barsnick barsnick at gmx.net
Mon Jul 3 10:49:15 EEST 2017

On Mon, Jul 03, 2017 at 16:31:22 +0900, 桃源老師 wrote:
> > No idea, but have you *tried* doing this:
> > ffmpeg -i hev1.mp4 -c:copy -tag:v hvc1 hvc1.mp4
> Here's the result:
> [mp4 @ 0x7febaa001c00] Tag hvc1 incompatible with output codec id '174' ([35][0][0][0])
> Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
> Seems that ffmpeg does not accept to use hvc1 for mp4...

There are two patches on the development mailing list, waiting for
review and to be applied to ffmpeg master:

These may or may not make it to ffmpeg HEAD really soon.

In the meantime, you can apply them to your local build (are you
building yourself?) and see whether they help you.


More information about the ffmpeg-user mailing list