Skip to content

Cannot scale the video properly #4

@Shanki070

Description

@Shanki070

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions