Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transcode Video files #1480

Open
nkast opened this issue Apr 12, 2024 · 0 comments
Open

Transcode Video files #1480

nkast opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nkast
Copy link

nkast commented Apr 12, 2024

The current VideoProcessor copies the video assets as-is.
This is because XNA only supported .WMV, and video was implemented only on WindowsDX and UAP so far.

We need the VideoProcessor to transcode videos to other formats, based on the target platform,
and also keep bitrate, frames, etc within a suitable range.
SongProcessor is already transcoding songs into WMA, MP3, OGG/vorbis, AAC. *[1]

We need to decide what formats to choose and for which platforms.
e.g. .3gp is a safe bet for Android, but we might ignore older devices
and choose a format common to most platforms with better compression rates, like mp4 or WebM.

*[1] https://github.com/kniEngine/kni/blob/e2c630cfd0f7499f79fc67be2a4e52a668714767/src/Xna.Framework.Content.Pipeline.Audio/Audio/DefaultAudioProfile.cs#L45C40-L55

@nkast nkast added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant