bevyengine / bevyengine/bevy

Stream video to a texture

Open
#5,221 27 comments 37 reactions 0 assignees View on GitHub
A-Rendering C-Feature S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

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: https://github.com/gfx-rs/wgpu/issues/2330
Software decoding could be provided by `gstreamer`: https://crates.io/crates/gstreamer

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.