smartyuge / avbookcode Goto Github PK
View Code? Open in Web Editor NEW《Android音视频开发》一书源码及勘误
License: GNU General Public License v3.0
《Android音视频开发》一书源码及勘误
License: GNU General Public License v3.0
何大神,您好
想问下书本中的代码基于android sdk的版本,是27么
另外想问下,有没有《音视频开发》的qq交流群呢,我觉得建一个方便大家沟通哈
第九章源码编译崩溃,
06-24 11:14:34.229 22609-22659/com.hejunlin.ffmpegpushcamerastream E/HAL: load: id=gralloc != hmi->id=gralloc
06-24 11:14:34.229 22609-22659/com.hejunlin.ffmpegpushcamerastream I/OpenGLRenderer: Initialized EGL, version 1.4
06-24 11:14:34.312 22609-22609/com.hejunlin.ffmpegpushcamerastream E/Camera: Camera new cameraInitNormal:0
06-24 11:14:34.416 22609-22620/com.hejunlin.ffmpegpushcamerastream E/Camera: notify error: 2, and: 0
06-24 11:14:34.968 22609-22609/com.hejunlin.ffmpegpushcamerastream E/Camera: Camera new cameraInitNormal:0
06-24 11:14:35.005 22609-22609/com.hejunlin.ffmpegpushcamerastream E/Camera: Error 2
06-24 11:14:35.007 22609-22609/com.hejunlin.ffmpegpushcamerastream I/Choreographer: Skipped 38 frames! The application may be doing too much work on its main thread.
06-24 11:15:04.932 22609-22787/com.hejunlin.ffmpegpushcamerastream I/AudioRecordPermission: remindWithResult:false
06-24 11:15:04.932 22609-22787/com.hejunlin.ffmpegpushcamerastream I/HwAudioRecordImpl: HwAudioRecordImpl
06-24 11:15:04.932 22609-22787/com.hejunlin.ffmpegpushcamerastream I/HwAudioRecordImpl: checkRecordActive
06-24 11:15:04.936 22609-22787/com.hejunlin.ffmpegpushcamerastream I/HwAudioRecordImpl: sendStateChangedIntent, state=3
请问如何解决
第一, 书名叫 xxx 音视频开发. 但是,只讲解码,不讲推流,也不讲直播. 推流拉流部分一句话带过.
第二,可以网上几块钱买个电子版看看.不然真的是浪费钱.
勘误:WeakReference书中都说成软引用,
比如P15,软引用不应该是SoftReference么
这个怎么用,不会
前几章节 源码是空的! 前几章节 源码是空的! 前几章节 源码是空的! 前几章节 源码是空的!
我在android官方的cs.android.com网站上没有搜到,是被删除了吗?
8.3.4章节的as代码
c方法方法无法跳转,不知道为什么
No usages found in Project Files
解压后没有内容呢
page14 MediaPlayer构造方法调用的native_setup()明明只有一个参数,为什么page16的native_setup()源码有两个参数
#!/bin/bash
make clean
export NDK=C:/Users/Administrator/AppData/Local/Android/Sdk/ndk-bundle
export SYSROOT=$NDK/platforms/android-28/arch-arm
export TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64
export CPU=arm
export PREFIX=F:/ffmpeg/ffmpeg/android/$CPU
export ADDI_CFLAGS="-marm"
./configure --target-os=android
--prefix=$PREFIX --arch=arm
--disable-doc
--enable-shared
--disable-static
--disable-yasm
--disable-symver
--enable-gpl
--disable-ffmpeg
--disable-ffplay
--disable-ffprobe
--disable-ffserver
--disable-doc
--disable-symver
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi-
--enable-cross-compile
--sysroot=$SYSROOT
--extra-cflags="-Os -fpic $ADDI_CFLAGS"
--extra-ldflags="$ADDI_LDFLAGS"
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
Makefile:163: /tests/Makefile: No such file or directory
make: *** 没有规则可制作目标“/tests/Makefile”。 停止。
Unknown option "--disable-ffserver".
See ./configure --help for available options.
Makefile:163: /tests/Makefile: No such file or directory
make: *** 没有规则可制作目标“/tests/Makefile”。 停止。
Makefile:163: /tests/Makefile: No such file or directory
make: *** 没有规则可制作目标“/tests/Makefile”。 停止。
Makefile:163: /tests/Makefile: No such file or directory
make: *** 没有规则可制作目标“/tests/Makefile”。 停止
找不到何俊林公众号
源码就这?
avcode_open2第一次调用是在avcodec_find_decoder之后,后面再申明ANativeWindow_Buffer之后又调用了一次
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.