linkedin / LiTr

Lightweight hardware accelerated video/audio transcoder for Android.
BSD 2-Clause "Simplified" License
613 stars 85 forks source link

Transformation Error #268

Open jwcharp opened 1 year ago

jwcharp commented 1 year ago

getting this error intermittently -

E/MediaCodec: Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 5/STARTING D/MediaCodec: flushMediametrics E/TransformationJob: Transformation job error com.linkedin.android.litr.exception.TrackTranscoderException: Internal codec error occurred.Media transformation failed for job id: null Diagnostic info: android.media.MediaCodec.error_1100

Any ideas how I can resolve, or what may be causing it?

izzytwosheds commented 10 months ago

Apologies for the late response. Looks like the error is coming from Android's MediaCodec layer, which is beyond LiTr's control. Since codec is complaining about the lack of memory, I would check what resolution/bitrate you are trying to encode with and which device this is happening on. And if LiTr is the only one using MediaCodec at the time.