Git Product home page Git Product logo

projectayaya's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @WcaleNieWolny
  • ๐Ÿ‘€ Iโ€™m interested in making spigot plugins and rust programs
  • ๐ŸŒฑ Iโ€™m currently learning rust and kotlin
  • ๐Ÿ“ซ Reach me on discord: WcaleNieWolny#9599

projectayaya's People

Contributors

dependabot[bot] avatar wcaleniewolny avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

cdfn

projectayaya's Issues

YUV444P speed impovement

Currently the translating the frame to RGB format SUCKS. It takes 60% of the single threaded frame loading. I believe using YUV444P as well as using YUV444 precompiled color lookup table is the only way to eliminate the multi threaded video player.

The multithreaded video player also SUCKS. It is filled with bug prone code, that could crash the JVM, it is written in a horrific way. The illumination of the multithreaded is a critical step in improving this plugin. However to be able to that the single threaded player must be able to handle 4K 60 FPS. The previous frame splitting is a step in the right direction (I also coincided rewriting this entire splitting in C with openMP (#pragma omp) but i do not know if i will actually do that). Currently sws_scale is the performance killer. YUV444P Fixes that.

Better MSG passing from native -> java

Currently most implementations of the video player pass prepared video into java. Is is inefficient. Creating a lot packets containing video data does not allow of effective use of zlib compression of said packets. By preparing packets on the native side we could use more efficient zlib compression + create an algorithm to prevent sending redundant data. This could greatly improve client side performance.

Game screen flickering on remote server

When playing on a remote server the screen flickers due to movement packet delay. This can be mitigated by using the /minecraft:effect give PLAYER minecraft:slowness 300 5 true command however I is important that this gets integrated into the plugin itself

Windows bootstrap

Currently windows users have to setup FFmpeg manualy. This is bad because it requires user to follow a complicated guide. We need to create an easy way to automatically install FFmpeg. My idea:

  1. Try to load library normally
  2. if it fails check if a "bootstrap" option is enabled in config
  3. If so load a rust windows bootstrap lib
  4. in this lib we will check if FFmpeg is downloaded if so go to step 6
  5. Download and unzip prebuilt FFmpeg
  6. Call SetDllDirectoryA to add FFmpeg bin folder to path temporary
  7. Use libloading to load the lib
  8. If it succeed use get the library symbols and use register_native_methods to register native JNI method
  9. If nothing failed return to java. If something failed throw an exception

Windows build issue

Currently the CI does not compile due to this. As soon as that this issue gets fixed I will migrate to the fixed version so that CI can work again.

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.