LeGoffMael / video_editor

A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection.

Home Page:https://pub.dev/packages/video_editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Android only] Show current frame of video as TrimSlider is being used

charlieforward9 opened this issue · comments

I would like to see the exact frame of the video when using the trim slider. Most video croppers have the ability to see the current frame when trimming for more accurate, real-time trimming. This would be a huge value-add to this package, bringing it closer to native-app-level UX.

I figure the best way to do this is to combine the video player and trim slider widgets into a single widget and put the functionality within that combined widget), I am on a deadline with a client, but if the app I am building proves to be a success, I may try to design it.

Would love to know if this already exists and I am missing it, and/or any further feedback on this functionality!

commented

Hello,

Yes this is a feature i also wanted to implements but it seems that the seekTo function of the flutter video controller does not update the video frame directly.

The trim slider and video player are supposed to be already synch using the VideoEditorController. I think we should only wait for the flutter video_player lib to fix this feature.

some related issues : flutter/flutter#78998, flutter/flutter#80054, flutter/flutter#72416.

Anyway you're welcome to open a PR if you find a solution !

If I understand correctly, the related flutter issues are required to be closed before this issue can be resolved? Thanks for the response!

commented

Pleach check out the new 2.0.0 version which seems better on iOS platform, however it is still not updating directly on android

My project is iOS only, so this was exactly what I needed. Thank you so much for the new versions! This solves my problem specifically, so I am happy to close this issue. I will leave that up to you though, given Android is still problematic.