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

Video Compression/Encoding? #4

Open jtkeyva opened 3 months ago

jtkeyva commented 3 months ago

I noticed the readme mentions images and audio to video encoding. No mention of video as an input source. Any reason no mention in the readme?

chipweinberger commented 3 months ago

video input is not supported

this is not a transcoder. it only does encode. transcoding would require decode.

you can use this package for transcode: https://pub.dev/packages/video_compress

jtkeyva commented 3 months ago

got it thanks. that package doesn't do such a great job...does not compress very well. this one seems pretty good https://pub.dev/packages/media_tool_flutter

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."