wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
126 stars 20 forks source link

Reverse video playback on MacOS and iOS #75

Open tannker opened 4 months ago

tannker commented 4 months ago

Does fvp / mdk-sdk support reverse playing video on MacOS and iOS?

With flutter video_player package I have discovered that for some videos (e.g. HEIC MOV) reverse playing is working, if I modify plugin code and allow negative playback speed. I guess this is due to fact that Apple's AVPlayer generally supports reverse playback if its canPlayReverse property returns true for a specific video file. Reverse playback is also working on QuickTime player on Mac.

I have tried to alter also fvp code in order to support negative playback speed, but currently have not succeeded - it always seems to default to 1.0 in such case. Maybe there is some additional check on mdk-sdk C++ side or it just does not support it at all.

Hence the question - does fvp / mdk-sdk theoretically support reverse playing video (e.g. HEIC MOV that reverse plays with AVPlayer) on MacOS and iOS?

wang-bin commented 4 months ago

no. planned but it's difficult