17 lines
448 B
Markdown
17 lines
448 B
Markdown
# screenrecord
|
|
## 螢幕錄影
|
|
用`screenrecord `可以把目前的螢幕錄製下來,一個簡單的例子:
|
|
```
|
|
adb shell screenrecord --size 1200x1920 /storage/sdcard0/demo.mp4
|
|
```
|
|
|
|
### 指定錄製時間
|
|
```
|
|
adb shell screenrecord --time-limit 10 /storage/sdcard0/demo.mp4
|
|
```
|
|
|
|
### 指定bit rate
|
|
```
|
|
adb shell screenrecord --bit-rate 6000000 /storage/sdcard0/demo.mp4
|
|
```
|
|
沒有指定時間的話,就必須手動`Ctrl+c`來中止錄影。 |