原创 ffmpeg x264編碼參數設定

FFmpeg option x264 option -g <frames> –keyint -b <bits per second> –bitrate -bufsize <bits> –vbv-bufsize -maxrate <bit

原创 Apache 交叉編譯

開發板型號:tiny6410 開發板內核版本:2.6.38 宿主機系統:虛擬機ubuntu 11.10   由於一般開發板的處理能力和存儲資源較少,在開發板上安裝服務器軟件,把開發板作爲服務器,個人認爲一般是絕少這樣使用的。將apach

原创 LIVE555 Cross-compile & Usage

1.  LIVE555Cross-Compile a.       Modified config.armlinuxthe 1st line of ./live folder CROSS_COMPILE?=           arm-e

原创 TI FAE 中文論壇

http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_p

原创 Linux 更改mac 地址

$ sudo ifconfig eth0 down  #斷開網絡連接 $ sudo ifconfig eth0 hw ether D4:BE:D9:88:A1:34  # 更改mac $ sudo ifconfig eth0 up  

原创 ubuntu 軟件管理軟件

Synaptic package Manager

原创 Ubuntu 系統 Update-rc.d 命令

Ubuntu或者Debian系統中update-rc.d命令,是用來更新系統啓動項的腳本。這些腳本的鏈接位於/etc/rcN.d/目錄,對應腳本位於/etc/init.d/目錄。在瞭解update-rc.d命令之前,你需要知道的是有關L

原创 Linux NFS 掛載及其NFS server 安裝

1. 安裝 NFS 軟件  apt-get install portmap nfs-kernel-server 2. 配置 NFS 文件系統服務    修改/etc/exports 文件,添加需要共享的文件夾 例如 /opt/DVRRD

原创 Gstreamer rtspsrc 停止不發送teardown 命令

修改 gstrtspsrc.c    參考加粗字體 1.  <pre name="code" class="cpp">gst_rtspsrc_loop_send_cmd (GstRTSPSrc * src, gint cmd, gi

原创 TK1/TX1 Gstreamer 測試命令

測試解碼器 gst-launch-1.0 -v filesrc location=/mnt/nfs/30fps4k.mp4 ! decodebin  ! nvvidconv ! xvimagesink -

原创 udp socket send /receive sample

#include <stdio.h>      /* for printf() and fprintf() */ #include <sys/socket.h> /* for socket(), conn

原创 鏈接庫路徑指定LD_LIBRARY_PATH

三、運行時庫的連接   庫文件在連接(靜態庫和共享庫)和運行(僅限於使用共享庫的程序)時被使用,其搜索路徑是在系統中進行設置的。一般Linux系統把/lib和/usr/lib兩個目錄作爲默認的庫搜索路徑,所以使用這兩個目錄中的庫是不需

原创 FFMPEG timestamp conception and Unit Conversion

1.     FFMPEGtimestamp conception and Unit Conversion a.      FFMPEG timebase is presentationby AVRational typedef stru

原创 Gstreamer 編譯安裝

1. Download the latest version of gstreamer available at: http://gstreamer.freedesktop.org/src/ The fo

原创 Linux 網絡配置

更改mac address  sudo ifconfig eth0 down sudo ifconfig eth0 hw ether D4:BE:D9:88:A1:34  sudo ifconfig eth0 up; 增加虛擬ip