
Tips
glcdw
这个作者很懒,什么都没留下…
展开
-
VLC多块网卡问题
曾经遇到的问题:在一台配置两个网卡的服务器上,一个网卡指定了局域网IP,令一个网卡指定了广域网IP,VLC接收不到局域网内的广播数据。由下面的命令行可以解决:--miface-addr=string> IPv4 multicast output interface addressIPv4 adress for the default multicast interface.原创 2012-02-01 10:52:29 · 7841 阅读 · 0 评论 -
patch diff stuff
The original article is herehttp://www.rockbox.org/wiki/WorkingWithPatches Applying A Patch Applying a 'patch' (output from diff -u) is done with the 'patch' tool inside the Bash Shell (i.e.Cy翻译 2012-03-23 18:12:47 · 459 阅读 · 0 评论 -
QtCreator是个很不错的IDE
这两天试用了一下Windows下的QtCreator 2.4.1,感觉还不错 Qt Creator集成了MinGW编译系统(mingw32-make,gcc编译器,gdb调试器等),开发用到开源代码的项目变得很方便,没有必要再死守msys,也没有必要再记住gdb的各条命令,可以告别原本并非在Windows下开发的开源项目编译、调试的痛苦。 可以创建基于makefile的工程,步骤如原创 2012-05-09 17:22:16 · 2287 阅读 · 0 评论 -
编译ffmpeg以支持rtmp, librtmp not found问题
在mingw下编译ffmpeg,并加上对rtmp的支持,即要先编译librtmp. 编译过程出了个librtmp not found问题,google了一圈,发现有很多类似的问题,但都和我的不完全一样。我的根本问题是mingw下的pkg-config没有正确安装。librtmp经过make和make install后,库文件和头文件都已经分别拷贝到/usr/local/lib和/usr/local原创 2012-05-11 18:01:55 · 9465 阅读 · 2 评论 -
ffmpeg和x264在mingw下编译
x264 configure时的参数 如果想编译带调试信息的版本,加上下列参数--disable-asm --enable-debug 如果想编译成静态库,加上--enable-static 如果想编译成动态库,加上--enable-shared ffmpeg在configure时要相应加上--enable-gpl --enable-libx264原创 2012-05-16 17:37:41 · 1120 阅读 · 0 评论 -
ffmpeg: the mother of all command lines
原文地址:http://smorgasbork.com/component/content/article/35-linux/92-ffmpeg-the-mother-of-all-command-lines ffmpeg: the mother of all command-lines Monday, 14 September 2009 00:00 We've been翻译 2012-02-14 16:37:36 · 1112 阅读 · 0 评论 -
linux下安装QtCreator
从Qt官方网站下载qt-creator-linux-x86-opensource-2.5.2.bin,是个bin文件。在Windows下我们习惯于双击该文件,然后一路狂点next,结果没费什么事就OK了。在linux下不是这样的,双击不会弹出安装窗口,其实只要在bin文件所在的目录下chmod u+x qt-creator-linux-x86-opensource-2.5.2.bin./q原创 2012-08-23 16:16:47 · 3761 阅读 · 2 评论 -
mingw开发环境中msys及vim的简单配置
在\msys\1.0\etc\profile文件中增加几行alias ls='ls --color'alias la='ls -a --color'alias ll='ls -al --color'alias cp='cp -i'alias mv='mv -i'alias rm='rm -i' 修改~/.vimrcsyntax onset numbers原创 2012-09-20 14:46:39 · 2934 阅读 · 0 评论 -
VLC在Ubuntu下cross compile总结
目标:在Ubuntu下编译可以在Windows(Win32)中运行的VLC以下所有内容来自于VLC wiki中的Win32Compile文档Building MethodsCross-compile with Mingw on LinuxThis pagePreferred method (uses cross compilati原创 2012-02-03 10:52:27 · 2995 阅读 · 4 评论 -
Ubuntu下创建root账户
Ubuntu默认不开启root账户,所以安装后以第一个用户登录,敲下下面的命令行sudo passwd root然后一步一步根据提示的内容操作就OK了(当前账户以sudo登录,输入sudo密码,然后再输入root的密码)。原创 2013-02-21 10:52:04 · 680 阅读 · 0 评论 -
胆颤心惊的patch过程
不知道为什么,在我的机器上VS 2008好像不太稳定,调试一段时间后调试器单步变得异常缓慢,最糟糕的是VS 2008偶尔会失去响应,导致操作系统失去响应,五分钟后只好按下Power键。最后决定把工程文件转换成VS 2005的文件,可是不能down grade转换,最后找到原始的VC 6工程文件,apply patch然后转换成VS 2005的工程,没想到碰到几个问题1. ToroiseSVN的原创 2012-03-23 16:23:39 · 476 阅读 · 0 评论 -
The Ten Minute Guide to diff and patch
The original article is herehttp://jungels.net/articles/diff-patch-ten-minutes.html The Ten Minute Guide to diff and patchSituation one: you are trying to compile a package from source and转载 2012-03-23 18:16:13 · 512 阅读 · 0 评论 -
livehttp module almost working
从VLC论坛中看到的帖子,关于vlc-1.2.0-pre4的livehttp模块 by dmprio » Tue Jul 12, 2011 10:34 pmOk. I finally got things working the way that I wanted to. I will post this here so hopefully it can help someone ex原创 2012-02-01 14:11:47 · 699 阅读 · 0 评论 -
有用的VLC命令行设置
--reset-config 重置当前的设置为默认值--intf=rc 关闭GUI,可以从控制台了解到vlc运行的log信息原创 2012-02-01 17:07:03 · 1006 阅读 · 0 评论 -
编译VLC时碰到的gettext问题
cross-compile with Mingw on Linux编译环境(VMWare + Ubuntu 11.10) 碰到下面这个错误 Entering directory `/root/build/po' rm -f af.gmo && : -c --statistics -o af.gmo af.po mv: cannot stat `t-af.gmo': No such原创 2012-02-02 17:49:54 · 1819 阅读 · 0 评论 -
Better Cygwin Terminal
Better Cygwin Terminalmintty is an option -- http://code.google.com/p/mintty/"Mintty is a terminal emulator for Cygwin and Cygwin derivatives such as MSYS. It can be downloaded from here or it转载 2012-01-13 17:42:05 · 1826 阅读 · 0 评论 -
VLC在Ubuntu下的编译总结
获取源代码$ git clone git://git.videolan.org/vlc.git bootstrap% cd vlc% ./bootstrap 准备依赖项# sudo apt-get build-dep vlc 安装XCBVLC 1.1 and later requires XCB libraries to deal with X11 di原创 2012-02-06 10:21:17 · 1765 阅读 · 2 评论 -
ffmpeg命令行接收UDP(MPEG-TS)数据
vlc接收udp数据很容易,其实ffmpeg也可以做到ffmpeg -i udp://239.255.12.42:1234?multicast=1 这一行可以节省很多coding时间 :-)原创 2012-02-14 15:18:18 · 8272 阅读 · 1 评论 -
ffmpeg编译时保留调试信息
./configure \--enable-debug=3 \--disable-optimizations \--disable-asm \--disable-stripping \... ... (其它原创 2012-02-14 15:30:06 · 5074 阅读 · 0 评论 -
Emacs和gdb常用命令
Emacs在我的实际配置情况下,C代表Ctrl键,M代表Alt键退出emacs C-x C-c输入shell命令原创 2012-02-21 11:34:26 · 898 阅读 · 1 评论 -
CentOS 5.5中文乱码解决办法
对于一个不太熟悉的操作系统,不要轻易修改系统语言设置,英文就英文的,凑合着看吧,好歹比乱码强多了 :-)#vi /etc/sysconfig/i18n原先的设置LANG="en_US.UTF-8"SYSFONT="latarcyrheb-sun16"修改后的设置LANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18原创 2013-03-14 13:13:57 · 714 阅读 · 0 评论