Re: [mediacapture-record] Ability to record non-realtime / frame-by-frame (#213)

Thank you that workaround partially works.
Unfortunately the VideoEncoder api doesn't support transparency/alpha recording.
https://chromium.googlesource.com/chromium/src/+/00d126142a32c598a0874ef80ba27a3591cd2b2c/third_party/blink/renderer/modules/webcodecs/video_encoder.cc#190
The MediaRecorder API does support transparency, however to make it work, it would need a better frame by frame api.

So currently, if you want to create a transparent video, you either have to record in real time using the MediaRecorder API or use the VideoRecorder API and use ffmpeg with a Chrome key to add transparency in a second pass.


-- 
GitHub Notification of comment by SamuelScheit
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/213#issuecomment-2917765410 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 28 May 2025 22:34:27 UTC