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

E/TranscodeEngine(16841): Unexpected error while transcoding. #279

Open
y-vnk opened this issue Oct 8, 2024 · 7 comments
Open

E/TranscodeEngine(16841): Unexpected error while transcoding. #279

y-vnk opened this issue Oct 8, 2024 · 7 comments

Comments

@y-vnk
Copy link

y-vnk commented Oct 8, 2024

When I try to upload Video file which as audio, it is throwing below error.

E/TranscodeEngine(16841): Unexpected error while transcoding. E/TranscodeEngine(16841): java.lang.IllegalStateException: Input channel count not supported: 6 E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.audio.remix.AudioRemixer$Companion.get$lib_release(AudioRemixer.kt:26) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.audio.AudioEngine.handleRawFormat(AudioEngine.kt:47) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.codec.Decoder.drain(Decoder.kt:99) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.pipeline.QueuedStep.step(steps.kt:42) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.pipeline.Pipeline.executeStep(Pipeline.kt:51) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.pipeline.Pipeline.execute(Pipeline.kt:28) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.Segment.advance(Segment.kt:18) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.transcode.DefaultTranscodeEngine.transcode(DefaultTranscodeEngine.kt:114) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.transcode.TranscodeEngine$Companion.transcode(TranscodeEngine.kt:48) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.internal.transcode.TranscodeEngine.transcode(Unknown Source:2) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:102) E/TranscodeEngine(16841): at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:99) E/TranscodeEngine(16841): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/TranscodeEngine(16841): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/TranscodeEngine(16841): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/TranscodeEngine(16841): at java.lang.Thread.run(Thread.java:920)

I have tried with example from the lib, it is also throwing same error.

@y-vnk
Copy link
Author

y-vnk commented Oct 8, 2024

@jonataslaw Can you please check this once?

@Alwein
Copy link

Alwein commented Oct 9, 2024

Same here. I always get this error regardless the video

@khanhduy122
Copy link

I also have this error with some videos. Do you have a solution for it?

@delizondo
Copy link

delizondo commented Oct 30, 2024

Got the same error running my app in Android 10, I have no clue to how fix it
Tested in Android 14, and everything worked fine

@nafiskabbo
Copy link

Same error getting! Any solution?

@nafiskabbo
Copy link

Added fix and pushed changes. Can anyone check and approve it?
#287

@christianr11
Copy link

Got the same error when i upgraded my gradle version.

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

6 participants