mortenjust / androidtool-mac

One-click screenshots, video recordings, app installation for iOS and Android
Apache License 2.0
5.43k stars 325 forks source link

Video recording from command line? #55

Open bootstraponline opened 9 years ago

bootstraponline commented 9 years ago

Is it possible to start/stop video recording from the command line?

mortenjust commented 9 years ago

you'll need adb for that, but then it's possible

http://developer.android.com/tools/help/adb.html

bootstraponline commented 9 years ago

that doesn't help for iOS

mortenjust commented 9 years ago

Sorry, I just assumed Android since you didn't mention any OS.

You can take an iOS screenshot from command line, but no video open that I'm aware of.

bootstraponline commented 9 years ago

I wrote a tool for appium that does iOS/Android video screen recording. AppleScript is used to activate the emulator/simulator and then AVFoundation is used to capture the screen with the appropriate croprect. I'm suggesting people use androidtool-mac instead since it's maintained. The lack of CLI for iOS/Android video recording is an issue one user mentioned. I don't think it'd be much work to add a CLI to androidtool-mac.

Simon-Kaz commented 9 years ago

Hey, was wondering if there's any work done towards CLI version?

mortenjust commented 8 years ago

Nothing yet. It's not a very sought after feature, but happily accepting pull requests!

email2vimalraj commented 8 years ago

+1 for this feature.

SButterfly commented 8 years ago

Are there any news?

mortenjust commented 8 years ago

Adding a Help Wanted label, hoping to attract a pull request