Skip to content

Video: encode implementations behind the VideoEncoder seam #74

Description

@justin13888

rawshift_video_core::VideoEncoder ships as a finished trait seam with no implementations — send-frame / receive-packet / flush, mirroring the decode side. Nothing implements it, and rawshift-video's feature tree has no -encode flags because there is nothing for them to gate.

Worth settling before anyone starts:

  • Which codecs. docs/SUPPORT.md rules out shipping software H.264/HEVC on patent grounds, and that reasoning applies to encode at least as strongly. Hardware encode is available — this machine's VAAPI driver exposes VAEntrypointEncSlice for H.264, HEVC and AV1 — so a hardware-backed encoder is the path that fits the existing policy.
  • Which containers. Muxing is a separate problem from encoding; mp4-atom writes boxes as well as reading them, so MP4 muxing is within reach.

Follow-up to #39.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions