I am trying to setup a workflow where I can capture and transfer video from my android phone directly from my PC. I have installed ADB and have successfully launched OpenCamera from command shell. Now I have been trying to find a button that would start a video and I can't. Basically, trying
adb shell "input keyevent 0"
adb shell "input keyevent 1"
adb shell "input keyevent 2"
etc.
Could anyone tell me what I should do to launch Video capture?
Last edit: a l 2020-05-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, answering my own question. It's adb shell "input keyevent KEYCODE_CAMERA". Instead of KEYCODE_CAMERA you can type 27. I actually tried it before posting this question, but it kept complaining that "Video file coudn't be saved" (or something like that). It turned out that my storage settings got screwed up. So, once I fixed that, everything started working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I was wondering, did you manage to get more control out of opencamera using adb ?
Is it possible to change opencamera's settings
Maybe change the focus mode, exposure, whitebalance etc.. ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I was wondering, did you manage to get more control out of opencamera using adb ?
Is it possible to change opencamera's settings
Maybe change the focus mode, exposure, whitebalance etc.. ?
I am trying to setup a workflow where I can capture and transfer video from my android phone directly from my PC. I have installed ADB and have successfully launched OpenCamera from command shell. Now I have been trying to find a button that would start a video and I can't. Basically, trying
adb shell "input keyevent 0"
adb shell "input keyevent 1"
adb shell "input keyevent 2"
etc.
Could anyone tell me what I should do to launch Video capture?
Last edit: a l 2020-05-09
Ok, answering my own question. It's adb shell "input keyevent KEYCODE_CAMERA". Instead of KEYCODE_CAMERA you can type 27. I actually tried it before posting this question, but it kept complaining that "Video file coudn't be saved" (or something like that). It turned out that my storage settings got screwed up. So, once I fixed that, everything started working.
Hello,
I was wondering, did you manage to get more control out of opencamera using adb ?
Is it possible to change opencamera's settings
Maybe change the focus mode, exposure, whitebalance etc.. ?
Hi,
I gave up on this project a long time ago so I didn't pursue it all the way.
Nowadays, I just use this (paid) program called "ivCam" from e2eSoft.
From: discussion@opencamera.p.re.sourceforge.net discussion@opencamera.p.re.sourceforge.net on behalf of shodan shodanx@users.sourceforge.net
Sent: Monday, February 20, 2023 8:26 PM
To: [opencamera:discussion] general@discussion.opencamera.p.re.sourceforge.net
Subject: [opencamera:discussion] starting video through adb command
Hello,
I was wondering, did you manage to get more control out of opencamera using adb ?
Is it possible to change opencamera's settings
Maybe change the focus mode, exposure, whitebalance etc.. ?
starting video through adb commandhttps://sourceforge.net/p/opencamera/discussion/general/thread/c86b538acb/?limit=25#2110
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/opencamera/discussion/general/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/