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

Video decode issue on API 26 #1

Open
Tyler-Lopez opened this issue Oct 7, 2022 · 2 comments
Open

Video decode issue on API 26 #1

Tyler-Lopez opened this issue Oct 7, 2022 · 2 comments

Comments

@Tyler-Lopez
Copy link

Hi there,

I was working on replicating your code on my own Android Application decode the video stream and ran into an issue where there were green vertical lines with a green bar at the top. I thought this was an issue in my end, transferring the algorithm in this repo, but I cloned the application and found the exact same issue.

Note, that to run this app I had to change the minimum SDK from 27 to 26, as that is what my device was - so maybe that is what is causing both of these issues. I'm planning to see if theres anything related to MediaCodecList that might help.

image

@Tyler-Lopez
Copy link
Author

I was able to find the solution for API 26 using MediaCodecList, where you create the codec from a decoder found from iterating over that list. I'll make a PR if you're interested to merge in a solution and see if it still works on your end.

@jithin8mathew
Copy link
Owner

@Tyler-Lopez , Thanks for reporting this issue. I was busy with some other projects. I am interested to see your solution and will try to test it on my side. Thank you.

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