Skip to content

Stream video to a texture #5221

Open
Open
@HackerFoo

Description

What problem does this solve or what need does it fill?

It's useful to stream a video from a compressed form, such as MPEG4 or WebM, for:

  1. Cut scenes
  2. In game displays, such as billboards and TVs in the background
  3. Short looping videos in tutorials to explain what the player should do

What solution would you like?

I would like a way to stream compressed video from an asset to a texture that can be applied to a mesh.

What alternative(s) have you considered?

I've considered using libraries provided by the OS to layer video on top, but this isn't ideal.

Additional context

Related wgpu issue: gfx-rs/wgpu#2330
Software decoding could be provided by gstreamer: https://crates.io/crates/gstreamer

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-FeatureA new feature, making something new possibleS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions