how to debug ffmpeg using eclipse
1. install JDK
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
2. install eclipse CDT
3. build ffmpeg
4. open existing makefile project.
refer to
http://blog.csdn.net/huangxiansheng1980/article/details/6939955
how to setup ubuntu wifi
1.install "windows wireless drivers"
2.find out windows driver
3.install New Driver
4.iwconfig, if you can see wlan, then wifi works.
how to build ffplay
sudo apt-get install libsdl1.2-dev
in ffmpeg folder
sudo vi /etc/ld.so.conf
<<
include /etc/ld.so.conf.d/*.conf
/opt/ffmpeg/libavcodec/
/opt/ffmpeg/libavformat/
/opt/ffmpeg/libavutil/
/opt/ffmpeg/libavdevice/
/opt/ffmpeg/libavfilter/
/opt/ffmpeg/libswresample/
/opt/ffmpeg/libswscale/
>>
#sudo ldconfig
#./configure --enable-shared
#make
在secureCRT中选项->会话选项->记录文件; 在每行 添加:[%M%D %h:%m:%s.%t]
cat /proc/meminfo
下载gstreamer for android
1.repo init -u git://github.com/prajnashi/android-gst-manifest.git
2.修改 ./repo/manifest.xml, 注释掉korg,只下载gstreamer
3.repo sync
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!--zhang
<remote name="korg"
fetch="git://android.git.kernel.org/"
review="review.source.android.com" />
-->
<!-- gstreamer remote -->
<remote name="gstreamer"
fetch="git://github.com/prajnashi/"
review="review.source.android.com" />
<!--
<default revision="cupcake"
remote="korg" />
-->
porting GStreamer
1.build
BUILD_SHARED_LIBRARY:= $(BUILD_SYSTEM)/shared_library.mk
+BUILD_PLUGIN_LIBRARY:= $(BUILD_SYSTEM)/plugin_library.mk
2.envsetup.mk
TARGET_OUT_PLUGIN_LIBRARIES:= $(TARGET_OUT)/plugins 设置输出共享库的目录
3.
gst-plugins-android/sink/surfaceflingersink/Android.mk
include $(BUILD_PLUGIN_LIBRARY) 输出lib到 plugins