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

Validate encoders using MediaCodecList #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

selsamman
Copy link

It seems that validation of encoders was hard coded rather than using MediaCodecList. In the case of passthrough transcoding this can cause failures. This was cherry-picked from my fork which has tests and all tests ran with this code. I did not test it with the upstream repo.

@selsamman
Copy link
Author

This relates to #76

@jonmaim
Copy link

jonmaim commented Jun 26, 2019

Thanks @selsamman, great commit!

@ypresto
Copy link
Owner

ypresto commented Aug 19, 2019

Thats validation is intended: combinations of container x video-codec x audio-codec are so many but has limitation. Also uncommon combinations are not guaranteed to be supported on all (most of) devices.

Since this library is intended to generate video with stable format, I prefer common, frequently used combination for stability.

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

Successfully merging this pull request may close these issues.

3 participants