• Home
  • History
  • Annotate
  • only in /frameworks/av/cmds/screenrecord/
History log of /frameworks/av/cmds/screenrecord/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e6eaa7ac713ab6606726c3f76a9019ded97f018 20-Aug-2015 Pablo Ceballos <pceballos@google.com> screenrecord: update to new buffer queue interfaces

Bug 13174928

Change-Id: I6b001b6c11bde2708309f0d0b94af058075992e2
rameOutput.cpp
verlay.cpp
f26334cf7d60060e0e33b037dd9504c81b2e10eb 29-Jan-2015 Elliott Hughes <enh@google.com> am 6a0fbc68: am a3c9d5c3: am 166776fb: Merge "Add missing includes."

* commit '6a0fbc68e203058e3b7d62e95d46f2415bc3ed95':
Add missing includes.
6a0fbc68e203058e3b7d62e95d46f2415bc3ed95 29-Jan-2015 Elliott Hughes <enh@google.com> am a3c9d5c3: am 166776fb: Merge "Add missing includes."

* commit 'a3c9d5c3982591042c7c6cb5fb7c32fbd4765832':
Add missing includes.
9d014d04bd1e26b68ea979885ccbc6f131a7eda3 29-Jan-2015 Elliott Hughes <enh@google.com> Add missing includes.

Change-Id: Ib697ce44243e7cb07aee60944238e0854d82e9de
extRenderer.cpp
c6ac859f5a82ea8642bc6351a45508a15f224f32 08-Dec-2014 Marco Nelissen <marcone@google.com> Remove filename based writer constructors

MediaPlayerService can't open files (it needs an already opened
file descriptor), so these were just wasting space.

Change-Id: I323044a6c1814a7bff952ed71b5c7792df2abf03
creenrecord.cpp
04f101c35eaa90b1f95939afac30674ec1611e6f 04-Nov-2014 Dan Stoza <stoza@google.com> Add a BufferItem parameter to onFrameAvailable

Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.

Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
rameOutput.cpp
rameOutput.h
verlay.cpp
verlay.h
db2722a319d91a869ebc4dd618edbef43fd5b738 24-Jun-2014 Dan Stoza <stoza@google.com> GLConsumer: Stop using default constructor params

Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.

Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680
rameOutput.cpp
verlay.cpp
884989c67081190ff864419328e9e81506db67ca 19-Jun-2014 Mark Salyzyn <salyzyn@google.com> screenrecord: 64-bit compile warnings

Change-Id: I708e48e24719b2c4bb023069164aafd4c2ad639b
verlay.cpp
extRenderer.cpp
creenrecord.cpp
483f59ab9fb4b2d8ab212f77a50eed0528beca58 28-May-2014 Brian Carlstrom <bdc@google.com> Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175
Change-Id: Iff6940aba8accfec14e729d53b71d2ed7e6c5027
verlay.cpp
c389ca420d3df05dedcdcfb12b7e7543df837f0d 15-May-2014 Benoit Goby <benoit@android.com> am 4b7c5444: am e32106fd: screenrecord: Add raw frames output format

* commit '4b7c5444f8af79f1f3e04e09bd03b84dec26facf':
screenrecord: Add raw frames output format
4b7c5444f8af79f1f3e04e09bd03b84dec26facf 15-May-2014 Benoit Goby <benoit@android.com> am e32106fd: screenrecord: Add raw frames output format

* commit 'e32106fd5175afdf939ae397aece9caf378a4912':
screenrecord: Add raw frames output format
e32106fd5175afdf939ae397aece9caf378a4912 13-May-2014 Benoit Goby <benoit@android.com> screenrecord: Add raw frames output format

This works like the frames output format but without a header so that
the output can be piped directly to mplayer:

adb shell screenrecord --output-format=raw-frames - | mplayer -demuxer
rawvideo -rawvideo w=320:h=240:format=rgb24 -

Change-Id: Ib5ed508fdca3a5d63e973c5189b3677c2d92b43f
rameOutput.cpp
rameOutput.h
creenrecord.cpp
4ae3cfd801f0e62c2863d20a8ecc21369351c205 13-May-2014 Andy McFadden <fadden@android.com> am 21bde57f: Add frame dump output

* commit '21bde57f0099fed5cca78d9357571dc015a63227':
Add frame dump output
c1b0056ea57978a77a6fac0ea80861b39140696f 13-May-2014 Andy McFadden <fadden@android.com> am 2d11a203: Provide raw H.264 output from screenrecord

* commit '2d11a2031b99db9b503a7ad7efd1f18606af4012':
Provide raw H.264 output from screenrecord
21bde57f0099fed5cca78d9357571dc015a63227 26-Feb-2014 Andy McFadden <fadden@android.com> Add frame dump output

This adds the ability to dump frames as RGB data with a minimal
frame header. Only recommended for devices with small displays.
Enable with "--output-format=frames".

The "--raw" option is now selected with "--output-format=h264".

Change-Id: I18d3d4a87cd056d7acf0658985a90dc5895dbfb6
ndroid.mk
glWindow.cpp
glWindow.h
rameOutput.cpp
rameOutput.h
rogram.cpp
rogram.h
creenrecord.cpp
2d11a2031b99db9b503a7ad7efd1f18606af4012 20-Dec-2013 Andy McFadden <fadden@android.com> Provide raw H.264 output from screenrecord

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.

Change-Id: I5193f6193c9c1a59f92eefad0ed399f24afbf6de
creenrecord.cpp
creenrecord.h
c6b8225e759d1790d9a38082a18ce7e24a3dba27 01-May-2014 Glenn Kasten <gkasten@google.com> am 3c782246: am b1d2b51c: am 761636f3: Merge "Do not force all command-line apps to be 32-bit only"

* commit '3c782246d5ee9869f2167a00df748eac1b9e9153':
Do not force all command-line apps to be 32-bit only
d2a29d0b7a899ed7474d54530e8d441f09683bf3 30-Apr-2014 Glenn Kasten <gkasten@google.com> Do not force all command-line apps to be 32-bit only

This is a partial revert of
>Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3

Change-Id: I214e1bd117dd40150ac5f7447f12c72c61f09a2f
ndroid.mk
ebf562f4c91f5fcbb5a7f1b79060c1e9d2f76892 18-Mar-2014 Dan Stoza <stoza@google.com> Merge "Remove deprecated BufferQueue constructor"
758799cef41fc5495f59eeb6249d02ce9154cde8 14-Mar-2014 Glenn Kasten <gkasten@google.com> resolved conflicts for merge of 3c780188 to master

Change-Id: Ic579d346c27ff05ea6444faaa60fa6caaec86fbf
b278f5e70c001391779525fb4d3b024503ba9466 12-Mar-2014 Dan Stoza <stoza@google.com> Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: I7d98eb8e9201fd920552e7eab75da42a5e2c7dca
rameOutput.cpp
rameOutput.h
verlay.cpp
verlay.h
af783aa91f7a279153fb8bab8d0d6b9f737996e9 03-Mar-2014 Glenn Kasten <gkasten@android.com> mediaserver and associated services are 32-bit only

also 32-bit only command-line apps

Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3
ndroid.mk
778dccf9a7aa05e0c8df1481ea1d6048bb659667 04-Mar-2014 Andy McFadden <fadden@android.com> Fix destructors

Make destructors private -- only RefBase should be able to destroy
instances of these.

Change-Id: Iff52e226995fe5740a9dfc35af53dd6dd9d74501
rameOutput.h
verlay.h
587c6fefcd3c1d05c608ff511cf3534bc765256e 26-Feb-2014 Andy McFadden <fadden@android.com> Add frame dump output

This adds the ability to dump frames as RGB data with a minimal
frame header. Only recommended for devices with small displays.
Enable with "--output-format=frames".

The "--raw" option is now selected with "--output-format=h264".

Bug 13140019

Change-Id: I61bee55cea97db3134a91e7ea06106783e5bf340
ndroid.mk
glWindow.cpp
glWindow.h
rameOutput.cpp
rameOutput.h
rogram.cpp
rogram.h
creenrecord.cpp
5fc2918fb08fc0d3a752e226f85b17af9587b2ef 30-Jan-2014 Brian Carlstrom <bdc@google.com> frameworks/av: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969

(cherry picked from commit 3a38388447c54683fc0018bde284d4d22cb111a9)

Change-Id: I6fdf6a45756a53f554bfc78504e37a40386aebab
verlay.cpp
3a38388447c54683fc0018bde284d4d22cb111a9 30-Jan-2014 Brian Carlstrom <bdc@google.com> frameworks/av: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969
Change-Id: I2db14a7ee28db2449ec6e2384ade21944284528d
verlay.cpp
c475546b6df3b8febc0191e5895f4546a0abd52f 20-Dec-2013 Andy McFadden <fadden@android.com> Provide raw H.264 output from screenrecord

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
creenrecord.cpp
creenrecord.h
96f2ead1ec99f6aaab876827a7c9985b039bf3c8 20-Nov-2013 Andy McFadden <fadden@android.com> Fix the help text

Pesky bloggers.

(cherry-pick from Ia8677b054423db292a34e28337431b57804df259)

Change-Id: Ia684fde52697ea78fca79de958ef8b31a50e68ba
creenrecord.cpp
0c98f99cb8207ff5b08e33da4b7e024312c5d9c9 19-Nov-2013 Andy McFadden <fadden@android.com> screenrecord fixes

Fixes to issues identified during code review.

(cherry-pick from I2203694acb5c0544878f64f4347d29ad1a0725c4)

Change-Id: I58fcb5264fc17b26fac4b03f95d35262e9e199e2
ndroid.mk
verlay.cpp
extRenderer.cpp
extRenderer.h
creenrecord.cpp
aaa3f358410701710e31f31de62f0b4521989661 18-Oct-2013 Andy McFadden <fadden@android.com> Add "--bugreport" option to screenrecord

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

(cherry pick from Ibb94b81d2f73547b95d7a47e027da75fab187a4f)

Change-Id: I829a91aaca5ab82a07c14172d9e188ec38f14e57
ndroid.mk
glWindow.cpp
glWindow.h
ontBitmap.h
verlay.cpp
verlay.h
rogram.cpp
rogram.h
extRenderer.cpp
extRenderer.h
creenrecord.cpp
creenrecord.h
fdd3795ca914c12cbe0ea40f00cb620f0b0b3c83 20-Nov-2013 Andy McFadden <fadden@android.com> Fix the help text

Pesky bloggers.

Change-Id: Ia8677b054423db292a34e28337431b57804df259
creenrecord.cpp
7a66622c2c9250ce4ad0091195331ce4cb91a63d 19-Nov-2013 Andy McFadden <fadden@android.com> screenrecord fixes

Fixes to issues identified during code review.

Change-Id: I2203694acb5c0544878f64f4347d29ad1a0725c4
ndroid.mk
verlay.cpp
extRenderer.cpp
extRenderer.h
creenrecord.cpp
441e847feb0e055ecb004802802cea07782ab228 18-Oct-2013 Andy McFadden <fadden@android.com> Add "--bugreport" option to screenrecord

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
ndroid.mk
glWindow.cpp
glWindow.h
ontBitmap.h
verlay.cpp
verlay.h
rogram.cpp
rogram.h
extRenderer.cpp
extRenderer.h
creenrecord.cpp
creenrecord.h
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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
creenrecord.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
ndroid.mk
creenrecord.cpp