History log of /frameworks/av/cmds/screenrecord/screenrecord.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
253dfdb983611b8375c9e0b0483eda03fa146028 19-Sep-2013 Andy McFadden <fadden@android.com> Rotate fallback size

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
/frameworks/av/cmds/screenrecord/screenrecord.cpp
e6d5794b2173ffe4e7509203a91778b19eafcebf 06-Sep-2013 Andreas Huber <andih@google.com> Make sure the encoder instance is safely release()'d before its

reference count drops to 0.

Change-Id: I6601226e2754f17e964125cacf02dc02cfbf6231
related-to-bug: 10150263
/frameworks/av/cmds/screenrecord/screenrecord.cpp
f74ccdb61627421bccfdbc479ffdc06ced717db4 05-Sep-2013 Andy McFadden <fadden@android.com> Start 'am' with exec()

We were using system() to run 'am broadcast'. Switch to
fork()+exec().

Bug 10606037

Change-Id: Ifae1a2b4f1914f015d09f2cac8cd0b1896d87a84
/frameworks/av/cmds/screenrecord/screenrecord.cpp
2c041c1c927fdbf60f53f1a1960e5155a79007b7 29-Aug-2013 Andy McFadden <fadden@android.com> Add time limit to screenrecord

Recordings are now limited to 3 minutes. The time can be set lower
with the --time-limit option.

Bug 10529645

Change-Id: I6ac19b9da8d616d38262414c2e821d56efcec55d
/frameworks/av/cmds/screenrecord/screenrecord.cpp
48326940f48390e79476e5ce7c2a18b8201cdafc 23-Aug-2013 Andy McFadden <fadden@android.com> Notify the media scanner

Use an "am broadcast" command to notify the media scanner that
a new video file is available.

Bug 10096103

Change-Id: I8261d81d96832969ebb9031a9766c1b1f2a569ed
/frameworks/av/cmds/screenrecord/screenrecord.cpp
99a2297e4f9746cd5efc3aa3731d17052f32e058 15-Aug-2013 Andy McFadden <fadden@android.com> Merge "Another error check" into klp-dev
69b5e38ca1af5696da1c00627d2e64f7db00d2e1 15-Aug-2013 Andy McFadden <fadden@android.com> Merge "Use destroyDisplay()" into klp-dev
a2081368e2068a86f2db9b0dd562d9e18f69ea37 15-Aug-2013 Andy McFadden <fadden@android.com> Another error check

Change-Id: I01ed5c0c7dcb520732d2856859bced31df5fbbb5
/frameworks/av/cmds/screenrecord/screenrecord.cpp
2533c83b4ed8e1ca5b259d59373f941c8f0e9635 14-Aug-2013 Andy McFadden <fadden@android.com> Use destroyDisplay()

Use the new SurfaceComposerClient::destroyDisplay call to shut the
virtual display down.

Change-Id: I0225a44594abf427d386456622b23b01fdd1690f
/frameworks/av/cmds/screenrecord/screenrecord.cpp
46052913f307b1561f1661bb776fa29c0775758c 13-Aug-2013 Andy McFadden <fadden@android.com> Better error message

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
/frameworks/av/cmds/screenrecord/screenrecord.cpp
f560001b5d60225dc7e101b2481477a3c39b66a4 02-Aug-2013 Andy McFadden <fadden@android.com> Use screen dimensions as default video size

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
/frameworks/av/cmds/screenrecord/screenrecord.cpp
1f5a90bc795475896044fcb1f74816c102851f06 22-Jul-2013 Andy McFadden <fadden@android.com> Prototype screen recording command

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
/frameworks/av/cmds/screenrecord/screenrecord.cpp