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)
committerAndy McFadden <fadden@android.com>
Tue, 7 Jan 2014 20:36:17 +0000 (12:36 -0800)
commitc475546b6df3b8febc0191e5895f4546a0abd52f
tree2485ccdc3cec47ccb92e1e41da16e82e15bbc9b6
parent67d15f9ab45e7c03b23c871f680b1fae577ac43a
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
cmds/screenrecord/screenrecord.cpp
cmds/screenrecord/screenrecord.h