編輯:關於Android編程
最近要錄制h264+aac的mp4視頻,使用mp4v2來實現,下面就是編譯的方法
1、下載源碼,
2、解壓下載的mp4v2-2.0.0.tar.bz2,然後進入mp4v2-2.0.0,將裡面的文件以及文件夾拷貝的新創建的jni目錄中,目錄結構例如:/home/zhangjie/mp4v2-2.0.0/jni
3、進入jni目錄,將include目錄中的mp4v2文件夾拷貝出來放到jni目錄下面,例如:/home/zhangjie/mp4v2-2.0.0/jni/mp4v2
4、在jni目錄下創建Application.mk,內容如下:
[java]
APP_ABI := armeabi
APP_PLATFORM := android-8
APP_STL := stlport_static
APP_CPPFLAGS += -fno-rtti
APP_ABI := armeabi
APP_PLATFORM := android-8
APP_STL := stlport_static
APP_CPPFLAGS += -fno-rtti
5、創建Android.mk文件,內容如下:
[java]
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)
NDK=/opt/android-ndk-r8d
LOCAL_SRC_FILES:= \
src/3gp.cpp src/atom_ac3.cpp \
src/atom_amr.cpp src/atom_avc1.cpp src/atom_avcC.cpp \
src/atom_chpl.cpp src/atom_colr.cpp src/atom_d263.cpp \
src/atom_dac3.cpp src/atom_damr.cpp src/atom_dref.cpp \
src/atom_elst.cpp src/atom_enca.cpp src/atom_encv.cpp \
src/atom_free.cpp src/atom_ftyp.cpp src/atom_ftab.cpp \
src/atom_gmin.cpp src/atom_hdlr.cpp src/atom_hinf.cpp \
src/atom_hnti.cpp src/atom_href.cpp src/atom_mdat.cpp \
src/atom_mdhd.cpp src/atom_meta.cpp src/atom_mp4s.cpp \
src/atom_mp4v.cpp src/atom_mvhd.cpp src/atom_nmhd.cpp \
src/atom_ohdr.cpp src/atom_pasp.cpp src/atom_root.cpp \
src/atom_rtp.cpp src/atom_s263.cpp src/atom_sdp.cpp \
src/atom_sdtp.cpp src/atom_smi.cpp src/atom_sound.cpp \
src/atom_standard.cpp src/atom_stbl.cpp src/atom_stdp.cpp \
src/atom_stsc.cpp src/atom_stsd.cpp src/atom_stsz.cpp \
src/atom_stz2.cpp src/atom_text.cpp src/atom_tfhd.cpp \
src/atom_tkhd.cpp src/atom_treftype.cpp src/atom_trun.cpp \
src/atom_tx3g.cpp src/atom_udta.cpp src/atom_url.cpp \
src/atom_urn.cpp src/atom_uuid.cpp src/atom_video.cpp \
src/atom_vmhd.cpp src/atoms.h src/cmeta.cpp \
src/descriptors.cpp src/descriptors.h src/exception.cpp \
src/exception.h src/enum.h src/enum.tcc src/impl.h \
src/isma.cpp src/log.h src/log.cpp src/mp4.cpp src/mp4array.h \
src/mp4atom.cpp src/mp4atom.h src/mp4container.cpp \
src/mp4container.h src/mp4descriptor.cpp src/mp4descriptor.h \
src/mp4file.cpp src/mp4file.h src/mp4file_io.cpp \
src/mp4info.cpp src/mp4property.cpp src/mp4property.h \
src/mp4track.cpp src/mp4track.h src/mp4util.cpp src/mp4util.h \
src/ocidescriptors.cpp src/ocidescriptors.h src/odcommands.cpp \
src/odcommands.h src/qosqualifiers.cpp src/qosqualifiers.h \
src/rtphint.cpp src/rtphint.h src/src.h src/text.cpp \
src/text.h src/util.h src/bmff/bmff.h src/bmff/impl.h \
src/bmff/typebmff.cpp src/bmff/typebmff.h \
src/itmf/CoverArtBox.cpp src/itmf/CoverArtBox.h \
src/itmf/Tags.cpp src/itmf/Tags.h src/itmf/generic.cpp \
src/itmf/generic.h src/itmf/impl.h src/itmf/itmf.h \
src/itmf/type.cpp src/itmf/type.h \
src/qtff/ColorParameterBox.cpp src/qtff/ColorParameterBox.h \
src/qtff/PictureAspectRatioBox.cpp \
src/qtff/PictureAspectRatioBox.h src/qtff/coding.cpp \
src/qtff/coding.h src/qtff/impl.h src/qtff/qtff.h \
libplatform/endian.h libplatform/impl.h \
libplatform/io/File.cpp libplatform/io/File.h \
libplatform/io/FileSystem.cpp libplatform/io/FileSystem.h \
libplatform/number/random.h libplatform/platform.h \
libplatform/platform_base.h libplatform/platform_posix.h \
libplatform/process/process.h \
libplatform/prog/option.cpp libplatform/prog/option.h \
libplatform/sys/error.cpp libplatform/sys/error.h \
libplatform/time/time.cpp libplatform/time/time.h \
libplatform/warning.h libplatform/io/File_posix.cpp \
libplatform/io/FileSystem_posix.cpp \
libplatform/number/random_posix.cpp \
libplatform/process/process_posix.cpp \
libplatform/time/time_posix.cpp \
libutil/Database.cpp \
libutil/Database.h libutil/Timecode.cpp libutil/Timecode.h \
libutil/TrackModifier.cpp libutil/TrackModifier.h \
libutil/Utility.cpp libutil/Utility.h libutil/crc.cpp \
libutil/crc.h libutil/impl.h libutil/other.cpp libutil/other.h \
libutil/util.h
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := -fexceptions
LOCAL_LDFLAGS := \
$(NDK)/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/libsupc++.a
LOCAL_LDLIBS := -llog
LOCAL_SHARED_LIBRARIES := \
libutils \
libbinder \
libcutils
LOCAL_CXXFLAGS :=-fexceptions -Wno-write-strings
LOCAL_MODULE:= libCameraShooting
LOCAL_CPPFLAGS := -O2 -fexceptions -DHAVE_SOCKLEN_T -DHAVE_STRUCT_IOVEC
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)
NDK=/opt/android-ndk-r8d
LOCAL_SRC_FILES:= \
src/3gp.cpp src/atom_ac3.cpp \
src/atom_amr.cpp src/atom_avc1.cpp src/atom_avcC.cpp \
src/atom_chpl.cpp src/atom_colr.cpp src/atom_d263.cpp \
src/atom_dac3.cpp src/atom_damr.cpp src/atom_dref.cpp \
src/atom_elst.cpp src/atom_enca.cpp src/atom_encv.cpp \
src/atom_free.cpp src/atom_ftyp.cpp src/atom_ftab.cpp \
src/atom_gmin.cpp src/atom_hdlr.cpp src/atom_hinf.cpp \
src/atom_hnti.cpp src/atom_href.cpp src/atom_mdat.cpp \
src/atom_mdhd.cpp src/atom_meta.cpp src/atom_mp4s.cpp \
src/atom_mp4v.cpp src/atom_mvhd.cpp src/atom_nmhd.cpp \
src/atom_ohdr.cpp src/atom_pasp.cpp src/atom_root.cpp \
src/atom_rtp.cpp src/atom_s263.cpp src/atom_sdp.cpp \
src/atom_sdtp.cpp src/atom_smi.cpp src/atom_sound.cpp \
src/atom_standard.cpp src/atom_stbl.cpp src/atom_stdp.cpp \
src/atom_stsc.cpp src/atom_stsd.cpp src/atom_stsz.cpp \
src/atom_stz2.cpp src/atom_text.cpp src/atom_tfhd.cpp \
src/atom_tkhd.cpp src/atom_treftype.cpp src/atom_trun.cpp \
src/atom_tx3g.cpp src/atom_udta.cpp src/atom_url.cpp \
src/atom_urn.cpp src/atom_uuid.cpp src/atom_video.cpp \
src/atom_vmhd.cpp src/atoms.h src/cmeta.cpp \
src/descriptors.cpp src/descriptors.h src/exception.cpp \
src/exception.h src/enum.h src/enum.tcc src/impl.h \
src/isma.cpp src/log.h src/log.cpp src/mp4.cpp src/mp4array.h \
src/mp4atom.cpp src/mp4atom.h src/mp4container.cpp \
src/mp4container.h src/mp4descriptor.cpp src/mp4descriptor.h \
src/mp4file.cpp src/mp4file.h src/mp4file_io.cpp \
src/mp4info.cpp src/mp4property.cpp src/mp4property.h \
src/mp4track.cpp src/mp4track.h src/mp4util.cpp src/mp4util.h \
src/ocidescriptors.cpp src/ocidescriptors.h src/odcommands.cpp \
src/odcommands.h src/qosqualifiers.cpp src/qosqualifiers.h \
src/rtphint.cpp src/rtphint.h src/src.h src/text.cpp \
src/text.h src/util.h src/bmff/bmff.h src/bmff/impl.h \
src/bmff/typebmff.cpp src/bmff/typebmff.h \
src/itmf/CoverArtBox.cpp src/itmf/CoverArtBox.h \
src/itmf/Tags.cpp src/itmf/Tags.h src/itmf/generic.cpp \
src/itmf/generic.h src/itmf/impl.h src/itmf/itmf.h \
src/itmf/type.cpp src/itmf/type.h \
src/qtff/ColorParameterBox.cpp src/qtff/ColorParameterBox.h \
src/qtff/PictureAspectRatioBox.cpp \
src/qtff/PictureAspectRatioBox.h src/qtff/coding.cpp \
src/qtff/coding.h src/qtff/impl.h src/qtff/qtff.h \
libplatform/endian.h libplatform/impl.h \
libplatform/io/File.cpp libplatform/io/File.h \
libplatform/io/FileSystem.cpp libplatform/io/FileSystem.h \
libplatform/number/random.h libplatform/platform.h \
libplatform/platform_base.h libplatform/platform_posix.h \
libplatform/process/process.h \
libplatform/prog/option.cpp libplatform/prog/option.h \
libplatform/sys/error.cpp libplatform/sys/error.h \
libplatform/time/time.cpp libplatform/time/time.h \
libplatform/warning.h libplatform/io/File_posix.cpp \
libplatform/io/FileSystem_posix.cpp \
libplatform/number/random_posix.cpp \
libplatform/process/process_posix.cpp \
libplatform/time/time_posix.cpp \
libutil/Database.cpp \
libutil/Database.h libutil/Timecode.cpp libutil/Timecode.h \
libutil/TrackModifier.cpp libutil/TrackModifier.h \
libutil/Utility.cpp libutil/Utility.h libutil/crc.cpp \
libutil/crc.h libutil/impl.h libutil/other.cpp libutil/other.h \
libutil/util.h
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := -fexceptions
LOCAL_LDFLAGS := \
$(NDK)/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/libsupc++.a
LOCAL_LDLIBS := -llog
LOCAL_SHARED_LIBRARIES := \
libutils \
libbinder \
libcutils
LOCAL_CXXFLAGS :=-fexceptions -Wno-write-strings
LOCAL_MODULE:= libCameraShooting
LOCAL_CPPFLAGS := -O2 -fexceptions -DHAVE_SOCKLEN_T -DHAVE_STRUCT_IOVEC
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
6、最後在jni目錄下的終端中輸入ndk-build,結果如下:
[java]
root@zhangjie:/home/zhangjie/mp4v2-2.0.0/jni# ndk-build
Android NDK: WARNING: Unsupported source file extensions in /home/zhangjie/mp4v2-2.0.0/jni/Android.mk for module CameraShooting
Android NDK: AppCameraShooting.h src/atoms.h src/descriptors.h src/exception.h src/enum.h src/enum.tcc src/impl.h src/log.h src/mp4array.h src/mp4atom.h src/mp4container.h src/mp4descriptor.h src/mp4file.h src/mp4property.h src/mp4track.h src/mp4util.h src/ocidescriptors.h src/odcommands.h src/qosqualifiers.h src/rtphint.h src/src.h src/text.h src/util.h src/bmff/bmff.h src/bmff/impl.h src/bmff/typebmff.h src/itmf/CoverArtBox.h src/itmf/Tags.h src/itmf/generic.h src/itmf/impl.h src/itmf/itmf.h src/itmf/type.h src/qtff/ColorParameterBox.h src/qtff/PictureAspectRatioBox.h src/qtff/coding.h src/qtff/impl.h src/qtff/qtff.h libplatform/endian.h libplatform/impl.h libplatform/io/File.h libplatform/io/FileSystem.h libplatform/number/random.h libplatform/platform.h libplatform/platform_base.h libplatform/platform_posix.h libplatform/process/process.h libplatform/prog/option.h libplatform/sys/error.h libplatform/time/time.h libplatform/warning.h libutil/Database.h libutil/Timecode.h libutil/TrackModifier.h libutil/Utility.h libutil/crc.h libutil/impl.h libutil/other.h libutil/util.h
Compile++ arm : CameraShooting <= 3gp.cpp
Compile++ arm : CameraShooting <= atom_ac3.cpp
Compile++ arm : CameraShooting <= atom_amr.cpp
Compile++ arm : CameraShooting <= atom_avc1.cpp
Compile++ arm : CameraShooting <= atom_avcC.cpp
Compile++ arm : CameraShooting <= atom_chpl.cpp
Compile++ arm : CameraShooting <= atom_colr.cpp
Compile++ arm : CameraShooting <= atom_d263.cpp
Compile++ arm : CameraShooting <= atom_dac3.cpp
Compile++ arm : CameraShooting <= atom_damr.cpp
Compile++ arm : CameraShooting <= atom_dref.cpp
Compile++ arm : CameraShooting <= atom_elst.cpp
Compile++ arm : CameraShooting <= atom_enca.cpp
Compile++ arm : CameraShooting <= atom_encv.cpp
Compile++ arm : CameraShooting <= atom_free.cpp
Compile++ arm : CameraShooting <= atom_ftyp.cpp
Compile++ arm : CameraShooting <= atom_ftab.cpp
Compile++ arm : CameraShooting <= atom_gmin.cpp
Compile++ arm : CameraShooting <= atom_hdlr.cpp
Compile++ arm : CameraShooting <= atom_hinf.cpp
Compile++ arm : CameraShooting <= atom_hnti.cpp
Compile++ arm : CameraShooting <= atom_href.cpp
Compile++ arm : CameraShooting <= atom_mdat.cpp
Compile++ arm : CameraShooting <= atom_mdhd.cpp
Compile++ arm : CameraShooting <= atom_meta.cpp
Compile++ arm : CameraShooting <= atom_mp4s.cpp
Compile++ arm : CameraShooting <= atom_mp4v.cpp
Compile++ arm : CameraShooting <= atom_mvhd.cpp
Compile++ arm : CameraShooting <= atom_nmhd.cpp
Compile++ arm : CameraShooting <= atom_ohdr.cpp
Compile++ arm : CameraShooting <= atom_pasp.cpp
Compile++ arm : CameraShooting <= atom_root.cpp
Compile++ arm : CameraShooting <= atom_rtp.cpp
Compile++ arm : CameraShooting <= atom_s263.cpp
Compile++ arm : CameraShooting <= atom_sdp.cpp
Compile++ arm : CameraShooting <= atom_sdtp.cpp
Compile++ arm : CameraShooting <= atom_smi.cpp
Compile++ arm : CameraShooting <= atom_sound.cpp
Compile++ arm : CameraShooting <= atom_standard.cpp
Compile++ arm : CameraShooting <= atom_stbl.cpp
Compile++ arm : CameraShooting <= atom_stdp.cpp
Compile++ arm : CameraShooting <= atom_stsc.cpp
Compile++ arm : CameraShooting <= atom_stsd.cpp
Compile++ arm : CameraShooting <= atom_stsz.cpp
Compile++ arm : CameraShooting <= atom_stz2.cpp
Compile++ arm : CameraShooting <= atom_text.cpp
Compile++ arm : CameraShooting <= atom_tfhd.cpp
Compile++ arm : CameraShooting <= atom_tkhd.cpp
Compile++ arm : CameraShooting <= atom_treftype.cpp
Compile++ arm : CameraShooting <= atom_trun.cpp
Compile++ arm : CameraShooting <= atom_tx3g.cpp
Compile++ arm : CameraShooting <= atom_udta.cpp
Compile++ arm : CameraShooting <= atom_url.cpp
Compile++ arm : CameraShooting <= atom_urn.cpp
Compile++ arm : CameraShooting <= atom_uuid.cpp
Compile++ arm : CameraShooting <= atom_video.cpp
Compile++ arm : CameraShooting <= atom_vmhd.cpp
Compile++ arm : CameraShooting <= cmeta.cpp
Compile++ arm : CameraShooting <= descriptors.cpp
Compile++ arm : CameraShooting <= exception.cpp
Compile++ arm : CameraShooting <= isma.cpp
Compile++ arm : CameraShooting <= log.cpp
Compile++ arm : CameraShooting <= mp4.cpp
Compile++ arm : CameraShooting <= mp4atom.cpp
Compile++ arm : CameraShooting <= mp4container.cpp
Compile++ arm : CameraShooting <= mp4descriptor.cpp
Compile++ arm : CameraShooting <= mp4file.cpp
Compile++ arm : CameraShooting <= mp4file_io.cpp
Compile++ arm : CameraShooting <= mp4info.cpp
Compile++ arm : CameraShooting <= mp4property.cpp
Compile++ arm : CameraShooting <= mp4track.cpp
Compile++ arm : CameraShooting <= mp4util.cpp
Compile++ arm : CameraShooting <= ocidescriptors.cpp
Compile++ arm : CameraShooting <= odcommands.cpp
Compile++ arm : CameraShooting <= qosqualifiers.cpp
Compile++ arm : CameraShooting <= rtphint.cpp
Compile++ arm : CameraShooting <= text.cpp
Compile++ arm : CameraShooting <= typebmff.cpp
Compile++ arm : CameraShooting <= CoverArtBox.cpp
Compile++ arm : CameraShooting <= Tags.cpp
Compile++ arm : CameraShooting <= generic.cpp
Compile++ arm : CameraShooting <= type.cpp
Compile++ arm : CameraShooting <= ColorParameterBox.cpp
Compile++ arm : CameraShooting <= PictureAspectRatioBox.cpp
Compile++ arm : CameraShooting <= coding.cpp
Compile++ arm : CameraShooting <= File.cpp
Compile++ arm : CameraShooting <= FileSystem.cpp
Compile++ arm : CameraShooting <= option.cpp
Compile++ arm : CameraShooting <= error.cpp
Compile++ arm : CameraShooting <= time.cpp
Compile++ arm : CameraShooting <= File_posix.cpp
Compile++ arm : CameraShooting <= FileSystem_posix.cpp
Compile++ arm : CameraShooting <= random_posix.cpp
Compile++ arm : CameraShooting <= process_posix.cpp
Compile++ arm : CameraShooting <= time_posix.cpp
Compile++ arm : CameraShooting <= Database.cpp
Compile++ arm : CameraShooting <= Timecode.cpp
Compile++ arm : CameraShooting <= TrackModifier.cpp
Compile++ arm : CameraShooting <= Utility.cpp
Compile++ arm : CameraShooting <= crc.cpp
Compile++ arm : CameraShooting <= other.cpp
Prebuilt : libstlport_static.a <= <NDK>/sources/cxx-stl/stlport/libs/armeabi/
SharedLibrary : libCameraShooting.so
Install : libCameraShooting.so => libs/armeabi/libCameraShooting.so
root@zhangjie:/home/zhangjie/mp4v2-2.0.0/jni# ndk-build
Android NDK: WARNING: Unsupported source file extensions in /home/zhangjie/mp4v2-2.0.0/jni/Android.mk for module CameraShooting
Android NDK: AppCameraShooting.h src/atoms.h src/descriptors.h src/exception.h src/enum.h src/enum.tcc src/impl.h src/log.h src/mp4array.h src/mp4atom.h src/mp4container.h src/mp4descriptor.h src/mp4file.h src/mp4property.h src/mp4track.h src/mp4util.h src/ocidescriptors.h src/odcommands.h src/qosqualifiers.h src/rtphint.h src/src.h src/text.h src/util.h src/bmff/bmff.h src/bmff/impl.h src/bmff/typebmff.h src/itmf/CoverArtBox.h src/itmf/Tags.h src/itmf/generic.h src/itmf/impl.h src/itmf/itmf.h src/itmf/type.h src/qtff/ColorParameterBox.h src/qtff/PictureAspectRatioBox.h src/qtff/coding.h src/qtff/impl.h src/qtff/qtff.h libplatform/endian.h libplatform/impl.h libplatform/io/File.h libplatform/io/FileSystem.h libplatform/number/random.h libplatform/platform.h libplatform/platform_base.h libplatform/platform_posix.h libplatform/process/process.h libplatform/prog/option.h libplatform/sys/error.h libplatform/time/time.h libplatform/warning.h libutil/Database.h libutil/Timecode.h libutil/TrackModifier.h libutil/Utility.h libutil/crc.h libutil/impl.h libutil/other.h libutil/util.h
Compile++ arm : CameraShooting <= 3gp.cpp
Compile++ arm : CameraShooting <= atom_ac3.cpp
Compile++ arm : CameraShooting <= atom_amr.cpp
Compile++ arm : CameraShooting <= atom_avc1.cpp
Compile++ arm : CameraShooting <= atom_avcC.cpp
Compile++ arm : CameraShooting <= atom_chpl.cpp
Compile++ arm : CameraShooting <= atom_colr.cpp
Compile++ arm : CameraShooting <= atom_d263.cpp
Compile++ arm : CameraShooting <= atom_dac3.cpp
Compile++ arm : CameraShooting <= atom_damr.cpp
Compile++ arm : CameraShooting <= atom_dref.cpp
Compile++ arm : CameraShooting <= atom_elst.cpp
Compile++ arm : CameraShooting <= atom_enca.cpp
Compile++ arm : CameraShooting <= atom_encv.cpp
Compile++ arm : CameraShooting <= atom_free.cpp
Compile++ arm : CameraShooting <= atom_ftyp.cpp
Compile++ arm : CameraShooting <= atom_ftab.cpp
Compile++ arm : CameraShooting <= atom_gmin.cpp
Compile++ arm : CameraShooting <= atom_hdlr.cpp
Compile++ arm : CameraShooting <= atom_hinf.cpp
Compile++ arm : CameraShooting <= atom_hnti.cpp
Compile++ arm : CameraShooting <= atom_href.cpp
Compile++ arm : CameraShooting <= atom_mdat.cpp
Compile++ arm : CameraShooting <= atom_mdhd.cpp
Compile++ arm : CameraShooting <= atom_meta.cpp
Compile++ arm : CameraShooting <= atom_mp4s.cpp
Compile++ arm : CameraShooting <= atom_mp4v.cpp
Compile++ arm : CameraShooting <= atom_mvhd.cpp
Compile++ arm : CameraShooting <= atom_nmhd.cpp
Compile++ arm : CameraShooting <= atom_ohdr.cpp
Compile++ arm : CameraShooting <= atom_pasp.cpp
Compile++ arm : CameraShooting <= atom_root.cpp
Compile++ arm : CameraShooting <= atom_rtp.cpp
Compile++ arm : CameraShooting <= atom_s263.cpp
Compile++ arm : CameraShooting <= atom_sdp.cpp
Compile++ arm : CameraShooting <= atom_sdtp.cpp
Compile++ arm : CameraShooting <= atom_smi.cpp
Compile++ arm : CameraShooting <= atom_sound.cpp
Compile++ arm : CameraShooting <= atom_standard.cpp
Compile++ arm : CameraShooting <= atom_stbl.cpp
Compile++ arm : CameraShooting <= atom_stdp.cpp
Compile++ arm : CameraShooting <= atom_stsc.cpp
Compile++ arm : CameraShooting <= atom_stsd.cpp
Compile++ arm : CameraShooting <= atom_stsz.cpp
Compile++ arm : CameraShooting <= atom_stz2.cpp
Compile++ arm : CameraShooting <= atom_text.cpp
Compile++ arm : CameraShooting <= atom_tfhd.cpp
Compile++ arm : CameraShooting <= atom_tkhd.cpp
Compile++ arm : CameraShooting <= atom_treftype.cpp
Compile++ arm : CameraShooting <= atom_trun.cpp
Compile++ arm : CameraShooting <= atom_tx3g.cpp
Compile++ arm : CameraShooting <= atom_udta.cpp
Compile++ arm : CameraShooting <= atom_url.cpp
Compile++ arm : CameraShooting <= atom_urn.cpp
Compile++ arm : CameraShooting <= atom_uuid.cpp
Compile++ arm : CameraShooting <= atom_video.cpp
Compile++ arm : CameraShooting <= atom_vmhd.cpp
Compile++ arm : CameraShooting <= cmeta.cpp
Compile++ arm : CameraShooting <= descriptors.cpp
Compile++ arm : CameraShooting <= exception.cpp
Compile++ arm : CameraShooting <= isma.cpp
Compile++ arm : CameraShooting <= log.cpp
Compile++ arm : CameraShooting <= mp4.cpp
Compile++ arm : CameraShooting <= mp4atom.cpp
Compile++ arm : CameraShooting <= mp4container.cpp
Compile++ arm : CameraShooting <= mp4descriptor.cpp
Compile++ arm : CameraShooting <= mp4file.cpp
Compile++ arm : CameraShooting <= mp4file_io.cpp
Compile++ arm : CameraShooting <= mp4info.cpp
Compile++ arm : CameraShooting <= mp4property.cpp
Compile++ arm : CameraShooting <= mp4track.cpp
Compile++ arm : CameraShooting <= mp4util.cpp
Compile++ arm : CameraShooting <= ocidescriptors.cpp
Compile++ arm : CameraShooting <= odcommands.cpp
Compile++ arm : CameraShooting <= qosqualifiers.cpp
Compile++ arm : CameraShooting <= rtphint.cpp
Compile++ arm : CameraShooting <= text.cpp
Compile++ arm : CameraShooting <= typebmff.cpp
Compile++ arm : CameraShooting <= CoverArtBox.cpp
Compile++ arm : CameraShooting <= Tags.cpp
Compile++ arm : CameraShooting <= generic.cpp
Compile++ arm : CameraShooting <= type.cpp
Compile++ arm : CameraShooting <= ColorParameterBox.cpp
Compile++ arm : CameraShooting <= PictureAspectRatioBox.cpp
Compile++ arm : CameraShooting <= coding.cpp
Compile++ arm : CameraShooting <= File.cpp
Compile++ arm : CameraShooting <= FileSystem.cpp
Compile++ arm : CameraShooting <= option.cpp
Compile++ arm : CameraShooting <= error.cpp
Compile++ arm : CameraShooting <= time.cpp
Compile++ arm : CameraShooting <= File_posix.cpp
Compile++ arm : CameraShooting <= FileSystem_posix.cpp
Compile++ arm : CameraShooting <= random_posix.cpp
Compile++ arm : CameraShooting <= process_posix.cpp
Compile++ arm : CameraShooting <= time_posix.cpp
Compile++ arm : CameraShooting <= Database.cpp
Compile++ arm : CameraShooting <= Timecode.cpp
Compile++ arm : CameraShooting <= TrackModifier.cpp
Compile++ arm : CameraShooting <= Utility.cpp
Compile++ arm : CameraShooting <= crc.cpp
Compile++ arm : CameraShooting <= other.cpp
Prebuilt : libstlport_static.a <= <NDK>/sources/cxx-stl/stlport/libs/armeabi/
SharedLibrary : libCameraShooting.so
Install : libCameraShooting.so => libs/armeabi/libCameraShooting.so
7、成功編譯出mp4v2庫。
最近學習了Activity的啟動模式,這裡記錄下,以便以後回顧Activity有四種啟動模式,分別為:* standard* singleTop* singleTask*
先看看效果:activity_main.xml主頁布局就2個button,分別彈出不同效果的2個進度條<LinearLayout xmlns:android=htt
效果圖,每隔1秒,變換一下時間 xml: 復制代碼 代碼如下: <RelativeLayout xmlns:android=http://schemas
這是Android UI Fundamentals裡的內容 創建自定義視圖 創建自定義UI組件首先要繼承一個視圖類. 首先創建一個簡單的自定義視圖, 展示一條十