Skip to content

Separate Render core code from FFMpeg #19

@Azramis

Description

@Azramis

To begin, I would like to thanks you for this incredible package ! Usage is simple and efficient 👌

Is your feature request related to a problem? Please describe.
As I mention it in another issue, I'm facing a problem when I want to use a different implementation of FFMpeg. Render depends of ffmpeg_kit_flutter_https_gpl which have only a few external library.

Describe the solution you'd like
I want to be able to write a custom MotionFormat that use libvpx external library (from ffmpeg_kit_flutter_video) for exemple.

This solution that seems the most obvious to me, is the separation of the code in two packages :

  • render_core, which provides abstractions and process of bitmap datas extraction. Datas will be interpreted/transformed by the new render package, or by custom implementations
  • render, which provides the current implementations, as the package is today

Also, it might be a good way to implements a web dedicated render package (i.e. render_web), based on render_core with no ffmpeg_kit_flutter deps.

Maybe there is a simplier and better solution (would be great !)

Describe alternatives you've considered
Fork the project an do it for myself.

I would be happy to work on this and open a PR, but it should be better to discuss about solutions before

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions