OSDN Git Service

android-x86/external-stagefright-plugins.git
9 years agodisable verbose log kitkat-x86 lollipop-x86 marshmallow-x86 android-x86-4.4-r1 android-x86-4.4-r2 android-x86-4.4-r3 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3
Chih-Wei Huang [Thu, 5 Jun 2014 02:47:52 +0000 (10:47 +0800)]
disable verbose log

10 years agochange OMX.ffmpeg.vpx.decoder to OMX.ffmpeg.vp8.decoder for kitkat
Chih-Wei Huang [Thu, 23 Jan 2014 07:25:00 +0000 (15:25 +0800)]
change OMX.ffmpeg.vpx.decoder to OMX.ffmpeg.vp8.decoder for kitkat

Add OMX.ffmpeg.vp9.decoder as well.

10 years agocleanup jb-x86
Michael Chen [Wed, 13 Nov 2013 11:45:53 +0000 (19:45 +0800)]
cleanup

10 years agocleanup FFmpegExtractor::stream_component_open
Michael Chen [Mon, 11 Nov 2013 16:30:36 +0000 (00:30 +0800)]
cleanup FFmpegExtractor::stream_component_open

10 years agofix rv20
Michael Chen [Sun, 10 Nov 2013 12:54:38 +0000 (20:54 +0800)]
fix rv20

10 years agomove some codec utils to codec_utils.cpp
Michael Chen [Sun, 10 Nov 2013 08:45:03 +0000 (16:45 +0800)]
move some codec utils to codec_utils.cpp

10 years agoremove packet_queue_XXX funcs to ffmpeg_utils.cpp
Michael Chen [Sun, 10 Nov 2013 07:55:24 +0000 (15:55 +0800)]
remove packet_queue_XXX funcs to ffmpeg_utils.cpp

10 years agofix set kKeyMIMEType
Michael Chen [Wed, 6 Nov 2013 16:27:32 +0000 (00:27 +0800)]
fix set kKeyMIMEType

10 years agofix OMX_AUDIO_CodingMP2
Michael Chen [Wed, 6 Nov 2013 16:26:47 +0000 (00:26 +0800)]
fix OMX_AUDIO_CodingMP2

10 years agoadd adjust confidence funcs
Michael Chen [Mon, 4 Nov 2013 16:15:16 +0000 (00:15 +0800)]
add adjust confidence funcs

10 years agocleanup vorbis decoder
Michael Chen [Mon, 4 Nov 2013 14:43:27 +0000 (22:43 +0800)]
cleanup vorbis decoder

10 years agoadd support for virbis decoder
Michael Chen [Sun, 3 Nov 2013 17:25:55 +0000 (01:25 +0800)]
add support for virbis decoder

10 years agoadd support for vorbis parser in FFmpegExtractor
Michael Chen [Sun, 3 Nov 2013 16:13:54 +0000 (00:13 +0800)]
add support for vorbis parser in FFmpegExtractor

10 years agofix the rtvc1.vc1 file can't be played somtimes
Michael Chen [Sun, 3 Nov 2013 12:41:53 +0000 (20:41 +0800)]
fix the rtvc1.vc1 file can't be played somtimes

10 years agoadd isPortSettingChanged func to check setting changed
Michael Chen [Sat, 2 Nov 2013 12:56:05 +0000 (20:56 +0800)]
add isPortSettingChanged func to check setting changed

10 years agoMerge branch 'master' of https://github.com/omxcodec/stagefright-plugins
Michael Chen [Fri, 1 Nov 2013 17:43:21 +0000 (01:43 +0800)]
Merge branch 'master' of https://github.com/omxcodec/stagefright-plugins

10 years agofix crash when ffmpeg video port notify setting change event.
Michael Chen [Fri, 1 Nov 2013 11:51:11 +0000 (19:51 +0800)]
fix crash when ffmpeg video port notify setting change event.
We don't notify event until "outQueue.size() == kNumOutputBuffers"

test sample- http://samples.mplayerhq.hu/V-codecs/WVC1/rtvc1.vc1

crash log:
I/SoftFFmpegVideo( 4196): ffmpeg video port setting change event(352x144)->(352x288).
F/OMXCodec( 4196): frameworks/av/media/libstagefright/OMXCodec.cpp:3285 CHECK(info->mStatus == OWNED_BY_US || info->mStatus == OWNED_BY_NATIVE_WINDOW) failed.
F/libc    ( 4196): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4241 (OMXCallbackDisp)

10 years agofix crash when ffmpeg video port notify setting change event.
Michael Chen [Fri, 1 Nov 2013 11:51:11 +0000 (19:51 +0800)]
fix crash when ffmpeg video port notify setting change event.
We don't notify event until "outQueue.size() == kNumOutputBuffers"

crash log:
I/SoftFFmpegVideo( 4196): ffmpeg video port setting change event(352x144)->(352x288).
F/OMXCodec( 4196): frameworks/av/media/libstagefright/OMXCodec.cpp:3285 CHECK(info->mStatus == OWNED_BY_US || info->mStatus == OWNED_BY_NATIVE_WINDOW) failed.
F/libc    ( 4196): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4241 (OMXCallbackDisp)

10 years agoadd support for raw vc1 bitstreams
Michael Chen [Fri, 1 Nov 2013 11:41:02 +0000 (19:41 +0800)]
add support for raw vc1 bitstreams
sample- http://samples.mplayerhq.hu/V-codecs/WVC1/rtvc1.vc1

To play the file in stagefright we had to use "vc1" as file extension, otherwise
stagefright does nothing. I use LegacySniffFFMPEG func to handle it. the url will be
"android-source:0x416b91a0|file:/storage/emulated/legacy/Movies/x86/rtvc1.vc1"

10 years agofix getCodecId error
Michael Chen [Thu, 31 Oct 2013 16:06:20 +0000 (00:06 +0800)]
fix getCodecId error

10 years agofix VC1 CompressionFormat error
Michael Chen [Wed, 30 Oct 2013 12:11:47 +0000 (20:11 +0800)]
fix VC1 CompressionFormat error

10 years agoupdate README
Michael Chen [Tue, 29 Oct 2013 13:54:09 +0000 (21:54 +0800)]
update README

10 years agodisable no audio frames debug info
Michael Chen [Sun, 27 Oct 2013 03:27:00 +0000 (11:27 +0800)]
disable no audio frames debug info

10 years agofix select extractor, file: InstructionalQuicktimeMedRes.mov
Michael Chen [Sun, 27 Oct 2013 03:11:24 +0000 (11:11 +0800)]
fix select extractor, file: InstructionalQuicktimeMedRes.mov

10 years agofix diatonis_phtos1_1920x1080_51_audio_2011-12.wmv crash
Michael Chen [Sat, 26 Oct 2013 16:36:20 +0000 (00:36 +0800)]
fix diatonis_phtos1_1920x1080_51_audio_2011-12.wmv crash

10 years agofix extractor select when source has hevc codec
Michael Chen [Sat, 26 Oct 2013 15:10:53 +0000 (23:10 +0800)]
fix extractor select when source has hevc codec

10 years agoremove repo/local_manifest.xml
Michael Chen [Sat, 26 Oct 2013 15:02:02 +0000 (23:02 +0800)]
remove repo/local_manifest.xml

10 years agoMerge branch 'jb-x86' of https://github.com/omxcodec/stagefright-plugins into jb-x86
Michael Chen [Sat, 26 Oct 2013 14:38:18 +0000 (22:38 +0800)]
Merge branch 'jb-x86' of https://github.com/omxcodec/stagefright-plugins into jb-x86

Conflicts:
libstagefright/FFmpegExtractor/FFmpegExtractor.cpp

10 years agoupdate README
Michael Chen [Sat, 26 Oct 2013 14:30:20 +0000 (22:30 +0800)]
update README

10 years agoadd HEVC(H.265) decoder. plz sync:
Michael Chen [Sat, 26 Oct 2013 11:08:26 +0000 (19:08 +0800)]
add HEVC(H.265) decoder. plz sync:
1. git@github.com:omxcodec/android_external_ffmpeg (branch:cm_maguro-10.1)
2. https://github.com/omxcodec/android_frameworks_native.git (branch:cm_maguro-10.1)
3. https://github.com/omxcodec/android_frameworks_av.git (branch:cm_maguro-10.1)

How to test hevc decoder:
1. get test media files
wget http://ftp.kw.bbc.co.uk/hevc/hm-10.0-anchors/bitstreams/i_main/BQMall_832x480_60_qp22.bin and push it to /sdcard/Movies/hevc/
2. set prop because hevc decoder is very show
adb shell setprop sys.media.vdec.drop 0
3. play raw hevc file
adb shell am start -a android.intent.action.VIEW -d file:///mnt/sdcard/Movies/hevc/BQMall_832x480_60_qp22.bin -t video/*

10 years agoadd HEVC(H.265) decoder. plz sync:
Michael Chen [Sat, 26 Oct 2013 11:08:26 +0000 (19:08 +0800)]
add HEVC(H.265) decoder. plz sync:
1. https://github.com/omxcodec/android_frameworks_native.git (branch:cm_maguro-10.1)
2. https://github.com/omxcodec/android_frameworks_av.git (branch:cm_maguro-10.1)

How to test hevc decoder:
1. get test media files
wget http://ftp.kw.bbc.co.uk/hevc/hm-10.0-anchors/bitstreams/i_main/BQMall_832x480_60_qp22.bin and push it to /sdcard/Movies/hevc/
2. set prop because hevc decoder is very show
adb shell setprop sys.media.vdec.drop 0
3. play raw hevc file
adb shell am start -a android.intent.action.VIEW -d file:///mnt/sdcard/Movies/hevc/BQMall_832x480_60_qp22.bin -t video/*

10 years agofix compile warning
Michael Chen [Wed, 23 Oct 2013 15:58:49 +0000 (23:58 +0800)]
fix compile warning

10 years agofix ogg mime
Michael Chen [Wed, 23 Oct 2013 12:06:21 +0000 (20:06 +0800)]
fix ogg mime

10 years agofix compile warning -- -fpermissive
Michael Chen [Wed, 23 Oct 2013 11:30:45 +0000 (19:30 +0800)]
fix compile warning -- -fpermissive

10 years agoffmpeg vorbis decoder can not work now, disable it
Michael Chen [Tue, 22 Oct 2013 17:21:25 +0000 (01:21 +0800)]
ffmpeg vorbis decoder can not work now, disable it

10 years agocleanup SoftFFmpegAudio and SoftFFmpegVideo decoders
Michael Chen [Tue, 22 Oct 2013 16:12:16 +0000 (00:12 +0800)]
cleanup SoftFFmpegAudio and SoftFFmpegVideo decoders

10 years agofix vorbis seek error
Michael Chen [Tue, 22 Oct 2013 15:49:05 +0000 (23:49 +0800)]
fix vorbis seek error
vorbis test files:
http://www.vorbis.com/music/
http://www.vorbis.com/music/Epoq-Lepidoptera.ogg
http://www.vorbis.com/music/Hydrate-Kenny_Beltrey.ogg
http://www.vorbis.com/music/Lumme-Badloop.ogg
http://www.vorbis.com/music/Mists_of_Time-4T.ogg
http://www.vorbis.com/music/The_Abyss-4T.ogg

10 years agoadd support for vorbis codec
Michael Chen [Tue, 22 Oct 2013 14:43:47 +0000 (22:43 +0800)]
add support for vorbis codec

10 years agochange from OMX.ffmpeg.vheuristic.decoder to OMX.ffmpeg.vtrial.decoder and
Michael Chen [Tue, 22 Oct 2013 14:42:33 +0000 (22:42 +0800)]
change from OMX.ffmpeg.vheuristic.decoder to OMX.ffmpeg.vtrial.decoder and
change from OMX.ffmpeg.aheuristic.decoder to OMX.ffmpeg.atrial.decoder

10 years agocleanup media_codecs.xml
Michael Chen [Fri, 11 Oct 2013 12:46:13 +0000 (20:46 +0800)]
cleanup media_codecs.xml

10 years agopurge deprecated code
Michael Chen [Sun, 29 Sep 2013 16:57:43 +0000 (00:57 +0800)]
purge deprecated code

10 years agoremove USE_PRE_AUDIO_BUF
Michael Chen [Sun, 29 Sep 2013 16:26:48 +0000 (00:26 +0800)]
remove USE_PRE_AUDIO_BUF

10 years agofix audio track plays fast
Michael Chen [Sun, 29 Sep 2013 16:21:54 +0000 (00:21 +0800)]
fix audio track plays fast

10 years agouse av_err2str uitils to printf err
Michael Chen [Sat, 28 Sep 2013 15:27:05 +0000 (23:27 +0800)]
use av_err2str uitils to printf err

10 years agocleanup
Michael Chen [Fri, 27 Sep 2013 23:51:54 +0000 (07:51 +0800)]
cleanup

10 years agocleanup
Michael Chen [Sun, 22 Sep 2013 17:05:05 +0000 (01:05 +0800)]
cleanup

10 years agofix InstructionalQuicktimeMedRes.mov
Michael Chen [Sun, 22 Sep 2013 16:40:55 +0000 (00:40 +0800)]
fix InstructionalQuicktimeMedRes.mov

10 years agoif no audio pts, then compute it(fix zeldaADPCM5bit.swf and test.swf)
Michael Chen [Sun, 22 Sep 2013 16:22:54 +0000 (00:22 +0800)]
if no audio pts, then compute it(fix zeldaADPCM5bit.swf and test.swf)

10 years agoadd setMode func
Michael Chen [Sat, 21 Sep 2013 13:51:05 +0000 (21:51 +0800)]
add setMode func

10 years agoadd isRoleSupported func
Michael Chen [Sat, 21 Sep 2013 13:38:29 +0000 (21:38 +0800)]
add isRoleSupported func

10 years agoadd ffmpeg heuristic decoder.
Michael Chen [Tue, 17 Sep 2013 16:16:30 +0000 (00:16 +0800)]
add ffmpeg heuristic decoder.
you need to sync git "https://github.com/omxcodec/android_frameworks_native" and
"https://github.com/omxcodec/android_frameworks_av" branch:cm_maguro-10.1

10 years agoadd support for flv
Michael Chen [Fri, 13 Sep 2013 17:14:04 +0000 (01:14 +0800)]
add support for flv
please sync frameworks_av.git

10 years agofix BatmanBegins_1.divx
Michael Chen [Fri, 13 Sep 2013 16:40:44 +0000 (00:40 +0800)]
fix BatmanBegins_1.divx

10 years agoreturn matching MetaData,merge from android-x86
Michael Chen [Fri, 13 Sep 2013 14:36:42 +0000 (22:36 +0800)]
return matching MetaData,merge from android-x86

10 years agoadd support for rv20, rv30(fix yanzi.rm)
Michael Chen [Wed, 11 Sep 2013 15:54:29 +0000 (23:54 +0800)]
add support for rv20, rv30(fix yanzi.rm)

10 years agoadd support for mpeg1video. (fix fall.mpg)
Michael Chen [Sat, 7 Sep 2013 16:05:39 +0000 (00:05 +0800)]
add support for mpeg1video. (fix fall.mpg)
ffmpeg mpeg2video decoder can process "CODEC_ID_MPEG2VIDEO" and "CODEC_ID_MPEG1VIDEO" codec

10 years agorename from "xxxParams" to "profile"
Michael Chen [Sat, 7 Sep 2013 15:48:04 +0000 (23:48 +0800)]
rename from "xxxParams" to "profile"

10 years agocleanup
Michael Chen [Sat, 7 Sep 2013 14:16:28 +0000 (22:16 +0800)]
cleanup

10 years agoffmpegextrator can demux mp1 and mp2 only
Michael Chen [Fri, 6 Sep 2013 17:47:30 +0000 (01:47 +0800)]
ffmpegextrator can demux mp1 and mp2 only
(fix Ai_Si_Ji_Mo_mpeg2.mpg)

10 years agowe should reconfig audio context when ready to open codec
Michael Chen [Fri, 6 Sep 2013 17:23:16 +0000 (01:23 +0800)]
we should reconfig audio context when ready to open codec
fix(2YearBirthday.asf)

10 years agoadd install script
Michael Chen [Fri, 6 Sep 2013 13:38:02 +0000 (21:38 +0800)]
add install script

10 years agocleanup
Michael Chen [Fri, 6 Sep 2013 13:36:44 +0000 (21:36 +0800)]
cleanup

10 years agomove media_codecs.xml to config
Michael Chen [Fri, 6 Sep 2013 13:36:01 +0000 (21:36 +0800)]
move media_codecs.xml to config

10 years agoadd media_codecs.xml(Galaxy Nexus JB)
Michael Chen [Fri, 6 Sep 2013 13:02:46 +0000 (21:02 +0800)]
add media_codecs.xml(Galaxy Nexus JB)

10 years agoadd support for ac3 (fix 4_currents.ac3)
Michael Chen [Thu, 5 Sep 2013 17:13:06 +0000 (01:13 +0800)]
add support for ac3 (fix 4_currents.ac3)

10 years agoMerge branch 'jb-x86-tw' into jb-x86
Michael Chen [Thu, 5 Sep 2013 17:03:57 +0000 (01:03 +0800)]
Merge branch 'jb-x86-tw' into jb-x86

10 years agofix the destructor("FFmpegExtractor::~FFmpegExtractor") do not be called
Michael Chen [Thu, 5 Sep 2013 16:52:41 +0000 (00:52 +0800)]
fix the destructor("FFmpegExtractor::~FFmpegExtractor") do not be called

10 years agofix init and deinit ffmpeg
Michael Chen [Wed, 4 Sep 2013 15:59:32 +0000 (23:59 +0800)]
fix init and deinit ffmpeg

10 years agofix wrong cleanup when fail
Michael Chen [Wed, 4 Sep 2013 15:50:10 +0000 (23:50 +0800)]
fix wrong cleanup when fail

10 years agocleanup
Michael Chen [Wed, 4 Sep 2013 15:22:08 +0000 (23:22 +0800)]
cleanup

10 years agofix audio decoder "Timed out waiting for output buffers"
Michael Chen [Wed, 4 Sep 2013 14:03:36 +0000 (22:03 +0800)]
fix audio decoder "Timed out waiting for output buffers"

10 years agoSoftFFmpegAudio: set block_align for wmadec
Chih-Wei Huang [Wed, 4 Sep 2013 05:00:19 +0000 (13:00 +0800)]
SoftFFmpegAudio: set block_align for wmadec

Now wmadec requires block_align to be set.

10 years agofix audio decoder can not exit(audio file: sh3.ape )
Michael Chen [Tue, 3 Sep 2013 17:06:41 +0000 (01:06 +0800)]
fix audio decoder can not exit(audio file: sh3.ape )

10 years ago1. adjust the dts and ape audio codec of input buffer size
Michael Chen [Sun, 1 Sep 2013 16:19:39 +0000 (00:19 +0800)]
1. adjust the dts and ape audio codec of input buffer size
2. adjust code style

10 years agocheck whether DataSource is CachingDataSource, if yes, do not use ffmpeg extractor
Michael Chen [Sun, 1 Sep 2013 14:32:11 +0000 (22:32 +0800)]
check whether DataSource is CachingDataSource, if yes, do not use ffmpeg extractor

10 years agoadjust code style
Michael Chen [Sun, 1 Sep 2013 11:31:27 +0000 (19:31 +0800)]
adjust code style

10 years agocleanup README
Michael Chen [Sun, 1 Sep 2013 11:21:58 +0000 (19:21 +0800)]
cleanup README

10 years agoremove common_utils
Michael Chen [Sun, 1 Sep 2013 11:17:11 +0000 (19:17 +0800)]
remove common_utils

10 years agoadd scripts for debug
Michael Chen [Sun, 1 Sep 2013 11:13:23 +0000 (19:13 +0800)]
add scripts for debug

10 years agocleanup
Michael Chen [Sun, 1 Sep 2013 11:13:02 +0000 (19:13 +0800)]
cleanup

10 years agocleanup
Michael Chen [Sun, 1 Sep 2013 03:32:37 +0000 (11:32 +0800)]
cleanup

10 years agodisable wav, it can not work now
Michael Chen [Sat, 31 Aug 2013 18:53:04 +0000 (02:53 +0800)]
disable wav, it can not work now

10 years agosupport for wav
Michael Chen [Sat, 31 Aug 2013 18:49:07 +0000 (02:49 +0800)]
support for wav

10 years agouse ffmpeg extractor for these special or codec
Michael Chen [Sat, 31 Aug 2013 18:35:04 +0000 (02:35 +0800)]
use ffmpeg extractor for these special or codec

10 years agoadd adjustCodecConfidence
Michael Chen [Sat, 31 Aug 2013 18:04:04 +0000 (02:04 +0800)]
add adjustCodecConfidence

10 years agofix crash
Michael Chen [Sat, 31 Aug 2013 15:44:04 +0000 (23:44 +0800)]
fix crash

10 years agofix sniff mov. we read the format tags to check mime
Michael Chen [Sat, 31 Aug 2013 15:13:43 +0000 (23:13 +0800)]
fix sniff mov. we read the format tags to check mime

10 years ago1. remove old LegacySniffFFMPEG
Michael Chen [Sat, 31 Aug 2013 14:04:56 +0000 (22:04 +0800)]
1. remove old LegacySniffFFMPEG
2. fix sniff mov format

10 years agocleanup
Michael Chen [Sat, 31 Aug 2013 13:36:54 +0000 (21:36 +0800)]
cleanup

10 years agofix cm_maguro compile
Michael Chen [Fri, 30 Aug 2013 18:13:45 +0000 (02:13 +0800)]
fix cm_maguro compile

10 years agojb-x86 porting
Chih-Wei Huang [Fri, 30 Aug 2013 02:22:05 +0000 (10:22 +0800)]
jb-x86 porting

10 years agochange LOGx -> ALOGx for JellyBean
Chih-Wei Huang [Mon, 26 Aug 2013 15:55:17 +0000 (23:55 +0800)]
change LOGx -> ALOGx for JellyBean

sed -i "s/\(LOG[A-Z]\)/A\1/" `find . -name *.cpp`

10 years agocleanup
Michael Chen [Wed, 24 Apr 2013 15:40:02 +0000 (23:40 +0800)]
cleanup

10 years agoadd chinese README
Michael Chen [Tue, 23 Apr 2013 15:08:42 +0000 (23:08 +0800)]
add chinese README

11 years agocleanup
Michael Chen [Fri, 5 Apr 2013 08:54:40 +0000 (16:54 +0800)]
cleanup

11 years agoupdate README
Michael Chen [Fri, 5 Apr 2013 02:44:29 +0000 (10:44 +0800)]
update README

11 years agoadd support for flac decoder,
Michael Chen [Fri, 5 Apr 2013 02:43:39 +0000 (10:43 +0800)]
add support for flac decoder,
you should sync code "https://github.com/omxcodec/android_frameworks_base"

11 years agoupdate README
Michael Chen [Thu, 4 Apr 2013 18:15:14 +0000 (02:15 +0800)]
update README

11 years agoadd support for DTS decoder.
Michael Chen [Thu, 4 Apr 2013 18:14:21 +0000 (02:14 +0800)]
add support for DTS decoder.
plz sync "https://github.com/omxcodec/android_frameworks_base"

11 years agofix DECLARE_ALIGNED
Michael Chen [Thu, 4 Apr 2013 15:10:29 +0000 (23:10 +0800)]
fix DECLARE_ALIGNED