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

Cannot scale the video properly #4

Open
Shanki070 opened this issue Feb 6, 2017 · 0 comments
Open

Cannot scale the video properly #4

Shanki070 opened this issue Feb 6, 2017 · 0 comments

Comments

@Shanki070
Copy link

Shanki070 commented Feb 6, 2017

I recored one video from camera with width=864 and height=480.

When I scale it down by 2, then the video get compressed with no issues.

But when I scale it down by 4, then I get warning : width or height not multiple of 16 and below exception :
java.lang.IllegalStateException at android.media.MediaCodec.dequeueOutputBuffer(Native Method) at VideoResampler.resampleVideo(VideoResampler.java:376) at VideoResampler.feedClipToEncoder(VideoResampler.java:245) at VideoResampler.resampleVideo(VideoResampler.java:208) at VideoResampler.access$200(VideoResampler.java:37) at VideoResampler$VideoEditWrapper.run(VideoResampler.java:165) at java.lang.Thread.run(Thread.java:841)

Is the issue related to scaling?

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

1 participant