Skip to content

Validate encoders using MediaCodecList#77

Open
selsamman wants to merge 1 commit into
ypresto:masterfrom
selsamman:validate-encoder
Open

Validate encoders using MediaCodecList#77
selsamman wants to merge 1 commit into
ypresto:masterfrom
selsamman:validate-encoder

Conversation

@selsamman

Copy link
Copy Markdown

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
Copy Markdown
Author

This relates to #76

@jonmaim

jonmaim commented Jun 26, 2019

Copy link
Copy Markdown

Thanks @selsamman, great commit!

@ypresto

ypresto commented Aug 19, 2019

Copy link
Copy Markdown
Owner

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