uestccokey / EZFilter

A lightweight (<180KB), easy-to-extend Android filter and dynamic sticker framework for adding filters and stickers for camera, video, bitmap and view.(一个轻量级(<180KB)、易扩展的Android滤镜和动态贴纸框架,支持摄像头、视频、图片和视图添加滤镜和贴纸。)
MIT License
208 stars 57 forks source link

Video importing orientation #21

Closed jackaru closed 6 years ago

jackaru commented 6 years ago

Found an issue when importing a video to renderview, the mediaplayer doesnt work with video orientation: because when I import a video in landscape it works well, if is in potrait it will stretch.

screenshot_20180115-230308

Don't know if it's a non implemented feature or I missed something in my code, here it is:

image image

uestccokey commented 6 years ago

Can you upload this rotated video? I'll test it

jackaru commented 6 years ago

https://docs.google.com/uc?export=download&id=1XRzcu8m3umMHbnSYeJikahvXvKz9XJVE

uestccokey commented 6 years ago

ok,I fix it.

jackaru commented 6 years ago

@uestccokey Errors when I run the app with EZFilter:1.6.0 :disappointed: image

jackaru commented 6 years ago

Solved after adding

compileOptions { targetCompatibility 1.8 sourceCompatibility 1.8 }

Thanks for fixing orientation!

uestccokey commented 6 years ago

find another bug, i will fix it later.

uestccokey commented 6 years ago

oh,it's my player's bug