LiTr icon indicating copy to clipboard operation
LiTr copied to clipboard

Crash Occurs while trimming H.264/AAC videos

Open Manish-Microsoft opened this issue 3 years ago • 3 comments

Below is the stack trace of the crash

Seems like VideoTrackTranscoder is unable to configure the codec.

android.media.MediaCodec$CodecException: Error 0xffffec77 at android.media.MediaCodec.native_configure(MediaCodec.java) at android.media.MediaCodec.configure(MediaCodec.java:1943) at android.media.MediaCodec.configure(MediaCodec.java:1872) at e.j.a.a.n.c.a(CodecUtils.java:1) at e.j.a.a.n.c.f(CodecUtils.java:7) at e.j.a.a.n.c.d(CodecUtils.java:7) at e.j.a.a.g.e.i(MediaCodecEncoder.java:3) at e.j.a.a.m.e.j(VideoTrackTranscoder.java:5) at e.j.a.a.m.e.(VideoTrackTranscoder.java:8) at e.j.a.a.m.d.a(TrackTranscoderFactory.java:5) at e.j.a.a.d.b(TransformationJob.java:12) at e.j.a.a.d.j(TransformationJob.java:3) at e.j.a.a.d.run(TransformationJob.java:1)

Details of the video being trimmed

MicrosoftTeams-image (1) MicrosoftTeams-image

What might be the cause here?

Manish-Microsoft avatar Nov 16 '22 10:11 Manish-Microsoft

What is target video format sent to LiTr? Does it have a frame rate key?

izzytwosheds avatar Nov 16 '22 13:11 izzytwosheds

the TargetVideoFormat is same as input video format

Manish-Microsoft avatar Nov 17 '22 09:11 Manish-Microsoft

It is possible that input video format is missing a required parameter for frame rate. Can you debug and check?

izzytwosheds avatar Nov 18 '22 20:11 izzytwosheds