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

Avoid odd resolution in AspectRatioResizer #103

Open
nguyenhoc89 opened this issue Oct 6, 2020 · 0 comments
Open

Avoid odd resolution in AspectRatioResizer #103

nguyenhoc89 opened this issue Oct 6, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nguyenhoc89
Copy link

I tried addResizer(AspectRatioResizer(9F/16F)) and it throwed this error below (4F/3F is still ok)

E/C2AllocatorIon: >>>SEC mapUsage Init ffffffff
E/C2AllocatorIon: >>>SEC mapUsage Init ffffffff
E/ACodec: [OMX.Exynos.AVC.Encoder] video encoder does not support odd resolution 480x853
E/ACodec: [OMX.Exynos.AVC.Encoder] configureCodec returning error -1010
E/ACodec: signalError(omxError 0x80001001, internalError -1010)
E/MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3
E/MediaCodec: configure failed with err 0xfffffc0e, resetting...

E/Transcoder: Fatal error while transcoding, this might be invalid format or bug in engine or Android.
android.media.MediaCodec$CodecException: Error 0xfffffc0e
at android.media.MediaCodec.native_configure(Native Method)
at android.media.MediaCodec.configure(MediaCodec.java:2023)
at android.media.MediaCodec.configure(MediaCodec.java:1951)
at com.otaliastudios.transcoder.transcode.BaseTrackTranscoder.onConfigureEncoder(BaseTrackTranscoder.java:86)
at com.otaliastudios.transcoder.transcode.VideoTrackTranscoder.onConfigureEncoder(VideoTrackTranscoder.java:74)
at com.otaliastudios.transcoder.transcode.BaseTrackTranscoder.setUp(BaseTrackTranscoder.java:63)
at com.otaliastudios.transcoder.engine.Engine.openCurrentStep(Engine.java:194)
at com.otaliastudios.transcoder.engine.Engine.getCurrentTrackTranscoder(Engine.java:223)
at com.otaliastudios.transcoder.engine.Engine.transcode(Engine.java:371)
at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:134)
at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:124)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

@natario1 natario1 changed the title Error when setVideoTrackStrategy [Fatal error while transcoding, this might be invalid format or bug in engine or Android] Avoid odd resolution in AspectRatioResizer Aug 11, 2024
@natario1 natario1 added bug Something isn't working good first issue Good for newcomers labels Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants