Giter Club home page Giter Club logo

Comments (10)

swift-kim avatar swift-kim commented on June 19, 2024

Discussions are going on in the flutter repo (https://github.com/flutter/flutter/issues?q=is%3Aissue+drm+video) to switch the video_player plugin implementation to use platform views (rather than Texture) to allow playing DRM contents on Android/macOS. Does it have something to do with our upcoming video hole approach, or do we still need a "hole" for the hardware decoder even if we use a platform view?

from plugins.

xuelian-bai avatar xuelian-bai commented on June 19, 2024

I think platform view is still implemented by texture now, DRM content could be supported by video hole solution.

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

I think platform view is still implemented by texture now.

Need to check, but as far as I understand the technologies are not something that overlap with each other.

DRM content could be supported by video hole solution.

I didn't mean we would have to support playing DRM contents on Tizen. I just wanted to know if the platform view approach could effectively replace the hole approach.

from plugins.

xuelian-bai avatar xuelian-bai commented on June 19, 2024

https://flutter.dev/docs/development/platform-integration/platform-views
it's android implementation:

  1. Virtual display

Virtual displays renders the android.view.View instance to a texture.

you can check code in PlatformViewsController.java & VirtualDisplayController.java

  1. Hybrid composition:

Prior to Android 10, Hybrid composition copies each Flutter frame out of the graphic memory into main memory, and then copies it back to a GPU texture. In Android 10 or above, the graphics memory is copied twice. As this copy happens per frame, the performance of the entire Flutter UI may be impacted.

I don't know where is the coresponding code, but it seems to be not a solution of good performance

from plugins.

renanmgs avatar renanmgs commented on June 19, 2024
  • A video cannot be played on a TV emulator (only white screen) (analysis)

Any news on this?

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

@renanmgs As far as I know, no.

@xuelian-bai Will the plus_player-based video_player_tizen plugin support TV emulator?

from plugins.

xuelian-bai avatar xuelian-bai commented on June 19, 2024

@swift-kim we need some time to confirm this

from plugins.

xiaowei-guan avatar xiaowei-guan commented on June 19, 2024

@renanmgs As far as I know, no.

@xuelian-bai Will the plus_player-based video_player_tizen plugin support TV emulator?

I created a Tizen 6.5 TV emulator, and tested video player plugin which based on plus player.
Play remote mp4 file and DRM successful, but we found setPlaybackSpeed fail, we need check all API.

from plugins.

ale-russ-kabbee avatar ale-russ-kabbee commented on June 19, 2024

Is there any new update on this issue. I'm still unable to play video in TV emulator. @xiaowei-guan , how did you make it work. Can you tell me the exact procedure you followed ?

from plugins.

swift-kim avatar swift-kim commented on June 19, 2024

https://pub.dev/packages/video_player_videohole can be used with TV emulators.

from plugins.

Related Issues (20)

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.