Opened 3 years ago

Closed 16 months 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 Changed 3 years 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.

comment:2 Changed 16 months ago by cehoyos

  • Keywords videotoolbox added; HEVC Mac macOS 10.13 removed

comment:3 Changed 16 months ago by richardpl

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.