summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Rotate fallback sizeAndy McFadden2013-09-191-5/+9
| | | | | | | | | | 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
* Make sure the encoder instance is safely release()'d before itsAndreas Huber2013-09-061-2/+22
| | | | | | | reference count drops to 0. Change-Id: I6601226e2754f17e964125cacf02dc02cfbf6231 related-to-bug: 10150263
* Start 'am' with exec()Andy McFadden2013-09-041-15/+55
| | | | | | | | | We were using system() to run 'am broadcast'. Switch to fork()+exec(). Bug 10606037 Change-Id: Ifae1a2b4f1914f015d09f2cac8cd0b1896d87a84
* Add time limit to screenrecordAndy McFadden2013-08-281-18/+45
| | | | | | | | | Recordings are now limited to 3 minutes. The time can be set lower with the --time-limit option. Bug 10529645 Change-Id: I6ac19b9da8d616d38262414c2e821d56efcec55d
* Notify the media scannerAndy McFadden2013-08-281-2/+36
| | | | | | | | | Use an "am broadcast" command to notify the media scanner that a new video file is available. Bug 10096103 Change-Id: I8261d81d96832969ebb9031a9766c1b1f2a569ed
* Fix build.Ying Wang2013-08-141-0/+1
| | | | Change-Id: If87636a654c8cfb2449e246df213fb24b08b4ad3
* Merge "Another error check" into klp-devAndy McFadden2013-08-141-0/+4
|\
| * Another error checkAndy McFadden2013-08-141-0/+4
| | | | | | | | Change-Id: I01ed5c0c7dcb520732d2856859bced31df5fbbb5
* | Merge "Use destroyDisplay()" into klp-devAndy McFadden2013-08-141-10/+2
|\ \ | |/
| * Use destroyDisplay()Andy McFadden2013-08-141-10/+2
| | | | | | | | | | | | | | Use the new SurfaceComposerClient::destroyDisplay call to shut the virtual display down. Change-Id: I0225a44594abf427d386456622b23b01fdd1690f
* | Merge "Restore stagefright command line tool." into klp-devAndreas Huber2013-08-131-0/+2
|\ \
| * | Restore stagefright command line tool.Andreas Huber2013-08-131-0/+2
| |/ | | | | | | Change-Id: Ia17f48522f601d6a057ef3e1e8cd01f80a5c9951
* | Better error messageAndy McFadden2013-08-131-1/+14
|/ | | | | | | 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
* Fix build. last attempt.Ying Wang2013-08-061-1/+1
| | | | Change-Id: Ib955134f90b78cfc0d31272021ad5907a41df708
* Use screen dimensions as default video sizeAndy McFadden2013-08-021-12/+49
| | | | | | | | | | | | | | 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
* Prototype screen recording commandAndy McFadden2013-07-232-0/+606
| | | | | | | | | | 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
* always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-1/+2
| | | | Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13
* Adds VP9 decoding support for stagefright.hkuang2013-06-241-1/+1
| | | | | | | | | | | | | Also change the VP8 encoder role name from video_encoder.vpx to video_encoder.vp8 for future VP9 encoder support. Requires the change in frameworks/native and media_codecs.xml corresponding to the device. VP9 decoding test will be added to cts repo later.
* Remove "LOCAL_MODULE_TAGS := debug" for stagefright testsMike Lockwood2013-06-061-4/+0
| | | | Change-Id: I53815d2f6d7dfe7eebb26c3802eb3d195244aab1
* New HLS implementation supporting independent stream sources, audio-only streamsAndreas Huber2013-05-311-40/+12
| | | | | | and more. Change-Id: Icfc45a0100243b2f7a14a9e65696be45b67d6495
* am a768b4f8: am 8f1efee1: Merge "MediaMuxer prefer not to use the ↵ztenghui2013-04-151-1/+1
|\ | | | | | | | | | | | | MPEG4Writer in real time recording mode." into jb-mr2-dev * commit 'a768b4f838f93823f661422d8193ebbff64b1b5a': MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.
| * Merge "MediaMuxer prefer not to use the MPEG4Writer in real time recording ↵ztenghui2013-04-151-1/+1
| |\ | | | | | | | | | mode." into jb-mr2-dev
| | * MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.ztenghui2013-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | By default, MPEG4Write will keep running in real time recording mode. bug:8598944 Change-Id: Idf7fbd4e0feb7763660a74279ba8817b79098aaf
* | | am e63f850b: am da0dc0af: Add liblogYing Wang2013-04-091-2/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'e63f850b179a43a344d438f202ad34ec7566f955': Add liblog
| * | Add liblogYing Wang2013-04-091-2/+1
| |/ | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* | am 6bc010e3: am 9e36b5a5: Merge "Add the presentation rotation support" into ↵ztenghui2013-03-201-3/+12
|\ \ | |/ | | | | | | | | | | jb-mr2-dev * commit '6bc010e3062b50d5cf9605dd5ffaa0904772312e': Add the presentation rotation support
| * Add the presentation rotation supportztenghui2013-03-151-3/+12
| | | | | | | | | | | | bug:7991013 Change-Id: I10cb034b432876c724baa4974efcb3d67b8a99b6
* | Turn off debug tags in stagefright modules.Dan Morrill2013-03-191-7/+9
|/ | | | | | | | | LOCAL_MODULE_TAGS := debug causes the module to be included in every userdebug build, regardless of whether it's specified as a dep by the device config. This CL switches them all to optional (i.e. default behavior) so that we can do (userdebug) device builds without pulling these in. Change-Id: I4b7b65afea61865dd38b3af55550fb8f10edf66d
* Clean up the native code to match Java updateztenghui2013-03-081-1/+2
| | | | | | | | | 1. Add flags to match the java side change. 2. Update the interface. bug:7991013 Change-Id: I8ffe84c466b2a68e2e1e48b35b78db9e44640265
* CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-251-1/+2
| | | | | | | | | | | | | Camera: - Signal to AppOpsService when camera usage starts and stops - Listen to permissions revocations and act on them - Currently just kill camera connection when permissions lost Stagefright: - Pass on client name, UID to camera as needed Bug: 8181262 Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
* replace getISurfaceTexture by getIGraphicBufferProducerMathias Agopian2013-02-191-1/+1
| | | | Change-Id: I723a3863558126f2635a544a39bb3ec88d499c60
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-154-8/+10
| | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* Add a test utility for MediaMuxer.ztenghui2013-02-132-0/+318
| | | | | | | | | | | This test/utility copy samples from one video and mux into another video. It support trimming, cutting audio or video track. It can run simply as command line like: adb shell muxer -a -v -s 1000 -e 8000 "/sdcard/DCIM/Camera/VID_*.mp4" bug:7991013 Change-Id: I8a2eeff3cabd001b6b2a7062d991dd076edbf22e
* HLS now properly publishes its "seekable" flags after connectionAndreas Huber2013-02-061-1/+2
| | | | | | | has successfully completed and a sufficient amount of data fetched, and only then signals that preparation is completed. Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
* Merge "Remove unnecessary parameter"Glenn Kasten2012-12-212-3/+2
|\
| * Remove unnecessary parameterGlenn Kasten2012-12-182-3/+2
| | | | | | | | | | | | Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
* | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-183-6/+6
|/ | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
* stop using a deprecated SurfaceTextureClient ctor"Jamie Gennis2012-12-121-1/+1
|
* Merge "Revert "stop using a deprecated SurfaceTextureClient ctor""Jamie Gennis2012-12-121-1/+1
|\
| * Revert "stop using a deprecated SurfaceTextureClient ctor"Jamie Gennis2012-12-121-1/+1
| | | | | | | | | | | | This reverts commit aef79b0676d8f0ee8ef637ec8be5ba73225b038d Change-Id: I5f6cf4d6d5dc895a9426f212dfc8a25b4bf2d23a
* | Merge "stop using a deprecated SurfaceTextureClient ctor"Jamie Gennis2012-12-121-1/+1
|\ \ | |/
| * stop using a deprecated SurfaceTextureClient ctorJamie Gennis2012-12-111-1/+1
| | | | | | | | Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
* | stagefright: recordvideo: add -o flag to specify output filenameDima Zavin2012-12-111-3/+9
|/ | | | | Change-Id: I6b464a7b3f7dd918565c6abbd432d779eb286fd5 Signed-off-by: Dima Zavin <dima@android.com>
* Add explicit cutils to stagefrightAndy McFadden2012-12-041-1/+1
| | | | | | | Without this, some changes I'm making over in frameworks/native result in a link-time failure to find android_atomic_dec. Change-Id: Ieb45a86ef6508816ac51589e249ff89caf7ba309
* Only pass the surface to the video decoder.Andreas Huber2012-11-161-2/+4
| | | | Change-Id: Ice0cfc0021fdd9fe053be6ee324cbc64226ed122
* Stagefright command line tool: input file name lastJean-Michel Trivi2012-11-121-3/+3
| | | | | | | Show in usage that the source file name comes last, and is preceded by the options. Change-Id: I8407fc36c8d19785cb2e6e1f7b7a352a8d86f889
* Remove obsolete references to libmedia_nativeGlenn Kasten2012-10-301-4/+4
| | | | | Bug: 6654403 Change-Id: I3993d62987cf0dd85db10bf002a5cce53d4f01bd
* am 0924dd88: am 2aa37a7d: Merge "recordvideo: Add an option for choosing ↵Jean-Baptiste Queru2012-08-291-2/+11
|\ | | | | | | | | | | | | software encoders" * commit '0924dd88790ba9cda0d5a86df7d68b7446470fc7': recordvideo: Add an option for choosing software encoders
| * Merge "recordvideo: Add an option for choosing software encoders"Jean-Baptiste Queru2012-08-291-2/+11
| |\
| | * recordvideo: Add an option for choosing software encodersMartin Storsjo2012-08-291-2/+11
| | | | | | | | | | | | | | | | | | | | | This is similar to the same option in the 'stagefright' test application. Change-Id: I2a2e5201bd93460df0911ef12865c9030c0183e5