GithubHelp home page GithubHelp logo

Comments (7)

ryuujo1573 avatar ryuujo1573 commented on August 15, 2024 1

I'll try for that.
Thank you ❤️

from graphx.

roipeker avatar roipeker commented on August 15, 2024

Hi @ryuujo1573 . If you mean capturing a video from a Widget, like screen recorder, you should see if you can find a package in pub.dev
I think Flutter processing has an option to export gifs. Graphx has nothing on the subject.

Did I answered your question?

from graphx.

ryuujo1573 avatar ryuujo1573 commented on August 15, 2024

I've found this “Video Editor in Flutter using dart”, which is the similar case.

Maybe I was wondering how could I harness graphx abilities to make some awesome effects in producing video (or live-stream)...
and seemingly this "Render Flutter animation directly to video" may be the clue to embed the drawing into videos.

Thank you.

from graphx.

roipeker avatar roipeker commented on August 15, 2024

sorry the misunderstanding.
You can rasterize any DisplayObject with createImage() (outputs a dart.ui.Image) might be cpu intensive... the callback is async though, so I guess you can have a flag on stage.onEnterFrame to capture the stage for a period of time and save the images in a List, then output every image separately as frame1.png, frame2.png etc then use ffmpeg to join them as video/gif... i doubt u can get 60fps though in this process... and probably will need some fine tuning, but might work.

from graphx.

ryuujo1573 avatar ryuujo1573 commented on August 15, 2024

Is it possible to access Skia so as to draw into the buffer using GPU? (or any APU by some authentic SDK from manufacturers)
I found nothing on how to do this, or maybe I could make a fork to Flutter and mess with bunches of code?
Appreciations, Zhang.

from graphx.

roipeker avatar roipeker commented on August 15, 2024

I think you have to recompile the flutter engine with the exposed backend from Skia that you need. That's beyond my knowledge though.

from graphx.

ryuujo1573 avatar ryuujo1573 commented on August 15, 2024

flutter/flutter#99593
Initiated!
Any advise?

from graphx.

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.