Comments (4)
Hi @Ternado-git
You have to use minicap-debug.apk approach for now. team is not providing the minicap.so approach from Android 12 and onwards.
I have tried to build Android 13 R1 AOSP but now able to succeed, Getting error while getting the display.
int counter =0;
std::vectorandroid::PhysicalDisplayId physicalDisplayIds = android::SurfaceComposerClient::getPhysicalDisplayIds();
std::cout <<"Data need to be printed " physicalDisplayIds.size();
for (auto m_displayId : physicalDisplayIds) {
MCINFO("PHYSICAL DISPLAY IDS %d", counter);
dpy = android::SurfaceComposerClient::getPhysicalDisplayToken(m_displayId);
if(!dpy) {
MCINFO("MINICAP-33 :- could not get display for id:using getPhysicalDisplayToken");
dpy = android::SurfaceComposerClient::getInternalDisplayToken();
if(!dpy){
MCINFO("MINICAP-33 :- could not get display for id:getInternalDisplayToken");
}else{
MCINFO("MINICAP-33 :- Able to get the display id:getInternalDisplayToken");
}
}else{
MCINFO("MINICAP-33 :- Able to get the display for id:using getPhysicalDisplayToken");
}
counter++;
}
OR
https://cs.android.com/android/platform/superproject/+/master:frameworks/av/cmds/screenrecord/screenrecord.cpp;drc=d1a53fbe9a58652fa677af9bb1b07612f5c2e0ed;l=1171
here what would be the valude of :fromValue(atoll(optarg));
what would be the argument over here?
from minicap.
Hi @varundtsfi
Thank you for your reply, and where can i get the minicap_debug.apk?
from minicap.
Hi @Ternado-git
You have to run the following script(run.sh with required params) https://github.com/DeviceFarmer/minicap/blob/master/run.sh
This will build the following project and generate the apk and install to inside the device.
https://github.com/DeviceFarmer/minicap/tree/master/experimental
from minicap.
Related Issues (20)
- Minicap stream gets stuck | DRM protected content
- Rotation not handled correctly with apk HOT 12
- Video Player Frame stuck while Playing DRM protected Content | Android 11
- minicap shared library broken on SDK 31 HOT 12
- wehn ios-minicap catch device screen data, I find the time change to 09:41.
- I want to konw why ios minicap capture same screen data two times, the data is not the same?
- When to support android-31, if I try to do it myself, do you have any suggestions? HOT 4
- Need android-31 arm64-v8a.so HOT 8
- Why dose -d parameter have no effects? HOT 1
- Incorrect minicap.so x86_64 archeticture for android-31 HOT 4
- No android secured screen in Android 12 HOT 8
- Pixel 3 Android 12 won't connect
- [ENHANCEMENT] minicap written in pure public Android Java APIs
- [ENHANCEMENT] minicap written in pure public Android Java APIs HOT 10
- where is minicap.so for android sdk 32? HOT 11
- Minimum required Android version for minicap-kotlin? HOT 7
- where is minicap.so for android sdk 33? HOT 43
- png、png HOT 1
- Can i use galaxy flip sub display in stf or minicap? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minicap.