OSDN Git Service
Michael Chen [Wed, 13 Nov 2013 11:45:53 +0000 (19:45 +0800)]
cleanup
Michael Chen [Mon, 11 Nov 2013 16:30:36 +0000 (00:30 +0800)]
cleanup FFmpegExtractor::stream_component_open
Michael Chen [Sun, 10 Nov 2013 12:54:38 +0000 (20:54 +0800)]
fix rv20
Michael Chen [Sun, 10 Nov 2013 08:45:03 +0000 (16:45 +0800)]
move some codec utils to codec_utils.cpp
Michael Chen [Sun, 10 Nov 2013 07:55:24 +0000 (15:55 +0800)]
remove packet_queue_XXX funcs to ffmpeg_utils.cpp
Michael Chen [Wed, 6 Nov 2013 16:27:32 +0000 (00:27 +0800)]
fix set kKeyMIMEType
Michael Chen [Wed, 6 Nov 2013 16:26:47 +0000 (00:26 +0800)]
fix OMX_AUDIO_CodingMP2
Michael Chen [Mon, 4 Nov 2013 16:15:16 +0000 (00:15 +0800)]
add adjust confidence funcs
Michael Chen [Mon, 4 Nov 2013 14:43:27 +0000 (22:43 +0800)]
cleanup vorbis decoder
Michael Chen [Sun, 3 Nov 2013 17:25:55 +0000 (01:25 +0800)]
add support for virbis decoder
Michael Chen [Sun, 3 Nov 2013 16:13:54 +0000 (00:13 +0800)]
add support for vorbis parser in FFmpegExtractor
Michael Chen [Sun, 3 Nov 2013 12:41:53 +0000 (20:41 +0800)]
fix the rtvc1.vc1 file can't be played somtimes
Michael Chen [Sat, 2 Nov 2013 12:56:05 +0000 (20:56 +0800)]
add isPortSettingChanged func to check setting changed
Michael Chen [Fri, 1 Nov 2013 17:43:21 +0000 (01:43 +0800)]
Merge branch 'master' of https://github.com/omxcodec/stagefright-plugins
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)
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)
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"
Michael Chen [Thu, 31 Oct 2013 16:06:20 +0000 (00:06 +0800)]
fix getCodecId error
Michael Chen [Wed, 30 Oct 2013 12:11:47 +0000 (20:11 +0800)]
fix VC1 CompressionFormat error
Michael Chen [Tue, 29 Oct 2013 13:54:09 +0000 (21:54 +0800)]
update README
Michael Chen [Sun, 27 Oct 2013 03:27:00 +0000 (11:27 +0800)]
disable no audio frames debug info
Michael Chen [Sun, 27 Oct 2013 03:11:24 +0000 (11:11 +0800)]
fix select extractor, file: InstructionalQuicktimeMedRes.mov
Michael Chen [Sat, 26 Oct 2013 16:36:20 +0000 (00:36 +0800)]
fix diatonis_phtos1_1920x1080_51_audio_2011-12.wmv crash
Michael Chen [Sat, 26 Oct 2013 15:10:53 +0000 (23:10 +0800)]
fix extractor select when source has hevc codec
Michael Chen [Sat, 26 Oct 2013 15:02:02 +0000 (23:02 +0800)]
remove repo/local_manifest.xml
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
Michael Chen [Sat, 26 Oct 2013 14:30:20 +0000 (22:30 +0800)]
update README
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/*
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/*
Michael Chen [Wed, 23 Oct 2013 15:58:49 +0000 (23:58 +0800)]
fix compile warning
Michael Chen [Wed, 23 Oct 2013 12:06:21 +0000 (20:06 +0800)]
fix ogg mime
Michael Chen [Wed, 23 Oct 2013 11:30:45 +0000 (19:30 +0800)]
fix compile warning -- -fpermissive
Michael Chen [Tue, 22 Oct 2013 17:21:25 +0000 (01:21 +0800)]
ffmpeg vorbis decoder can not work now, disable it
Michael Chen [Tue, 22 Oct 2013 16:12:16 +0000 (00:12 +0800)]
cleanup SoftFFmpegAudio and SoftFFmpegVideo decoders
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
Michael Chen [Tue, 22 Oct 2013 14:43:47 +0000 (22:43 +0800)]
add support for vorbis codec
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
Michael Chen [Fri, 11 Oct 2013 12:46:13 +0000 (20:46 +0800)]
cleanup media_codecs.xml
Michael Chen [Sun, 29 Sep 2013 16:57:43 +0000 (00:57 +0800)]
purge deprecated code
Michael Chen [Sun, 29 Sep 2013 16:26:48 +0000 (00:26 +0800)]
remove USE_PRE_AUDIO_BUF
Michael Chen [Sun, 29 Sep 2013 16:21:54 +0000 (00:21 +0800)]
fix audio track plays fast
Michael Chen [Sat, 28 Sep 2013 15:27:05 +0000 (23:27 +0800)]
use av_err2str uitils to printf err
Michael Chen [Fri, 27 Sep 2013 23:51:54 +0000 (07:51 +0800)]
cleanup
Michael Chen [Sun, 22 Sep 2013 17:05:05 +0000 (01:05 +0800)]
cleanup
Michael Chen [Sun, 22 Sep 2013 16:40:55 +0000 (00:40 +0800)]
fix InstructionalQuicktimeMedRes.mov
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)
Michael Chen [Sat, 21 Sep 2013 13:51:05 +0000 (21:51 +0800)]
add setMode func
Michael Chen [Sat, 21 Sep 2013 13:38:29 +0000 (21:38 +0800)]
add isRoleSupported func
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
Michael Chen [Fri, 13 Sep 2013 17:14:04 +0000 (01:14 +0800)]
add support for flv
please sync frameworks_av.git
Michael Chen [Fri, 13 Sep 2013 16:40:44 +0000 (00:40 +0800)]
fix BatmanBegins_1.divx
Michael Chen [Fri, 13 Sep 2013 14:36:42 +0000 (22:36 +0800)]
return matching MetaData,merge from android-x86
Michael Chen [Wed, 11 Sep 2013 15:54:29 +0000 (23:54 +0800)]
add support for rv20, rv30(fix yanzi.rm)
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
Michael Chen [Sat, 7 Sep 2013 15:48:04 +0000 (23:48 +0800)]
rename from "xxxParams" to "profile"
Michael Chen [Sat, 7 Sep 2013 14:16:28 +0000 (22:16 +0800)]
cleanup
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)
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)
Michael Chen [Fri, 6 Sep 2013 13:38:02 +0000 (21:38 +0800)]
add install script
Michael Chen [Fri, 6 Sep 2013 13:36:44 +0000 (21:36 +0800)]
cleanup
Michael Chen [Fri, 6 Sep 2013 13:36:01 +0000 (21:36 +0800)]
move media_codecs.xml to config
Michael Chen [Fri, 6 Sep 2013 13:02:46 +0000 (21:02 +0800)]
add media_codecs.xml(Galaxy Nexus JB)
Michael Chen [Thu, 5 Sep 2013 17:13:06 +0000 (01:13 +0800)]
add support for ac3 (fix 4_currents.ac3)
Michael Chen [Thu, 5 Sep 2013 17:03:57 +0000 (01:03 +0800)]
Merge branch 'jb-x86-tw' into jb-x86
Michael Chen [Thu, 5 Sep 2013 16:52:41 +0000 (00:52 +0800)]
fix the destructor("FFmpegExtractor::~FFmpegExtractor") do not be called
Michael Chen [Wed, 4 Sep 2013 15:59:32 +0000 (23:59 +0800)]
fix init and deinit ffmpeg
Michael Chen [Wed, 4 Sep 2013 15:50:10 +0000 (23:50 +0800)]
fix wrong cleanup when fail
Michael Chen [Wed, 4 Sep 2013 15:22:08 +0000 (23:22 +0800)]
cleanup
Michael Chen [Wed, 4 Sep 2013 14:03:36 +0000 (22:03 +0800)]
fix audio decoder "Timed out waiting for output buffers"
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.
Michael Chen [Tue, 3 Sep 2013 17:06:41 +0000 (01:06 +0800)]
fix audio decoder can not exit(audio file: sh3.ape )
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
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
Michael Chen [Sun, 1 Sep 2013 11:31:27 +0000 (19:31 +0800)]
adjust code style
Michael Chen [Sun, 1 Sep 2013 11:21:58 +0000 (19:21 +0800)]
cleanup README
Michael Chen [Sun, 1 Sep 2013 11:17:11 +0000 (19:17 +0800)]
remove common_utils
Michael Chen [Sun, 1 Sep 2013 11:13:23 +0000 (19:13 +0800)]
add scripts for debug
Michael Chen [Sun, 1 Sep 2013 11:13:02 +0000 (19:13 +0800)]
cleanup
Michael Chen [Sun, 1 Sep 2013 03:32:37 +0000 (11:32 +0800)]
cleanup
Michael Chen [Sat, 31 Aug 2013 18:53:04 +0000 (02:53 +0800)]
disable wav, it can not work now
Michael Chen [Sat, 31 Aug 2013 18:49:07 +0000 (02:49 +0800)]
support for wav
Michael Chen [Sat, 31 Aug 2013 18:35:04 +0000 (02:35 +0800)]
use ffmpeg extractor for these special or codec
Michael Chen [Sat, 31 Aug 2013 18:04:04 +0000 (02:04 +0800)]
add adjustCodecConfidence
Michael Chen [Sat, 31 Aug 2013 15:44:04 +0000 (23:44 +0800)]
fix crash
Michael Chen [Sat, 31 Aug 2013 15:13:43 +0000 (23:13 +0800)]
fix sniff mov. we read the format tags to check mime
Michael Chen [Sat, 31 Aug 2013 14:04:56 +0000 (22:04 +0800)]
1. remove old LegacySniffFFMPEG
2. fix sniff mov format
Michael Chen [Sat, 31 Aug 2013 13:36:54 +0000 (21:36 +0800)]
cleanup
Michael Chen [Fri, 30 Aug 2013 18:13:45 +0000 (02:13 +0800)]
fix cm_maguro compile
Chih-Wei Huang [Fri, 30 Aug 2013 02:22:05 +0000 (10:22 +0800)]
jb-x86 porting
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`
Michael Chen [Wed, 24 Apr 2013 15:40:02 +0000 (23:40 +0800)]
cleanup
Michael Chen [Tue, 23 Apr 2013 15:08:42 +0000 (23:08 +0800)]
add chinese README
Michael Chen [Fri, 5 Apr 2013 08:54:40 +0000 (16:54 +0800)]
cleanup
Michael Chen [Fri, 5 Apr 2013 02:44:29 +0000 (10:44 +0800)]
update README
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"
Michael Chen [Thu, 4 Apr 2013 18:15:14 +0000 (02:15 +0800)]
update README
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"
Michael Chen [Thu, 4 Apr 2013 15:10:29 +0000 (23:10 +0800)]
fix DECLARE_ALIGNED
Michael Chen [Thu, 4 Apr 2013 14:20:02 +0000 (22:20 +0800)]
add support for PS
Michael Chen [Thu, 4 Apr 2013 13:54:08 +0000 (21:54 +0800)]
fix bug "Codec's input buffers are too small to accomodate buffer read from source"