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

java.lang.IllegalStateException: Failed to stop the muxer #6

Closed
yueshiwei opened this issue Oct 31, 2018 · 1 comment
Closed

java.lang.IllegalStateException: Failed to stop the muxer #6

yueshiwei opened this issue Oct 31, 2018 · 1 comment

Comments

@yueshiwei
Copy link

yueshiwei commented Oct 31, 2018

oppo r9s `手机将flv,avi,mkv,webm4种格式的视频转成MP4格式的视频,都报错,怎么解决呢?其他手机没问题

@yellowcath
Copy link
Owner

因为MediaCodec是完全依赖系统的,可能是这个手机没提供相应的解码器?
验证的话可以断点看一下VideoDecodeThread.doDecode()里面MediaCodec.createDecoderByType()是不是报错了
如果视频没问题的话也有可能是音频,AudioUtil.writeAudioTrackDecode(),同样看里面的MediaCodec.createDecoderByType()是不是报错了

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