Opened 4 years ago

Closed 2 years ago

#6860 closed enhancement (invalid)

hvc1 instead of hev1 in FourCC

Reported by: AlexisMay Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: videotoolbox
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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 (3)

comment:1 by Hendrik, 4 years ago

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.

comment:2 by Carl Eugen Hoyos, 2 years ago

Keywords: videotoolbox added; HEVC Mac macOS 10.13 removed

comment:3 by Elon Musk, 2 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.