weixin_39620653 2020-11-22 02:51
浏览 0

Refactor Direct media player to use a Java direct ByteBuffer

The idea is to not expose the JNA Memory or Pointer class, but also more importantly to eliminate the conversion to a Java int[] and the memory copies that occur.

Initial testing of a prototype has shown positive results with very fast rendering.

This must be pushed to a vlcj 4.x release as the API will break in a backwards incompatible way.

该提问来源于开源项目:caprica/vlcj

  • 写回答

13条回答 默认 最新

  • weixin_39620653 2020-11-22 02:51
    关注

    Probably should create a vlcj 4.x branch to do this prototyping. Or create a branch for 3.x maintenance and do 4.x on master.

    Need to consider #184 and #335.

    Ideally it should be possible to mix/match direct audio/video with embedded for the ideal solution. Not sure right now how feasible that is.

    评论

报告相同问题?