anharu2394 / tapioca

a Flutter plugin for video editing on Android and iOS.
https://pub.dev/packages/tapioca
MIT License
123 stars 54 forks source link

iOS image overlay does not work #55

Open dmayboroda opened 2 years ago

dmayboroda commented 2 years ago

Hi all Currently, working on app that use tapioca for video overlay creation, on android everything works like a charm, but on ios image overlays are not working. Even when i build an example with pink color overlay, text and image, - first two TapioaBalls works, but no image on result video.

I am ready to be a contributor, cause i need this functionality asap. Can you send me a tutorial how to build ? iOS 15.3 (Iphone 11) P.S. Same result for iOS emulator, no image overlay Thank you!

anharu2394 commented 2 years ago

@dmayboroda All right. First, clone the repository.

git clone https://github.com/anharu2394/tapioca

Second, open an iOS emulator. Third, using Android Studio, press a run button. Then, it will build the app and run it. So, you can debug it.

iOS original source code:

https://github.com/anharu2394/tapioca/tree/master/ios%2FClasses

Flutter source code: https://github.com/anharu2394/tapioca/tree/master/lib

If you edit iOS original source, iOS behavior of Tapioca will be improved!!

Thank you.

hbrhbr commented 2 years ago

Same issue.. Image overlay not working on iOS real device. Any solution to that issue???

dmayboroda commented 2 years ago

@hbrhbr The solution for ios - to switch x and y coordinates, becaue on ios the coordinate grid is different so yo need something like this if (ios){ show(y, x) else { show(x, y) }

DennisAshford commented 2 years ago

@dmayboroda I am having trouble with this also. I can see the overlay when generated from Android, but not iOS. What coordinates do you need to put in for iOS? I don't really care where the image goes yet, I just want to see if on the video. It doesn't appear to be working on iOS no matter where I put the coordinates.

ramesh998 commented 1 year ago

Do we have any solution for this?

jtkeyva commented 11 months ago

same problem here. cannot see any image even with many different coordinates