Giter Club home page Giter Club logo

vulkan_video_mini_sample's Introduction

Vulkan VideoのH.264をデコードして再生してみるための最小サンプルです。

目的

Vulkan Videoにおいてサンプルコードがあまりない。 存在しても既存のエンジンに密接に関わっているなどであり、コードが追いにくい状態となっている。 そこで、このリポジトリでは依存関係を限りなく少なくし、複雑な部分を回避して、理解がしやすいコード状態を目指す。

環境情報

  • Visual Studio 2022
  • Vulkan SDK 1.3.280
  • Windows11 22H2

実行方法について

res フォルダ以下に、 mp4ファイルを配置します。 コードの中で、mp4を読み込む箇所があり、その部分を用意したmp4ファイル名に変更します。

諦めているもの

  • 詳細な動画コーデックのパラメータの解釈
  • 現時点では NVIDIA+Windowsの環境のみ動作
    • せめて他のAMD, Intelでも動作するようにはしたい
  • mp4/H264のみ動作
    • せっかくなので他のものにも対応できたらよいところではあるが...
  • 一人で本リポジトリのサポートを継続はできないので、現状As-isで提供

動作環境について

Windowsの NVIDIA RTX 3060を使っている環境でチェックしています。 Intel ARC搭載のノートPCで確認したところ動作不良という有様で、このリポジトリコードの対応状況は不十分です。

その他

この先、わかりやすいサンプルや動作環境が豊富なサンプルなどの出現のきっかけになったら幸いです。

vulkan_video_mini_sample's People

Contributors

techmadot avatar james2022-rgb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

james2022-rgb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.