Skip to content

faac and the malformated aac bit stream error

在OpenBSD上编译了ffmpeg后,VIMP在转码的时候无法将mp4文件转换为m4v格式。手工执行同样的命令出现类似下面的错误: malformated aac bit stream , use -absf aac_adtstoasc av_interleaved_write_frame(): Operation not permitted   折腾了半天才发现,可能是OpenBSD 5.0的faac-2.18p2软件包的问题,将它卸载后重新编译faac软件后转码成功。 至此,VIMP2.2可以在OpenBSD 上运行了。 http://kdump.no-ip.org/

Read more

building MPlayer-1.0rc4 on openbsd 5.0

首先,建议使用openbsd 的package安装,而不是从源码编译,除非里面的mplayer确实不适用。 source file: http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2   编译之前,先下载:

configure选项: –codecsdir=/usr/local/lib/codecs –extra-cflags=-I/usr/local/include –extra-ldflags=-L/usr/local/lib gmake && gmake install  #(gmake, not make)   如果出现: network.h:69: error: redefinition of ‘struct sockaddr_storage’ 编辑 libavformat/network.h文件,在文件前面添加: #define HAVE_STRUCT_SOCKADDR_STORAGE 1   在AMD64平台上,你可能会遇到下面的错误:

Read more

build php-5.3.8 on OpenBSD 5.0

由于要配合nginx使用php-fpm,于是自己编译php-5.3.8。 在make的时候出现如下错误: ext/iconv/iconv.c:615: undefined reference to `iconv’ google了一下,说是在make的时候要加上参数 EXTRA_CFLAGS=-liconv,或者是修改Makefile,但是依然不行。 最后,删除config.cache, 运行make clean,加上“–with-iconv=/usr/local”参数重新configure,然后make &&  make install 成功。 configure参数如下,仅供参考:

Read more

install flvtool2 on OpenBSD 5.0

cd /usr/src/ pkg_add -v ruby-1.8 ftp http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz tar xzf flvtool2-1.0.6.tgz cd flvtool2-1.0.6 ruby setup.rb config ruby setup.rb setup ruby setup.rb install cd ..

Read more

VCS cheat sheet

http://www.datadisk.co.uk/html_docs/veritas/veritas_cluster_cs.htm VCS uses two components, LLT and GAB to share data over the private networks among systems. These components provide the performance and reliability required by VCS. LLT LLT (Low Latency Transport) provides fast, kernel-to-kernel comms and monitors network connections….

Read more

Basic LLT trouble shooting

Read more

compile qt-faststart on openbsd 5.0

  git clone git://git.videolan.org/ffmpeg.git

cp -a tools/qt-faststart /usr/local/bin/

Read more

Provide an AUTOMAKE_VERSION environment variable

在OpenBSD 5.0-current上编译libfaac的时候出现如下问题 [root@cactus /usr/src/faac-1.28]# ./bootstrap Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please   检查一下automake和autoconf的版本: [root@cactus /usr/src/faac-1.28]# pkg_info | grep auto autoconf-2.59p3     automatically configure…

Read more

read CAT source file

我学习cat命令的源码及注释。

 

Read more
Sidebar