Opened 22 months ago

Closed 5 weeks 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 Changed 22 months 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 5 weeks ago by cehoyos

  • Keywords videotoolbox added; HEVC Mac macOS 10.13 removed

comment:3 Changed 5 weeks ago by richardpl

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