chipweinberger / flutter_quick_video_encoder

Quickly encode raw RGB images & PCM audio to MP4 video using the hardware h264 encoder
The Unlicense
7 stars 0 forks source link

Feature Request: Video Frame Extraction From Input Video Source and Manipulation Frame Image #6

Closed Greek-Cp closed 3 months ago

Greek-Cp commented 3 months ago

I suggest adding a feature for video file input where all video frames will be extracted so developers can manipulate and edit each frame individually. This will allow for adding text subtitle animations to specific frames. For example, subtitles can be added as sequential image animations like Subtitle_1.png, Subtitle_2.png, up to Subtitle_1000.png. These subtitle frames will then be rendered simultaneously with the video frames, overlaying the subtitle frames on top of the video frames. Additionally, this feature will facilitate the application of video filters on a frame-by-frame basis, providing more flexibility in video editing."

Greek-Cp commented 3 months ago

Hi @chipweinberger,

I recently conducted an experiment to extract all frames from a video source input sent via Flutter to a native function extractFrameVideo. I extracted the frames in their entirety and created a function to extract each frame and send it as raw RGBA to the Flutter code. Subsequently, I used your library to render the frame segments from my video source and successfully exported it as an MP4.

I suggest adding a feature for video file input where all video frames will be extracted so developers can manipulate and edit each frame individually. This will allow for adding text subtitle animations to specific frames. For example, subtitles can be added as sequential image animations like Subtitle_1.png, Subtitle_2.png, up to Subtitle_1000.png. These subtitle frames will then be rendered simultaneously with the video frames, overlaying the subtitle frames on top of the video frames. Additionally, this feature will facilitate the application of video filters on a frame-by-frame basis, providing more flexibility in video editing.

Thank you for considering this enhancement.

chipweinberger commented 3 months ago

thanks for the idea

it is beyond the scope of this library

flutter_quick_video_encoder is just for encoding, not decoding

Greek-Cp commented 3 months ago

thanks for the idea

it is beyond the scope of this library

flutter_quick_video_encoder is just for encoding, not decoding

Can you add this feature or library? if possible that would be good, because it will be used by many developers and there is very little library information to do this frame video Manipulation

chipweinberger commented 3 months ago

I cannot add it, no.

But you can create a new library and add it.