Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why its not working on kitkat & lollipop devices ? #47

Closed
monikarora opened this issue Apr 11, 2017 · 8 comments
Closed

why its not working on kitkat & lollipop devices ? #47

monikarora opened this issue Apr 11, 2017 · 8 comments

Comments

@monikarora
Copy link

Hey , in marshmallow its working fine but not woking in 4.4.2 kitkat & lollipop devices ?
Please help me

@ypresto
Copy link
Owner

ypresto commented Apr 11, 2017

Detail of device and full stack trace please :)

@monikarora
Copy link
Author

Panasonic T40 4.4.2 & HTC Desire 620G 4.4.2 in both devices its not working

@ypresto
Copy link
Owner

ypresto commented Apr 11, 2017

Without stack trace I can't inspect cause of the issue :(

@monikarora
Copy link
Author

monikarora commented Apr 11, 2017

screenshot from 2017-04-11 14 37 42
select video from gallery get this error @ypresto please check this

@ypresto
Copy link
Owner

ypresto commented Apr 11, 2017

It seems that input video is not 16:9 resolution as stack trace says.
And it is not supported by this library for now.

See #40 (comment)

@ypresto ypresto closed this as completed Apr 11, 2017
@monikarora
Copy link
Author

:( ok

@ypresto
Copy link
Owner

ypresto commented Apr 30, 2017

Ah, I understood.
1920x1080 in mp4 is (actually) coded in 1920x1088 because 1080 is not multiple of 16.
Decoder should crop remainder 8 pixel rows, but decoder of your device returns original resolution...
It is bug of your device's codec, i think, unfortunately..

@ypresto
Copy link
Owner

ypresto commented Apr 30, 2017

Workaround is to add per-device fix to crop remainder rows. PR is welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants