rubygarage / media-watermark

GPU/CPU-based iOS Watermark Library for Image and Video Overlay
https://rubygarage.org/
MIT License
219 stars 63 forks source link

Text is in wrong position after processing #47

Open aqib4030 opened 3 years ago

aqib4030 commented 3 years ago

I was trying to add text to video , but it doesn't map the frame to exact postion mentioned

bohdansasko commented 3 years ago

could you tell more about the issue? Where would you like to place a watermark? // video or image

aqib4030 commented 3 years ago

On Fri, 7 May 2021 at 12:30 PM, Bohdan Sasko @.***> wrote:

could you tell more about the issue? Where would you like to place a watermark? // video or image

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rubygarage/media-watermark/issues/47#issuecomment-834134787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHN5K23R7G35DNHLBAASJM3TMOJIVANCNFSM4ZZA72KQ .

I fixed it after some tuning. The problem was when i add layer to video layer it gets shrink. Like video size is 19201080 and screen size is let’s say 800375. So i fixed it with ratio transformation formula. Let me know if you need that part of code. Regards Aqib javed +92 323 4353954

bohdansasko commented 3 years ago

On Fri, 7 May 2021 at 12:30 PM, Bohdan Sasko @.**> wrote: could you tell more about the issue? Where would you like to place a watermark? // video or image — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#47 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHN5K23R7G35DNHLBAASJM3TMOJIVANCNFSM4ZZA72KQ . I fixed it after some tuning. The problem was when i add layer to video layer it gets shrink. Like video size is 19201080 and screen size is let’s say 800*375. So i fixed it with ratio transformation formula. Let me know if you need that part of code. Regards Aqib javed +92 323 4353954

Great news :) Thank you, but so far I'm here only as a person who trying to help other developers. So, if you have any questions, feel free to ask me 😎

Regards Bohdan Sasko(0000xffff@gmail.com)