OSDN Git Service

Provide raw H.264 output from screenrecord
authorAndy McFadden <fadden@android.com>
Fri, 20 Dec 2013 21:40:34 +0000 (13:40 -0800)
committerBenoit Goby <benoit@android.com>
Mon, 12 May 2014 23:14:09 +0000 (16:14 -0700)
commit2d11a2031b99db9b503a7ad7efd1f18606af4012
tree9b0dc47988f6c4a727657f3b890c7302e8f22bb2
parent81e0bd44a10e90778ab5b0a3babd4fc52cadedd8
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
cmds/screenrecord/screenrecord.cpp
cmds/screenrecord/screenrecord.h