工作记录



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




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值