-
-
Notifications
You must be signed in to change notification settings - Fork 793
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
RGABSource #1712
Comments
Hello, I'm not sure about the reason but if you have a value 0 or less then you have problems with the input. Also, you can try skip the conversión using RGBA/RGB color format in the configuratión directly (your codec need support it, normally unsupported and required API 23): MediaCodecInfo.CodecCapabilities.COLOR_FormatRGBAFlexible
MediaCodecInfo.CodecCapabilities.COLOR_FormatRGBFlexible |
In a neighboring thread you were given a list of codecs, maybe that will clarify something for you. Tested on pixel 3a xl and Xiaomi devices
E ---------------- |
Part 2
E ---------------- |
Part 3
Name: OMX.google.vp8.encoder |
I used this example to get a list of codecs. CodecUtil.showAllCodecsInfo().forEach { |
Hello, That code is not my code at all. That is a fork from other user. |
Ok, after check a bit more the code. I can understand the reason it is not working. H264Encoder class can't work because the surface set is ignored. When you configure a mediacodec for encoding, that parameter is not used: I will create a class that support it correctly. |
A big bow to you :) |
Hello, I did a commit to support a video source using buffers. I only tested it using rgba data. You can check it here: Try to copy the classes needed and test it in your project. |
Thank you so much, I'll check it out and let you know. |
Thank you, I managed to get it running, deepAr works and transmits video to twitch, albeit upside down, but that's okay. Thank you very much for your help! I'll test it a little more, if I don't have any more questions I'll close the topic. |
To solve the problem with the orientation you can flip the preview and the stream using this methods:
|
I want to thank you again for your hard work
I'm using RGABSource as per this example
https://github.com/pedroSG94/demo-deepAR-streaming/tree/master/app/src/main/java/com/example/streaming_deepar/streaming
but, from the logs, I am dont sending video packets , sound is there but no video ((
What can I give you, what logs can I give you to help me solve the problem?
The logs indicate that this line contains an error
![Image](https://private-user-images.githubusercontent.com/19845258/408813341-6be77d46-5cc1-4e06-80f8-80ff9b22312a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDE0MjMsIm5iZiI6MTczOTMwMTEyMywicGF0aCI6Ii8xOTg0NTI1OC80MDg4MTMzNDEtNmJlNzdkNDYtNWNjMS00ZTA2LTgwZjgtODBmZjliMjIzMTJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MTIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkN2JkMWEzNjM0MDhlMGYyY2QyYWFlMjg0ZDVhYzY3NTZiNjg3ODAyYTc1NGZkNjY0Y2ViOTI0NmU1YzZkZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dap2CkDa_yW_O7C3nTo8cryDd4LnC5rlnmlRn0CvTHw)
The text was updated successfully, but these errors were encountered: