Ffmpeg使用语法ffmpeg[[options][`-i‘input_file]]...{[options]output_file}...如果没有输入文件,那么视音频捕捉就会起作用。作为通用的规则,选项一般用于下一个特定的文件。如果你给–b64选项,改选会设置下一个视频速率。对于原始输入文件,格式选项可能是需要的。缺省情?.
分类:
其他好文 时间:
2015-03-28 18:57:15
阅读次数:
142
发布与订阅
Redis通过发布订阅提供一对多甚至是多对多的节点消息通信,发布订阅由PUBLISH、SUBSCRIBE、PSUBSCRIBE、PUBSUB等命令组成。
SUBSCRIBE命令:订阅某频道,在redisServer结构中通过pubsub_channels字典属性保存当前服务器所有频道的订阅关系,字典键时频道名称,字典值是一个链表,记录了所有订阅这个频道的客户端。UNSUBSCR...
分类:
其他好文 时间:
2015-03-22 09:16:32
阅读次数:
341
Basic sends and receives on channels are blocking. However, we can use select with a default clause to implement non-blocking sends, receives, and eve...
分类:
其他好文 时间:
2015-03-17 14:11:05
阅读次数:
189
Go's select lets you wait on multiple channel operations. Combing goroutines and channels with select is a poweful feature of Gopackage mainimport ( ....
分类:
其他好文 时间:
2015-03-16 14:22:02
阅读次数:
129
we can use channels to sychronize execution across goroutines. Here's an example of using a blocking receive to to wait for a goroutine to finshpackag...
分类:
其他好文 时间:
2015-03-16 14:15:57
阅读次数:
156
By default channels are unbuffered, meaning that they will only accept sends(chan <-) if there is a corresponding receive (<- chan) ready to receive t...
分类:
其他好文 时间:
2015-03-15 16:31:15
阅读次数:
118
Channels are the pipes that connect concurrent goroutines. You can send values into channels from one goroutine andreceive those values into another g...
分类:
其他好文 时间:
2015-03-15 15:09:59
阅读次数:
149
#include
void colorReduce(cv::Mat &image, int div=64)
{
int nr= image.rows; // number of rows
int nc= image.cols * image.channels(); // total number of elements per line
if (image.isContinuo...
分类:
移动开发 时间:
2015-03-10 21:36:15
阅读次数:
169
referhttp://blogs.msdn.com/b/rds/archive/2007/09/20/dynamic-virtual-channels.aspxAn important goal of the Terminal Services (TS) team is to provide a ...
分类:
其他好文 时间:
2015-03-10 18:39:40
阅读次数:
186
#include
void colorReduce(cv::Mat &image, int div=64)
{
int nr= image.rows; // number of rows
int nc= image.cols * image.channels(); // total number of elements per line
for (int j=0; j<nr;...
分类:
移动开发 时间:
2015-03-09 20:58:51
阅读次数:
307