feat(libSceShare): implement sceShareCaptureVideoClipExtended #989

Closed
Kikoarl wants to merge 1 commit from upstream-pr/989 into main
Kikoarl commented 2026-10-06 22:06:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T22:06:44Z.


What

Implement sceShareCaptureVideoClipExtended(const void* extended_param, int32_t* req_id) in libSceShare returning ERROR_NOT_SUPPORTED.

  • Provenance: Symmetric video counterpart to sceShareCaptureScreenshotExtended (commit 9b9194e) and extended counterpart to sceShareCaptureVideoClip. Originally declared as stub in commit d82bae0 (PPSA12544 Unity plugins). Implemented returning ERROR_NOT_SUPPORTED (0x81960007) and setting *req_id = -1 when non-null, matching sceShareCaptureScreenshotExtended and sceShareCaptureVideoClip.
  • Added unit tests in GuestShare.cpp verifying the call behaves consistently with sceShareCaptureScreenshotExtended.
  • Updated docs/dev/TechnicalDebt.md under ### Unknown function info.

Quality Checklist

  • One topic per PR; follow-ups go in a new PR.
  • Title matches Conventional Commits format (type(scope): summary).
  • docs/dev/TechnicalDebt.md updated if stubbing or inferring hardware behaviour.
  • Verified locally with ctest -R "guest_share".
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4765178862 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/989). Originally posted by [Kikoarl](https://github.com/Kikoarl) on 2026-10-06T22:06:44Z. --- ### What Implement `sceShareCaptureVideoClipExtended(const void* extended_param, int32_t* req_id)` in `libSceShare` returning `ERROR_NOT_SUPPORTED`. - **Provenance:** Symmetric video counterpart to `sceShareCaptureScreenshotExtended` (commit 9b9194e) and extended counterpart to `sceShareCaptureVideoClip`. Originally declared as stub in commit d82bae0 (PPSA12544 Unity plugins). Implemented returning `ERROR_NOT_SUPPORTED` (`0x81960007`) and setting `*req_id = -1` when non-null, matching `sceShareCaptureScreenshotExtended` and `sceShareCaptureVideoClip`. - Added unit tests in `GuestShare.cpp` verifying the call behaves consistently with `sceShareCaptureScreenshotExtended`. - Updated `docs/dev/TechnicalDebt.md` under `### Unknown function info`. ### Quality Checklist - [x] One topic per PR; follow-ups go in a new PR. - [x] Title matches Conventional Commits format (`type(scope): summary`). - [x] `docs/dev/TechnicalDebt.md` updated if stubbing or inferring hardware behaviour. - [x] Verified locally with `ctest -R "guest_share"`.
github-actions[bot] commented 2026-10-06 22:08:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T22:08:08Z.


Progress report (24eac1c → 66c163d)

📈 System libraries: 87.33% (+0.04%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceShare sceShareCaptureVideoClipExtended
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6026343170 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/989#issuecomment-6026343170). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-06T22:08:08Z. --- <!-- progress-report --> ### Progress report (24eac1c → 66c163d) 📈 **System libraries**: 87.33% (+0.04%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceShare | `sceShareCaptureVideoClipExtended` | </details>
oneandonlydean commented 2026-10-06 22:40:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T22:40:43Z.


Thanks. Returning NOT_SUPPORTED with an invalid request id like its siblings is consistent, and the test covers it.

Same question as on #986: sceShareCaptureVideoClipExtended is declared because PPSA12544's Share plugin imports it, but does the title call it on main? Video clip capture usually happens only on a player action. The log line where a title stops at this call would let me merge it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6026767079 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/989#issuecomment-6026767079). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-06T22:40:43Z. --- Thanks. Returning `NOT_SUPPORTED` with an invalid request id like its siblings is consistent, and the test covers it. Same question as on #986: `sceShareCaptureVideoClipExtended` is declared because PPSA12544's Share plugin imports it, but does the title call it on main? Video clip capture usually happens only on a player action. The log line where a title stops at this call would let me merge it.
Kikoarl commented 2026-10-06 23:40:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T23:40:13Z.


@oneandonlydean Thanks for verifying the error code consistency and the test coverage.

Similar to #986 , this was identified from PPSA12544's imported share symbols rather than a runtime log on main. Your observation is good: video clip capture is typically dispatched on user action or specific player events rather than during the main loading/startup sequence.

Since we don't have an active log trace showing a title halting at this call right now, I am completely fine with closing this PR to keep the queue focused on title-backed stubs, or deferring it until someone captures a title trace needing it. Feel free to close if you prefer.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6027486867 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/989#issuecomment-6027486867). Originally posted by [Kikoarl](https://github.com/Kikoarl) on 2026-10-06T23:40:13Z. --- @oneandonlydean Thanks for verifying the error code consistency and the test coverage. Similar to #986 , this was identified from PPSA12544's imported share symbols rather than a runtime log on `main`. Your observation is good: video clip capture is typically dispatched on user action or specific player events rather than during the main loading/startup sequence. Since we don't have an active log trace showing a title halting at this call right now, I am completely fine with closing this PR to keep the queue focused on title-backed stubs, or deferring it until someone captures a title trace needing it. Feel free to close if you prefer.
oneandonlydean commented 2026-10-07 00:02:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-07T00:02:39Z.


Thanks, that's clear. Same as #986: I'll close it for now. If a title stops at this call on main, please reopen it with the title ID and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6027797021 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/989#issuecomment-6027797021). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-07T00:02:39Z. --- Thanks, that's clear. Same as #986: I'll close it for now. If a title stops at this call on main, please reopen it with the title ID and the log line.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!989
No description provided.