Opened 7 years ago

Closed 5 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

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

comment:1 by Hendrik, 7 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, 5 years ago

Keywords: videotoolbox added; HEVC Mac macOS 10.13 removed

comment:3 by Elon Musk, 5 years ago

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