OSDN Git Service

screenrecord: Add raw frames output format
authorBenoit Goby <benoit@android.com>
Mon, 12 May 2014 22:59:50 +0000 (15:59 -0700)
committerBenoit Goby <benoit@android.com>
Tue, 13 May 2014 23:17:21 +0000 (16:17 -0700)
commite32106fd5175afdf939ae397aece9caf378a4912
tree4040ceee4a57c51fd17cd1a19c378bd683ed6e18
parent21bde57f0099fed5cca78d9357571dc015a63227
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
cmds/screenrecord/FrameOutput.cpp
cmds/screenrecord/FrameOutput.h
cmds/screenrecord/screenrecord.cpp