Opened 3 weeks ago

Last modified 3 weeks ago

#6860 new enhancement

hvc1 instead of hev1 in FourCC

Reported by: AlexisMay Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: HEVC, Mac, macOS 10.13,
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i input -c:v hevc_videotoolbox output.mp4
produces file with Codec ID(FourCC) hev1 which is unplayable in default Quicktime player on macOS 10.13.
Changing Codec ID to hvc1 in hex editor fixes the issue.
Can you please output by default hevc files with Codec ID hvc1?

Change History (1)

comment:1 Changed 3 weeks ago by heleppkes

Use this to set the codec tag

ffmpeg -i input -c:v hevc_videotoolbox -tag:v hvc1 output.mp4

Both hev1 and hvc1 are perfectly valid tags for HEVC according to the specification, it is impossible to know which one you would prefer without telling ffmpeg.

Note: See TracTickets for help on using tickets.