summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Squashed commit of the following:Andreas Huber2010-09-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Instead of just writing one track to the .mp4 file, write all of them (at ↵Andreas Huber2010-09-241-42/+111
| | | | | | most 1 video and 1 audio track). Also support httplive URIs in the stagefright commandline tool. Change-Id: I67b287cf76546191f398939aabe4480d9e79a948
* Proper sync-frame detection for sources that don't already provide it.Andreas Huber2010-09-231-12/+105
| | | | Change-Id: Iafeee847b015c5cf6bec6dd5fac22a8d3e8cb78e
* Allow record to set input color format as a command line optionJames Dong2010-09-191-11/+49
| | | | | | o Only YUV420SP and YUV420P are supported Change-Id: I425e8b29d9dca8c05066c1cd777f8bdede52964a
* Make sure stagefright -o terminates even if we're using a raw audio source ↵Andreas Huber2010-09-161-1/+3
| | | | | | (such as .wav pcm) Change-Id: Iec809df89e6b75706cf5b1ce21006c2e217e018f
* Add some encoding parameters for the "record" utilityJames Dong2010-08-311-1/+19
| | | | | | - TODO: remove some of the hard coded values Change-Id: Ib58bbb8af45fd102176ac49da0a71613a12fa5fc
* Various changes to improve rtsp networking, reduce packet loss and adapt to ↵Andreas Huber2010-07-221-5/+36
| | | | | | ALooper API changes. Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
* Add a seek test to the stagefright commandline tool.Andreas Huber2010-07-211-1/+67
| | | | Change-Id: Ibf3517afa288fc4c7e2184c11bc7a63594f321df
* Support for writing the extracted data to an .mp4 file in the stagefright ↵Andreas Huber2010-07-012-3/+36
| | | | | | commandline tool. Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733
* Remove most stagefright property overrides, remove VorbisPlayer and ↵Andreas Huber2010-06-231-4/+0
| | | | | | | VorbisMetadataRetriever as this functionality is now provided by stagefright. Change-Id: Ieafe75a4550c273ad59b4518d7cd4c0fce0f7cce related-to-bug: 2370115
* Make sure sine: is supported again in stagefright commandline tool.Andreas Huber2010-06-211-1/+1
| | | | Change-Id: I703f1a8b7556543ef71b141dc8e38d8b82d8c6dc
* Simplify the code in the stagefright commandline utility.Andreas Huber2010-06-102-14/+4
| | | | Change-Id: Ia222b25ef12af34f6434421fd96b67eca800d1ab
* Make the -o option actually terminate.Andreas Huber2010-05-201-0/+3
| | | | Change-Id: I91b70ee5c3e1fc9b8bb645e219af296867692e65
* am 3c16154a: am 2723e092: Merge "Better handling of codec initialization ↵Andreas Huber2010-05-201-1/+6
|\ | | | | | | | | | | | | | | | | failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo Merge commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3' into kraken * commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3': Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.
| * Better handling of codec initialization failure in the player and thumbnail ↵Andreas Huber2010-05-201-1/+6
| | | | | | | | | | | | | | extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize. Change-Id: I5cba02ee85a41e43c2623053de40f26e2cf2efe4 related-to-bug: 2699505
* | am 30e9c2d4: am db281311: Merge "Better diagnostics in the stagefright ↵Andreas Huber2010-04-132-4/+59
|\ \ | |/ | | | | | | | | | | | | | | commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." in Merge commit '30e9c2d4db145e02b5312ce29606b03dd78349d3' into kraken * commit '30e9c2d4db145e02b5312ce29606b03dd78349d3': Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".
| * Better diagnostics in the stagefright commandline tool, support for playing ↵Andreas Huber2010-04-132-4/+59
| | | | | | | | | | | | | | sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a". related-to-bug: 2553359 Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b
* | Various fixes to enable recording on passion and nexus1.Andreas Huber2010-04-091-3/+8
|/ | | | Change-Id: I75a461c9882e2449082ad754ee7b231c1ceec039
* Coalesce multiple encoded AAC frames into a single input buffer on this ↵Andreas Huber2010-04-021-4/+15
| | | | | | | particular OMX codec to increase throughput significantly. Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064 related-to-bug: 2548426
* QueryCodecs now returns the names of the software codecs (non-OpenMax) as well.Andreas Huber2010-03-241-1/+3
| | | | | Change-Id: Ic4cd61f4dd722fb0dda544ffaa5615e87e3a4d40 related-to-bug: 2541647
* Properly use a long long literal to avoid under/overflow during fps computation.Andreas Huber2010-03-161-1/+1
| | | | Change-Id: I04730c86d43d6192ded3e779631effda9dd06e63
* HTTPDataSource must be connected before it is usable. Fix this in the ↵Andreas Huber2010-03-161-1/+5
| | | | | | stagefright tool. Change-Id: I5313b2cb7839233d51b2d37a03b6598b0760c2e0
* Extend stagefright tool to extract either album art or video frame.Andreas Huber2010-03-101-4/+16
| | | | Change-Id: Iab50924e37a1aad057470a349c8f1a81858424e9
* Tag stagefright development tools as "debug-only".Andreas Huber2010-02-231-0/+6
|
* Better diagnostics for the stagefright tool and codec performance.Andreas Huber2010-02-171-0/+9
| | | | related-to-bug: 2450938
* When the extractor is not able to be created successfully, don't crashJames Dong2010-02-042-0/+7
|
* Initial checkin of AudioSource and AMRWriter, a pair of classes supporting ↵Andreas Huber2010-01-251-2/+22
| | | | | | pure-audio recording in stagefright. related-to-bug: 2295449
* Upgrade for the stagefright commandline tool to support extracting ↵Andreas Huber2010-01-141-3/+58
| | | | thumbnails and to optionally prefer software codecs.
* Add missing shared libraries in linker commands. Currently these libraries areDoug Kwan2009-12-221-3/+3
| | | | linked implicitly via dependencies of other shared libraries.
* Squashed commit of the following:Andreas Huber2009-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 144b1c40e9cf08a584c50e1bef7ba3f287e81a4f Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:28:23 2009 -0800 This H264 file shows a certain problem even better. commit 3245f1f3b7471975aeeb824a756c987abd610f55 Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:20:08 2009 -0800 Using only the QA testfiles now. commit 074817eb3816c5dd70858a3594e3b92d799d873b Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 16:17:39 2009 -0800 Yay, roles are back again now that the API is in place. commit 6d847e4932cc38301ae27cb7283b7f1553a95457 Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 13:01:20 2009 -0800 Added commandline option for specifying the random seed for reproducable tests. commit 62ab37b26336eaa67e49791c41c996acb6acee3f Author: Andreas Huber <andih@google.com> Date: Mon Dec 14 10:53:27 2009 -0800 When issuing a seek it is important that only the first MediaSource::read call has the seek option. commit e77c46644b2fb6862bafa3569f7d304252074f1e Author: Andreas Huber <andih@google.com> Date: Mon Dec 7 16:39:07 2009 -0800 Make sure the tests are actually built, sp<OMXCodec> becomes sp<MediaSource> commit 6df56915bd55a9445b3c6f953d3cc251d81579b8 Author: Andreas Huber <andih@google.com> Date: Thu Dec 3 14:25:36 2009 -0800 Temporarily disable support for querying the roles of OMX components. commit 31bb26930df9e3658dea684cedb4b0f1a06a4a88 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 13:36:52 2009 -0800 Disregard EOS events, slightly change the way the EOS flag on output buffers is handled. commit 4c382fbc9aebee8197d5988d04378062809e7c48 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 09:37:24 2009 -0800 New random seek test for the codec tests. Fixed "sticky" end-of-output-buffers flag behaviour in OMXCodec. commit c762eac3e44309592b61a168d66e091cf609fa03 Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 14:13:43 2009 -0800 Fix a typo. commit 50540a59b65c7d476b0193c7494cd75895e6ca6d Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 09:48:35 2009 -0800 Some more fine tuning of the unit tests, make MPEG4Extractor less verbose. commit 1157a7e52a0636706caa235abe16d2ff8a0b8140 Author: Andreas Huber <andih@google.com> Date: Wed Oct 28 12:01:01 2009 -0700 Changes to the IOMX::listNodes API, this now returns the component's roles as well, unit tests now test all components in all supported roles by default. commit 30fbf2d8c6cb927689f7ba75eb550a81e9df488a Author: Andreas Huber <andih@google.com> Date: Mon Oct 26 09:45:26 2009 -0700 Initial check-in of unit tests for OMX components.
* Don't count empty buffers when computing the frame rate.Andreas Huber2009-12-101-1/+1
|
* Change OMXCodec::Create to return an sp<MediaSource> instead of an ↵Andreas Huber2009-12-072-4/+4
| | | | sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
* A small sample tool to encode pcm audio data to amr, decode it again and ↵Andreas Huber2009-12-013-0/+104
| | | | play it. Some changes to OMXCodec to properly configure the AMR decoder(s).
* Squashed commit of the following:Andreas Huber2009-11-232-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 1efc38dc3c33fef57b759002db3965ed07a28cb0 Author: Andreas Huber <andih@google.com> Date: Thu Nov 19 14:36:14 2009 -0800 Sending the SEEK-COMPLETE notification temporarily broke seeking backwards in time behaviour. This is now fixed. Also, get rid of the semi-random delay after posting buffers to surface flinger in favour of delaying the buffer release until the next frame is displayed. commit 51973062eb5ee63fd64b845d72bac517cc3369cf Author: Andreas Huber <andih@google.com> Date: Wed Nov 18 14:01:43 2009 -0800 Fix one more unit test, properly send seek-complete notification only after seek actually completed. commit cb22250b34b1fcfe1bf459723a761fd003950229 Author: Andreas Huber <andih@google.com> Date: Wed Nov 18 12:31:36 2009 -0800 Fix seek-while-paused in AwesomePlayer, revert to using FileSource if MmapSource fails. commit 25eb9241138ddf7bb27ce90657116c5f8a94d880 Author: Andreas Huber <andih@google.com> Date: Wed Nov 18 12:30:40 2009 -0800 Support seeking and duration in AMRExtractor, assuming all frames are the same size. commit 44192f2ebb7ea3bbd3ba5910025692dbc6a08faa Author: Andreas Huber <andih@google.com> Date: Wed Nov 18 10:21:44 2009 -0800 MediaPlayerImpl is dead, long live AwesomePlayer. commit c5b52d3c0674f5dc94db506afbce52401cceddac Author: Andreas Huber <andih@google.com> Date: Wed Nov 18 09:42:23 2009 -0800 New implementation of the stagefright mediaplayer.
* Merge change I3e1bdd38 into eclair-mr2Android (Google) Code Review2009-11-101-1/+3
|\ | | | | | | | | * changes: Transcode files again.
| * Transcode files again.Andreas Huber2009-11-021-1/+3
| |
* | Support raw audio sources in stagefright commandline tool.Andreas Huber2009-11-031-8/+17
|/
* Revive support for video encoding in OMXCodec.Andreas Huber2009-10-291-8/+31
|
* Moving the individual extractor headers files to the private include directory.Andreas Huber2009-10-231-3/+3
|
* resolved conflicts for merge of f585be7f to eclair-mr2Andreas Huber2009-10-161-4/+19
|\
| * A few more testcases for the vendor to reproduce issues with their decoder. ↵Andreas Huber2009-10-161-10/+29
| | | | | | | | Not part of the shipping image.
* | Reimplement the OMX backend for stagefright.Andreas Huber2009-10-161-3/+3
| | | | | | | | | | | | Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup. Changed APIs to conform to the rest of the system.
* | OMXCodec now notifies the reader of changes in the output format by ↵Andreas Huber2009-10-131-1/+12
| | | | | | | | returning a special result/error code.
* | Change to a int64_t usecs representation for timestamps and duration ↵Andreas Huber2009-10-122-8/+6
|/ | | | throughout stagefright.
* Another stagefright test-case and ignore end-of-stream notifications while ↵Andreas Huber2009-09-171-0/+60
| | | | we're flushing.
* Added an API IOMX::createRendererFromJavaSurface.Andreas Huber2009-09-151-0/+2
| | | | This api allows to instantiate a renderer by specifying the hosting java Surface object. This hides the implementation details of (java-)Surface, (native-)Surface and friends.
* Only build the "full" stagefright (including MediaExtractors and ↵Andreas Huber2009-09-111-0/+4
| | | | MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).
* Move JPEGSource.{cpp,h} into libstagefright.Andreas Huber2009-09-114-296/+1
|
* Media MIME types now have corresponding constants in MediaDefs.h, new codec ↵Andreas Huber2009-09-104-7/+67
| | | | enumeration API.
* Support encoding amr-wb content in stagefright.Andreas Huber2009-09-081-2/+2
|