obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

[macOS VT HEVC Encoders] Remuxed recordings use hev1 instead of hvc1, can't be used by system software without retagging

Open jcm93 opened this issue 3 years ago • 2 comments

Operating System Info

Other

Other OS

macOS 13

OBS Studio Version

Other

OBS Studio Version (Other)

https://github.com/obsproject/obs-studio/pull/7010

OBS Studio Log URL

https://obsproject.com/logs/A8qbyrYnsrNcdHuk

OBS Studio Crash Log URL

No response

Expected Behavior

If possible, remuxed HEVC recordings in OBS made with the hardware encoder should use hvc1 so as to be usable by system software directly after remuxing.

Current Behavior

Currently, remuxed HEVC recordings in OBS must be retagged with e.g. ffmpeg as hvc1 before built-in software (QuickTime, Final Cut, etc.) can open them.

Steps to Reproduce

Any remuxed recording made with the VT HEVC Hardware Encoder in OBS has this issue.

Anything else we should know?

Filed at Pat's request over at https://github.com/obsproject/obs-studio/pull/7010 .

jcm93 avatar Sep 07 '22 16:09 jcm93

Making remuxing use hvc1 for HEVC by default should work (since at this time you're not supposed to record to MP4 directly anyway).

Right now the tag is just set to 0: https://github.com/obsproject/obs-studio/blob/12d1f1c3358f7231244db0b971a333445e346f80/libobs/media-io/media-remux.c#L152-L154

derrod avatar Sep 07 '22 17:09 derrod

^Clarified the title as well to reflect that.

jcm93 avatar Sep 07 '22 17:09 jcm93

Fixed by bbb3dc00590a572cf49f97db3397221f0828f9ad

gxalpha avatar Nov 17 '22 00:11 gxalpha

Hi there,

This issue was solved over a year ago, but somehow, I still have it in OBS 30.0.2 for Windows (the latest version as of today). I do recordings in HEVC using NVENC, and it works fine, except I can't play the video stream with QuickTime on my Mac.

I tried adding the "hvc1" tag with ffmpeg, and it worked, so I suppose this is the same issue.

Just in case, here are my OBS settings:

Screenshot 2023-12-23 at 11 24 19

Thanks,

Denis

stebunovd avatar Dec 24 '23 20:12 stebunovd