| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Bug: 12798969
(cherry picked from commit 3a38388447c54683fc0018bde284d4d22cb111a9)
Change-Id: I6fdf6a45756a53f554bfc78504e37a40386aebab
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an experimental (undocumented) "--raw" flag. If set, we
output an H.264 byte stream rather than a .mp4 file.
If the filename is "-", we send the output to stdout. If stdout is a
tty, we reconfigure it to avoid CRLF line termination over adb.
Bug 12239887
Change-Id: I00ceb628bd885916eaf4658ea7f08f620ad74c03
|
|
|
|
|
|
| |
Pesky bloggers.
Change-Id: Ia8677b054423db292a34e28337431b57804df259
|
|
|
|
|
|
| |
Fixes to issues identified during code review.
Change-Id: I2203694acb5c0544878f64f4347d29ad1a0725c4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The --bugreport option adds two visible features: (1) a timestamp
overlay that (mostly) matches logcat, making it easier to match what
appears in the video with what's in the log, and (2) an "info page"
at the start of the video that shows the system configuration.
Enabling this option adds an additional composition step,
increasing the overhead of screenrecord. Depending on the device
and circumstances, this may be unnoticeable or very pronounced.
If --bugreport is not enabled, the overhead of screenrecord is
unchanged.
We also now track device orientation changes. This is currently
detected by polling surfaceflinger, which is suboptimal. As a
result, we detect the rotation too late, and get a weird mixed
frame before the start of the animation for 90-degree changes.
Also, allow the bit rate to be specified as e.g. "4M" for 4Mbps.
Also, --rotate is now deprecated.
Bug 11220305
Bug 11136964
Change-Id: Ibb94b81d2f73547b95d7a47e027da75fab187a4f
|
|
|
|
|
|
|
|
|
|
| |
If configuring the encoder for display-size recording fails, we drop
back to 720p. This was done a bit too literally, and didn't look
good in portrait mode. Rotate the fallback size as needed.
Bug 10826876
Change-Id: Id3130471fc1467afa8bf91d75c9d4a49245253c3
|
|
|
|
|
|
|
| |
reference count drops to 0.
Change-Id: I6601226e2754f17e964125cacf02dc02cfbf6231
related-to-bug: 10150263
|
|
|
|
|
|
|
|
|
| |
We were using system() to run 'am broadcast'. Switch to
fork()+exec().
Bug 10606037
Change-Id: Ifae1a2b4f1914f015d09f2cac8cd0b1896d87a84
|
|
|
|
|
|
|
|
|
| |
Recordings are now limited to 3 minutes. The time can be set lower
with the --time-limit option.
Bug 10529645
Change-Id: I6ac19b9da8d616d38262414c2e821d56efcec55d
|
|
|
|
|
|
|
|
|
| |
Use an "am broadcast" command to notify the media scanner that
a new video file is available.
Bug 10096103
Change-Id: I8261d81d96832969ebb9031a9766c1b1f2a569ed
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I01ed5c0c7dcb520732d2856859bced31df5fbbb5
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Use the new SurfaceComposerClient::destroyDisplay call to shut the
virtual display down.
Change-Id: I0225a44594abf427d386456622b23b01fdd1690f
|
|/
|
|
|
|
|
| |
Attempt to create the output file before handing it to MediaMuxer,
which doesn't report file-open failures in a useful way.
Change-Id: Ie24ff577dd50e185b4eb72575684d23a46f38d3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of 720p, use the screen dimensions as the default video
size. For example, a phone with a 768x1280 display would be
recorded as a 768x1280 video when in portrait, or a 1280x768
video when in landscape.
If the device is not able to record at that resolution, we
fall back to 720p.
Also, fixed a problem introduced by a buffer timestamp change.
Change-Id: I7230ddb323c669ab07327f26df8d103c192c21d3
|
|
This records the screen contents as a movie. It works by feeding
the output of a virtual display to the video/avc encoder. Recording
continues until Ctrl-C is hit.
Video only, no sound. Does not track screen rotations.
Change-Id: I91d5c4e781792c740699b7a83590e846295b3617
|