exeldro / obs-source-record

GNU General Public License v2.0
333 stars 37 forks source link

Cannot use Apple VT H264 Hardware Encoder #66

Open v opened 1 year ago

v commented 1 year ago

I'm on OBS Studio 28.1.2 and on plugin v0.3.1: https://obsproject.com/forum/resources/source-record.1285/update/5100/ Apple M1 Max OSX Ventura 13.0.1

When I try to use "Apple VT H264 Hardware Encoder" as the encoder for a source record filter, my logs output errors like this:

[VideoToolbox Source Record: 'h264']: Unsupported color format selected

When I switch to the software encoder, source record does work.

I can successfully use "Apple VT H264 Hardware Encoder" as the encoder for the overall OBS output, so it must be some problem in the plugin itself.

I have tried source record on the following sources:

  1. logitech brio webcam as a video capture device
  2. macOS screen capture (beta) with display capture
  3. browser capture with a link to https://vdo.ninja/

Is there some kind of additional color conversion that needs to happen in the source record plugin code?

umireon commented 1 year ago

Are you sure you using v0.3.1? The latest installer needs some manual operations. This plugin is working on my environment (OBS 29 v0.3.1 Ventura 13.1).

https://github.com/exeldro/obs-source-record/issues/63#issuecomment-1378739038