Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-stagefright-plugins: List of commits

external/stagefright-plugins


RSS
Rev. Time Author
eb557f6 oreo-x86 android-x86-8.1-r6 2020-11-20 01:03:56 Chih-Wei Huang

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

f6c1728 nougat-x86 android-x86-7.1-r5 2020-11-20 00:57:21 Michael Goffioul

Fix AVC profiles and codec size limit

While investigating while ExoPlayer wouldn't choose ffmpeg codec for
1080p/h264 (and fallback to google's codec), I found out that ACodec.cpp
has a hard-coded limit of 32 when enumerating supported AVC profile
levels from the codec. Because the ffmpeg omx declares all supported
levels, this goes beyond the hard limit and the list presented at the
app level is truncated. By comparison, SoftAVCDec.cpp only declares
the highest supported level for each profile.

Also, the size limit declared in the codec XML definition file is set
to 2048x2048 for h264 and hevc, which means ExoPlayer wouldn't select
the codec for UHD and above.

The patch solves the 2 issues.

8756e69 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 2018-05-15 19:28:20 Michael Goffioul

Enable compilation on oreo-x86.

These changes are based on a simple port of frameworks/av port to
oreo-x86 containing only necessary changes. Notable differences from
nougat-x86:
- no support for non-PCM16 output

76b8e2c android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 2018-04-29 13:14:24 Michael Goffioul

omx: fix another memory leak

The 'strdup' call in createSoftOMXComponent() is never freed.

054d2bc 2018-04-27 11:16:45 Michael Goffioul

omx: hwaccel: fix memory leak

It's missing some cleanup when uninitializing the decoder.

24f6631 android-x86-7.1-r1 2017-11-02 17:44:10 Chih-Wei Huang

Revert "Revert "Disable OMX.ffmpeg.vp9.decoder temporarily""

Youtube in Chrome is still broken.

This reverts commit 37e65a1edbaea8e191f1d6cebdd58b776e9095b5.

4aee68e 2017-11-02 17:43:59 Chih-Wei Huang

Revert "Disable adaptive-playback of vp9 decoder"

This reverts commit 3b7a4b8f090965c38283e6d882ceb5620ec275d7.

da46d3e 2017-10-10 02:48:13 Michael Goffioul

SoftFFmpegVideo: fix adpative video scaling problem

The way I understand it is that the codec is not supposed to scale the
video frames to the buffer size. In case of adpative playback, the frames
may be smaller than the buffer, which corresponds to the max possible
frame size in the adaptive stream.

The patch also drops fiddling with the cropping attributes. I'm not sure
what was the purpose, but I couldn't find equivalent in other sw codecs
like avcdec or mpeg2dec, so I just dropped that and mimiced what the
other sw codecs are doing.

3b7a4b8 2017-08-25 13:16:27 Chih-Wei Huang

Disable adaptive-playback of vp9 decoder

To fix video messed up of Youtube in Chrome as suggested by Lambdadroid.

37e65a1 2017-08-24 01:19:46 Chih-Wei Huang

Revert "Disable OMX.ffmpeg.vp9.decoder temporarily"

Lambdadroid has fixed the green video issue so we can enable
the vp9 decoder now.

This reverts commit 70d2e61b95894d0608a5777b307bda6d49a2914f.

89025f0 2017-08-24 01:04:56 lambdadroid

Fix green video when scaling video

Not sure if this was changed in the newer FFMPEG version, but
sws_scale now takes the srcSliceY and srcSliceH. Currently, the
final height was given in instead of the source height, resulting
in an error.

6227c85 2017-08-24 01:03:28 Chih-Wei Huang

Merge remote-tracking branch 'los/cm-14.1' into nougat-x86

eaee88d 2017-08-24 01:00:19 Chih-Wei Huang

Add codec profile levels for h264

Not sure why VLC won't select the ffmpeg h264 decoder
without the codec profile levels.

e89ec25 2017-08-11 17:17:21 Michael Goffioul

SoftFFmpegVideo: use AVDISCARD_DEFAULT in skip_loop_filter

After a lot of trials and errors, it appears the rendering problem
has nothing to do with color depth. The problem is that the codec
is configured with skip_loop_filter = AVDISCARD_ALL. I'm not sure
what's the reason for that choice. By comparison, it was using
AVDISCARD_DEFAULT in kitkat-x86 branch. If I change the value to
AVDISCARD_DEFAULT instead, I get correct decoding.

Fixes: a5d3c4c2 "stagefright-plugins: Implement frame dropping and AV sync"

70d2e61 2017-08-08 12:18:02 Chih-Wei Huang

Disable OMX.ffmpeg.vp9.decoder temporarily

Youtube in Chrome just shows green screen by using this codec.
But playing a local vp9 encoded video file is fine.

Disable it until we find a proper solution.

931ae6b 2017-06-27 22:41:09 Michael Bestas

FFmpegExtractor: Fix "supported" typo in logs

Change-Id: I016879f91371b149e9cdeaaba1d39282e146b3e4

05bf4e7 2017-06-05 19:52:21 Christopher R. Palmer

ffmpeg-extractor: StageFright supports Opus files

Update the codecs supported by StageFright to include Opus (added
in Android 5.0 but not recognized here).

Change-Id: If4d011a8b3cf1df46126213f3d72887055b9a2a5

11bc5a2 2017-06-05 19:52:20 Christopher R. Palmer

Revert "FFmpegExtractor: Don't use our extractor when we agree with StageFright"

This reverts commit 40898770dd66b011b0a7653e1cd5750f176be038.

Change-Id: Ic57879f0dc22f1495e4c42d008529396929abd3d

4089877 2017-05-30 19:18:43 Christopher R. Palmer

FFmpegExtractor: Don't use our extractor when we agree with StageFright

Prior to this commit, if StageFright picks mimeType X with any
confidence <= .8 then it uses the StageFright extractors and otherwise
(if ffmpeg recognizes the file format) then it will use the ffmpeg
extractors.

This commit changes the logic to prefer the StageFright extractors
(keeping the behaviour closer to aosp and less dependent on ffmpeg's
implementation) whenever both agree on the same mime type.

Change-Id: I98b1b3c3e94756923106911783104ca42e916aed

f0bdeee 2017-05-09 14:49:43 Chih-Wei Huang

omx: hwaccel: decode in one thread

As FFmpeg asserts, hardware accelerated decoding with frame threading
is known to be unstable.

To make hardware codecs stable, just decode in one thread.

6ff29c4 2017-05-09 14:49:24 Chih-Wei Huang

Add hardware accelerated codecs

Inspired by the nice work from Michael Goffioul and Jaap Jan Meijer.

The patch adds hardware accelerated codecs via ffmpeg vaapi support.
It is still experimental and unstable so it's disabled by default.
To enable it, set the property media.sf.hwaccel=1.

947466d 2017-05-09 14:33:20 Chih-Wei Huang

utils: simplify code

Use property_get_bool() instead of property_get().

4c41213 2017-05-09 14:31:32 Chih-Wei Huang

Quiet unnecessary warnings

To avoid warnings, both values in CHECK_xx() must be the same type.

9da19a1 2017-05-08 18:06:20 Chih-Wei Huang

omx: video: quiet log a little

Distinguish no frame and EOS cases.

No frame is normal. Make it less verbose.

3b4e6c5 2017-04-28 13:45:33 Chih-Wei Huang

Cleanup: remove C++ checking

These are C++ files. The checking is unnecessary.

02038f2 2017-04-28 13:45:24 Chih-Wei Huang

codecs: enable vp8 and vp9

84eca18 2017-04-28 13:41:46 Chih-Wei Huang

Merge branch 'lollipop-x86' into multiwindow-hwaccel

797e001 2017-04-25 18:13:23 Chih-Wei Huang

Merge branch 'jide_x86_lollipop' into lollipop-x86

3846013 2017-04-22 23:50:19 Jesse Chan

Revert "codecs: Disable AC3/EAC3"

This reverts commit 40998aa023a37f1dc7d20c8963c294af4f09353b.

* Patents of AC3 expired in March, 2017.

Change-Id: I16300796dbd43200ddfe5e465126aecfbab0127f

18410a5 2017-04-21 12:50:51 Chih-Wei Huang

extractor: avoid to initialize ffmpeg multiple times

I really don't see why we need to init and de-init ffmpeg each time
on sniffing. Just do it once.

Show on old repository browser