James Dong
5cdcf16ec7
Be conservative in estimating the file size limit.
...
bug - 3045580
Change-Id: Ifdffa354b9433639c3f246a0eb581ef14af1e797
2010-11-30 18:18:08 -08:00
Andreas Huber
30c818444d
Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread
2010-11-30 14:30:00 -08:00
Andreas Huber
a41c1e1de0
Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread
2010-11-30 14:06:26 -08:00
Andreas Huber
d208a2c7b0
DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.
...
DO NOT MERGE
related-to-bug: 3141937
Change-Id: Iaf1b0c5d45a6b5bb7624a59747041c27b4dde83b
2010-11-30 13:42:50 -08:00
Andreas Huber
8d023ddcd4
DO NOT MERGE Support for "chunked" HTTP transfer encoding.
...
DO NOT MERGE
Change-Id: I253d48ea69f239a6d3d0bb7e0d31eef5c773a9d6
related-to-bug: 3205131
2010-11-30 13:37:01 -08:00
Andreas Huber
567b2bd146
Merge "After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user." into gingerbread
2010-11-30 13:00:14 -08:00
Eric Laurent
688f4c58d4
Merge "Update java doc for visualizer FFT capture." into gingerbread
2010-11-30 11:50:25 -08:00
Andreas Huber
0fb258d6c3
After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user.
...
Change-Id: Ifb1f8c91e95a5cafe30ae1035973316c210b98a5
related-to-bug: 3152363
2010-11-30 11:46:38 -08:00
Andreas Huber
122a9ccbcd
DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client.
...
Change-Id: Ibb14e5aff20920da4917d85de38ba3a8ee71d0bd
related-to-bug: 3188835
2010-11-30 10:50:25 -08:00
Chia-chi Yeh
683a7ff922
Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread
2010-11-29 22:56:56 -08:00
Wu-cheng Li
f6bd761f94
Use back-facing camera as default in camera/camcorder profile.do not merge
...
bug:3173302
Change-Id: I11eaed32bb393206b560834d52c412f3e5a1a7d9
2010-11-09 14:11:45 +08:00
James Dong
1b2efbca71
Merge "Update a comment about when setOrientationHint() should be called" into gingerbread
2010-11-08 19:59:16 -08:00
James Dong
53ebc72fd8
Support extracting thumbnail from rotated video tracks
...
Change-Id: Ife0a2536aaac5ff1efdf1035b9d2c892773ee16c
2010-11-08 16:52:59 -08:00
James Dong
5aa95dd36c
Update a comment about when setOrientationHint() should be called
...
Change-Id: I389089390a552ee7a86823c050048dcec0a0eb2a
2010-11-08 10:36:53 -08:00
Andreas Huber
31dc911aee
Support post-decode video rotation.
...
Change-Id: Ia371316e73a57e44610de86adce3eaa560afbf84
2010-11-05 17:03:17 -07:00
James Dong
1653e261e8
Merge "Rotation support" into gingerbread
2010-11-05 16:58:51 -07:00
James Dong
ad8f19c6b3
Add a new public API to support recording rotated videos
...
o changed a comment about the rotation orientation from counter-clockwise
to clockwise.
Change-Id: I16ad73ce1a55cc627d9a516e23d1325753b3037e
2010-11-05 15:53:00 -07:00
James Dong
65a73f4e8c
Rotation support
...
- We only support 0, 90, 180, and 270 degree clockwise rotation
- Some players are known to ignore composition matrix in the MP4 file,
although this is part of the MP4 file standard.
Both QT and YT are supporting the rotation
Change-Id: I1b7f66a801e9d9c49d889c9b06dd6173fa7e76c4
2010-11-05 15:47:52 -07:00
James Dong
c80c28801d
Revert "Support rotation in media recorder"
...
This reverts commit f1febe470ac30f8992066cb263c10f58493c4c34.
2010-11-03 19:22:47 -07:00
James Dong
f1febe470a
Support rotation in media recorder
...
o needs to be tested with camera hal and camcorder application
Change-Id: Ie343185c8ad3ec55da8850efbdcf19cf98993232
2010-11-03 17:49:55 -07:00
James Dong
6786fccf5a
DO NOT MERGE
...
Fix premature release of recording frames when physical address or metadata is stored in input video buffers
- bug 3158459
Change-Id: If297189d2a87fc3abfda68c29ac75b490b30a902
2010-11-02 19:30:01 -07:00
Chia-chi Yeh
67f41771d5
Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
...
Change-Id: Ie6d77b0f61a37333e05cdcdb6ef29d6f6c345a9d
2010-11-01 10:56:45 +08:00
Eric Laurent
03a4090b4d
Update java doc for visualizer FFT capture.
...
The java doc for visualizer FFT capture was not describing
correctly the layout of the data returned by getFft() method.
Change-Id: Idec09538490ea73b211db253b1b8b733ca4d4a72
2010-10-28 10:14:07 -07:00
Yu Shan Emily Lau
8b023a2ea2
Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread
2010-10-27 11:12:58 -07:00
Marco Nelissen
f514bdc964
Fix off-by-two and other bugs in the visualization code.
...
b/3137511
Change-Id: Ic431701e93c025bc417c9742e9af6bb2350c7dd6
2010-10-27 10:23:59 -07:00
Andreas Huber
0a612889b5
Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise.
...
Change-Id: Iea88e3f09955d82a9a11fbcc075db8d9c4007490
2010-10-26 15:06:44 -07:00
Yu Shan Emily Lau
93aa00c664
Add the mediaplayer release in the test validation. This is to ensure the media player release properly.
...
Change-Id: Ia4758a3c549b64b6efead18e7538d977dee2be76
2010-10-26 14:36:09 -07:00
Eric Laurent
cc02ac54ac
Fix issue 3126094.
...
android_media_Visualizer.cpp:
Delete local reference to jArray in captureCallback() in
the case of waveform capture.
Change-Id: Ia822ab6d9945fff93605f7732e56120c19fd42a5
2010-10-22 18:08:13 -07:00
James Dong
89a0104c7c
Turn the media time adjustment in file writer back on
...
o This was turned off to unblock the tests on some device
o The adjustment duration is increased to suppress fluctuations observed on some device
bug - 3058745
Change-Id: Iaeeb1c1c52783f5c679305645c995e57b4b2a573
2010-10-21 18:41:31 -07:00
James Dong
22b37fa6e0
File writer size estimation improvement
...
o Do not count the reserved space for moov if the meta data size is small
o Do not count the extra 1KB disturbing small file estimation.
o Reduce the default minimum reserved space from 4 KB to 3 KB.
o Estimate the moov size based on both duration AND file size limit is set
and set it to the smaller estimated value.
low risk change
bug - 3111983
Change-Id: I6ac2adb979d8cc12d6b4f1813d000c989add0199
2010-10-19 22:59:22 -07:00
Andreas Huber
4d450a8657
If we encounter video stream EOS while seeking we may still need to seek audio.
...
Change-Id: Ie260942247b6810ca94e86328a3725d75b12181d
related-to-bug: 3108724
2010-10-19 09:34:44 -07:00
Andreas Huber
d68cda472a
An attempt to unregister a handler that's no longer registered should not cause an assertion.
...
There are edge cases in which a handler attempts to unregister itself while on another thread a message fails to be delivered to that very handler and causes automatic unregistration. In this case the handler's good cleanup intentions are thwarted by the CHECK.
Change-Id: I4e41b5e7b619159ecce4856c15cccca031a28b5b
related-to-bug: 3101247
QA-impact: no(!!!) risk
2010-10-18 15:06:04 -07:00
Andreas Huber
bc96c2848d
Merge "For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder." into gingerbread
2010-10-18 11:46:44 -07:00
Andreas Huber
99bc1da79b
If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs.
...
Change-Id: I686320d9d4cd826f43c0813c6ba1dc4949d1115f
2010-10-18 10:39:29 -07:00
Andreas Huber
5a40e394f1
For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder.
...
related-to-bug: 3106534
Change-Id: Ie28d72af2f9e93818d1840ac83aa7bc11fa57b3b
2010-10-18 10:16:08 -07:00
Andreas Huber
a4f391c9bf
Include the framework copy of the OpenMAX headers instead of referencing external/opencore.
...
Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6
related-to-bug: 3101573
2010-10-15 13:31:29 -07:00
Andreas Huber
6da2ae11b6
Make sure we cache the sampleTable again if using the caching datasource.
...
QA-impact: This fixes http streaming again which I broke about 2 days ago. The previously observed symptoms were stuttering playback of http streams (think YouTube) after a certain playback position.
Change-Id: I14050e3522ecd62c90d29310efdf508fdd2e87b5
related-to-bug: 3098873
2010-10-15 08:38:49 -07:00
Eric Laurent
02d0ff60c4
Fix issue 3098850
...
Media framework test permissions were not updated when commit
14beea487c065ca902bfd7089399eb71a805e302 added
MODIFY_AUDIO_SETTINGS permission check for global effects.
Change-Id: I2a97be74f33d62fbb749642b1e7a26ddf92378f2
2010-10-14 17:12:43 -07:00
Andreas Huber
0c9b577e4d
Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that.
...
Change-Id: I48175666857ab0fb1519777bdb6f7f0b6b5cc599
related-to-bug: 3073955
2010-10-13 15:12:08 -07:00
Andreas Huber
5f42391701
Merge "Attempt to derive the avg. bitrate of the entire stream from metadata." into gingerbread
2010-10-13 14:25:32 -07:00
Andreas Huber
cc5fb1d5e5
Some webcams output rtp streams but never send any rtcp data in violation of
...
the specs. Attempt to use fake timestamps to be able to play these...
Change-Id: Ia7a926616fb764e972955df4acdb59d85cdd93df
related-to-bug: 3087310
2010-10-13 12:15:03 -07:00
Andreas Huber
4deb3eb534
Attempt to derive the avg. bitrate of the entire stream from metadata.
...
related-to-bug: 3093224
Change-Id: I4726b023373e04468cc12fd64f7fe6ee923add95
2010-10-13 10:39:41 -07:00
Andreas Huber
312644cdbb
Merge "Support for writing to MPEG2 transport stream files." into gingerbread
2010-10-13 09:14:40 -07:00
Andreas Huber
9adf466021
Support for writing to MPEG2 transport stream files.
...
Change-Id: If3b7a807bc224a4b1cb2236537c3ebdc5aee0d97
2010-10-12 16:05:23 -07:00
Andreas Huber
54d09724e3
HTTP Live content that are tagged as complete are now seekable.
...
Change-Id: I9d0d2f009f883e5baf3e9de8c5c0aa05760e4bde
related-to-bug: 2368598
2010-10-12 14:32:10 -07:00
Andreas Huber
0dc6403f3c
Just in case we're behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through.
...
Change-Id: Idd47968d4027f357222f19f15eecfd70fdec3282
related-to-bug: 3073813
2010-10-11 11:30:30 -07:00
Andreas Huber
0c46b69f61
RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams.
...
Change-Id: Ie61230cd60dd6c682baf72529100369ad6291189
related-to-bug: 3073955
2010-10-08 15:25:19 -07:00
Andreas Huber
38285db197
Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR.
...
Change-Id: I61936601e55df7e4c23a8c13087579a4f85bd6e6
2010-10-08 12:06:27 -07:00
Andreas Huber
f72dd0190e
Merge "Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality." into gingerbread
2010-10-08 11:16:07 -07:00
Andreas Huber
b9bf545774
Merge "Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams." into gingerbread
2010-10-08 10:59:52 -07:00