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

Crash Occurs while trimming H.264/AAC videos #226

Open
Manish-Microsoft opened this issue Nov 16, 2022 · 3 comments
Open

Crash Occurs while trimming H.264/AAC videos #226

Manish-Microsoft opened this issue Nov 16, 2022 · 3 comments

Comments

@Manish-Microsoft
Copy link

Manish-Microsoft commented Nov 16, 2022

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?

@izzytwosheds
Copy link
Contributor

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

@Manish-Microsoft
Copy link
Author

the TargetVideoFormat is same as input video format

@izzytwosheds
Copy link
Contributor

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

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

2 participants