summaryrefslogtreecommitdiff
path: root/cmds/stagefright
AgeCommit message (Collapse)Author
2011-09-23Add an option to dump the raw stream to a file in the stagefright cmdline tool.Andreas Huber
Change-Id: Ie19eca2cdf162d6973037ec554ef5916243ea7d7
2011-09-20Properly connect to surface flinger in our shell toolsAndreas Huber
Also raise the layer to INT_MAX to float in front of the toolbar. Change-Id: I045a1c83924e6655f1734d15f2504b90312eec64
2011-09-02Require INTERNET permission for network-based content.Dave Burke
Bug #1870981 Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
2011-08-25When encountering a discontinuity, flush(clear) all content enqueued up to thatAndreas Huber
point except previously enqueued discontinuities. Change-Id: Id04a559dc062fa4a5c80c599ad74bf81a543de01 related-to-bug: 5201378
2011-07-22QueryCodecs() signature changeJean-Michel Trivi
Restore QueryCodecs() signature exactly as used by third-party libs. Add an alternative function to select HW only codecs. Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f
2011-07-18Merge "Add option to query hardware decoders only"Jean-Michel Trivi
2011-07-18Add option to query hardware decoders onlyJean-Michel Trivi
Add an option to OMXCodec::QueryCodecs() to filter out software codecs. Update stagefright command line tool to list the roles of codecs. Change-Id: Icddb79118c30fe13cc3aea20f340174cc082c4e0
2011-07-13Include all supported mime types when querying decoder profile/level support.Andreas Huber
Change-Id: Ia1c930eee489bfebb482ac5079bd6ac9354532f2
2011-07-07Add support for some custom YUV420 color formats to recordvideo utilityJames Dong
Change-Id: I2f0dfba466efb94b704dca761162d7c7457a43cf
2011-06-29Merge "SF transactions are now O(1) wrt IPC instead of O(N)."Mathias Agopian
2011-06-29SF transactions are now O(1) wrt IPC instead of O(N).Mathias Agopian
Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
2011-06-28Support for "streaming" non-transport streams by first converting them to ts ↵Andreas Huber
packets. Change-Id: Ia753a1ab99039f54ce3678a38e997902372b5fa5
2011-06-28Merge "Multiple changes to ACodec/codec tools:"Andreas Huber
2011-06-28Multiple changes to ACodec/codec tools:Andreas Huber
Make sure sf2 does not coalesce input buffers, generalize ACodec's codec instantiation based on OMXCodec's list of eligible component names. Some changes/additions to the "sf2" commandline tool Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s' New option '-R' renders surface-allocated buffers. Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified. Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae
2011-06-28New option in the stagefright commandline tool.Andreas Huber
Use '-S' to allocate decoder buffers from a surface Use '-T' to allocate decoder buffers from a surface texture Change-Id: Ib71ea53d0fd1b2def08bfeac2fd8bcbdc1938161
2011-06-22Reconstruct sync frame indication for content served by the MPEG2TSExtractorAndreas Huber
Strip data up to the first IDR frame if necessary. Change-Id: I4a096785eb1a17b7484983788e223d188454771d
2011-06-13Add an option to force to use HW codec in stagefright cmd toolJames Dong
Change-Id: If6c277dd5a3f7a0b62acd6721343618b0be085fc
2011-05-26Extract embedded cover art (aka poster frame) in mp4 filesJames Dong
Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
2011-05-12update for new audio.h header locationDima Zavin
Change-Id: Ic4c62c4037800802427eb7d3c7f5eb8b25d18876 Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27audio/media: convert to using the audio HAL and new audio defsDima Zavin
Change-Id: Ibc637918637329e4f2b62f4ac7781102fbc269f5 Signed-off-by: Dima Zavin <dima@android.com>
2011-04-20Get rid of the "pid" parameter from createSurfaceMathias Agopian
Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
2011-04-13- Add another parameter in notify() to be able to send timed text sampleGloria Wang
through listener during video playback. - Add OnTimedTextListener in the MediaPlayer For feature request 800939. Change-Id: I65072c27acb4c0037109a72be38c73e9f667420f
2011-03-25merge libsurfaceflinger_client into libguiMathias Agopian
this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
2011-03-17Fix missing AOSP copyright headers for more filesJames Dong
o Update the copyright date on InputDispatcher_test.cpp and InputReader_test.cpp because these two files were moved from other places to the current location, and were actually created in 2010. bug - 4119349 Change-Id: Ic93b81ddafb58e9e72a2e9e02ca3d9f173d6dca7
2011-02-28Add the option '-S' to use surface allocated buffers in the stagefright ↵Andreas Huber
cmdline tool. Change-Id: Ic84eeed1679d6bf68c92de0e20d30e7a3c4d410f
2011-02-04Ignore format change message in sf2 instead of assertingAndreas Huber
Change-Id: I2d7cdf371c07109398c53c7ffc37d7b10b6b6312
2011-01-12Publish MediaMetadataRetriever.java as public APIJames Dong
o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 2433195 Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
2010-12-23Squashed commit of the following:Andreas Huber
commit eaeaa2672d4e0a82891493b2bde8bdd0c0e79a1b Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:26:48 2010 -0800 Remove lowest bandwidth stream if using the legacy player. Change-Id: I2f885e26344996de9152f8fda9fd6bdef89bf953 commit 7d652972615b2750fd8f1c21b9fab0e136df2b82 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:14:36 2010 -0800 Don't clear the packet source's format for legacy discontinuities. Change-Id: I9bd5a21b9bd28043ad38bd0658ccc8eda3c1079a commit 2b18a45aac17cbfe1aa089d0f6510957d438dd64 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:13:55 2010 -0800 Use NuPlayer for HTTP live streaming based on runtime property. adb shell setprop media.httplive.enable-nuplayer true Change-Id: I22738df3403985dc8e6992b1ab5da5747309f773 commit 50d899fb7b9ea52c3994b0a58e993998d926aeed Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:25:22 2010 -0800 Make ACodec a lot less verbose. Change-Id: I94c7e499b61032321ffaf999f5ad2c913cde6a48 commit b19e1740cb4d02990a56844654b5d019987c6405 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:22:22 2010 -0800 Wait until we have fresh codec-specific-data before instantiating the decoders after a discontinuity involving a format change. Change-Id: I7bcf9b5ae3319f08bf8978a117e8ee5220902e37 commit 06428c006906c9099e430aface3b439ff1d36ecc Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:38 2010 -0800 Disable random seeks in the streaming tool for now. Change-Id: Ie86fde422dcfc4b2c7a01be51a193fda9c88cd71 commit e19db68f3bea8a61c191f60f6940f30e3a0d5f1b Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:27 2010 -0800 Tweak HTTP live parameters. Change-Id: If4b71e12485facc523a8a43d8213d0feb190daab commit 1e9942791538c2256b579d96c6c04264b0d8b087 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:48:23 2010 -0800 Enable http live streaming through NuPlayer for http URLs containing the string m3u8 Change-Id: I1691fe12ae8f1507fe3673313959cd50bc324624 commit 4c33f96a6e499ee0efe0e70b687094430cb7c1c0 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:40:27 2010 -0800 Support for HTTP live streaming in NuPlayer. Change-Id: Iacba1c3ebaeb8d3b972185deaf4cff18c8009c54 commit ddf705ce553708bc5b13d89a878484cf839bd674 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:42:47 2010 -0800 StreamingSource now a subclass of abstract NuPlayer::Source Change-Id: Ia6c7c639628910b9d1f37decc55da48b07a70de3 commit 9e04a8406b1882a8e3fdeb7b4d52db5ae70b970a Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:33:52 2010 -0800 Refactor media data sourcing to NuPlayer::Source. Change-Id: I1db9fb08c4e527bf7b19c29978cf342c2b0a0bc9 Change-Id: I9610a097481dda58f22142eacda3ac2dba0b63f9
2010-12-15Initial support for a true streaming player for mpeg2 transport streams.Andreas Huber
Change-Id: I153eec439d260a5524b21270e16d36940ec3161a
2010-12-06API Support for both synchronous and queued commands, optionally associated ↵Andreas Huber
metadata. Change-Id: Idb90d64cb638942210c5822b3cba2f05b087d601
2010-12-06Squashed commit of the following:Andreas Huber
commit 9254c845d7c82976fd4b8be406ce4b17eeb0e119 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 15:26:12 2010 -0800 Remove obsolete code from the cached data source. Change-Id: I794b986ac8977cbc834dff189221a636ba564e36 commit 2ee33711064c58c53ba65ed9e63dd4b01ec2380e Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 15:23:13 2010 -0800 LiveSource is dead, long live LiveSession. Change-Id: Ibcd0731ecf9c94f0b3e5db3d53d012d9da2a1c66 commit 9eabb2c3cd8571ab859bdeae0aa7f655c414d8fa Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 12:49:31 2010 -0800 Respect explicitly signalled discontinuities. Change-Id: I3c0c16a2de7a99742d25db7d1b2ff0258de52271 commit 7f7f7b6b906b6ece6e4d43af7fd5f494e805c5e5 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 11:45:57 2010 -0800 Better protection against syncword emulation in AAC ADTS content. Change-Id: I867e80a4556dd46d24ab3e781177c248a5221719 commit fe765766582efcc350aed01135ea603576adccf6 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 09:15:59 2010 -0800 New implementation of http live driving code. Change-Id: I31ddf3d6a0d5929b121be704a2b9c3d6775f7737 Change-Id: Id8d1829c8fcb173756965013f848c1d426ef1048
2010-12-03Prepare for publishing MediaMetadataRetriever as public APIJames Dong
step one: o replaced captureFrame with getFrameAtTime o removed getMode bug - 2433195 Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
2010-11-23Support streaming data across binder boundaries.Andreas Huber
Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
2010-11-22Squashed commit of the following:Andreas Huber
commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 12:57:04 2010 -0800 set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer. Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42 commit 4767b52bee3a54ae117a8708d6832276a44e6a6a Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 11:14:57 2010 -0800 info->mMediaBuffer may still be NULL at this point... Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 10:55:12 2010 -0800 QCOM's YVU420 color format conversion has now been tested. Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67 commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 09:59:50 2010 -0800 Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle. Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:11:06 2010 -0800 Revamped Software Renderer respects the crop rectangle. Removed obsolete ADRENO support code. Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535 commit 8abbc6a5608bff650f968540f24a2eab75f254ed Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:10:41 2010 -0800 The metadata retriever now respects the crop rectangle while capturing a video frame. Change-Id: Id3377176060086d16717f62c77ce26fabe899050 commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:09:50 2010 -0800 Changed ColorConverter APIs to be more general. Clients can now refer to crop rectangles in both source and destination. Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04 commit 273184303d54a54febd3e9c3dd4df30507ea78b5 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 15:04:06 2010 -0800 The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4 commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 14:36:55 2010 -0800 The AVC software decoder now properly advertises the cropping rectangle. Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 13:40:39 2010 -0800 OMXCodec now signals a format change if the cropping rectangle changes. ...and puts the cropping info into its output format. Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2 commit efe0323947029df1c502599ccc288c8d676dfd31 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 11:29:39 2010 -0800 Stagefright's MetaData object now supports rectangle items. Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504 Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70
2010-11-19Display AVC video sample profile and level for "stagefright" utilJames Dong
Change-Id: I04b3f67d162cf3827bc74ad98cd1e1a0f5f14172
2010-11-14Switch to use kKeyFrameRate for recordvideo utilityJames Dong
Change-Id: I3f6abfed9c39223fe5c1a1b9c094b7ce8a8ca67f
2010-11-09Added a commandline option "-x" to the stagefright commandline tool.Andreas Huber
To display a histogram of decoding times and ideal frame rate distributions. Change-Id: Id8d70fd2960858c75f5f91ae9ebb9902ad5c37d3
2010-10-18Remove one more opencore include pathJean-Baptiste Queru
Bug: 3101573 Change-Id: Id60845e4c46523e910504fe6e707f8247a3b6102
2010-10-18Merge fb474872 from gingerbread-plus-aospJean-Baptiste Queru
Change-Id: I1bbb845a86a7b7df44ea175df3af22e5f47c44e3
2010-10-15Include the framework copy of the OpenMAX headers instead of referencing ↵Andreas Huber
external/opencore. Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6 related-to-bug: 3101573
2010-10-06Add two more options to "recordvideo" utilityJames Dong
o also removed unused code Change-Id: I49471b0ac1cf70b5eedcde78a21e7770c312c5d6
2010-09-30Add a video record utilityJames Dong
Change-Id: I3aa7cadf399aa319ee9ca3f391fd8599742bfb7e
2010-09-27Squashed commit of the following:Andreas Huber
commit 29a4d3effb05a2e074cb0693316ab1977baeb0b6 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 12:01:32 2010 -0700 Fully working implementation of MPEG2TSWriter (for AAC and AVC sources). Change-Id: I8a32a47565b647bf6c078c520e39565e08ea0d84 commit f4dec4c3899f3be393508e180d6c07e249d3335e Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 10:36:31 2010 -0700 More reliable identification of MPEG2 transport streams. Don't keep scanning forever in case the stream does not have both audio and video tracks. Change-Id: Icc5b4e8be145b2805e8776559546a6818342aea7 commit 4fe3cc942f9b3d3cf54138b828c41214aa916dd2 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 08:23:39 2010 -0700 test code Change-Id: I16560a17661407d06497f99ff88230724bb898af commit 64d988b24f49f179a90fa677be11c823959e734b Author: Andreas Huber <andih@google.com> Date: Thu Sep 23 14:42:52 2010 -0700 First shot at supporting writing to an MPEG2 transport stream. Change-Id: Ie537939a99fa3ddc0c7661c47c18277584817c74 Change-Id: If78fd034af8f6e8ceac8dbeff96d5ecb3f6b96dc
2010-09-24Instead of just writing one track to the .mp4 file, write all of them (at ↵Andreas Huber
most 1 video and 1 audio track). Also support httplive URIs in the stagefright commandline tool. Change-Id: I67b287cf76546191f398939aabe4480d9e79a948
2010-09-23Proper sync-frame detection for sources that don't already provide it.Andreas Huber
Change-Id: Iafeee847b015c5cf6bec6dd5fac22a8d3e8cb78e
2010-09-19Allow record to set input color format as a command line optionJames Dong
o Only YUV420SP and YUV420P are supported Change-Id: I425e8b29d9dca8c05066c1cd777f8bdede52964a
2010-09-16Make sure stagefright -o terminates even if we're using a raw audio source ↵Andreas Huber
(such as .wav pcm) Change-Id: Iec809df89e6b75706cf5b1ce21006c2e217e018f
2010-08-31Add some encoding parameters for the "record" utilityJames Dong
- TODO: remove some of the hard coded values Change-Id: Ib58bbb8af45fd102176ac49da0a71613a12fa5fc
2010-07-22Various changes to improve rtsp networking, reduce packet loss and adapt to ↵Andreas Huber
ALooper API changes. Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
2010-07-21Add a seek test to the stagefright commandline tool.Andreas Huber
Change-Id: Ibf3517afa288fc4c7e2184c11bc7a63594f321df