sprintf(vFilter->szOverLay,"movie=%s[wm];[in][wm]overlay=%d:%d[out]",szOverlay,x,y);当szOverlay = “d:\\xxx\xxx.png”; 时返回-2,貌似ffmpeg处理不了路径中的冒号。。。用当前路径下的...
分类:
其他好文 时间:
2014-06-18 19:04:31
阅读次数:
1066
C++对文件处理没有shell等脚本语言方便,但也不是无计可施。#include #include #include #include using namespace std;int main(){ ifstream in("a.txt"); ofstream out("b.txt"); if(!i...
分类:
编程语言 时间:
2014-06-18 18:27:39
阅读次数:
231
今天为了熟悉axiLite的自定义ip核设计, 把LED和SW的往AXI总线输入输出定义在一个ip核中, BD设计如下: ip核顶层文件(增加了LED_Out和SW_In的定义)mygpio_v1.0.v: module mygpio_v1_0 # ( // Users to add paramet...
分类:
其他好文 时间:
2014-06-18 17:36:35
阅读次数:
299
java自带替换String s="hlz_and_hourui哈哈"; String new_S=s.replaceAll("哈", "笑毛"); System.out.println(new_S);则输出为:"hlz_and_hourui笑毛笑毛"; 1 package find_repal.....
分类:
编程语言 时间:
2014-06-18 15:58:49
阅读次数:
264
http://www.w3.org/TR/2014/WD-css-flexbox-1-20140325/1IntroductionCCS2.1中规定了四种布局模式:block layout, designed for laying out documentsinline layout, design...
分类:
其他好文 时间:
2014-06-18 15:33:32
阅读次数:
308
package foo;public class Main { public static void bubbleSort(int[] a, int len) { int in, out; for (out = len - 1; out > 0; --out) { ...
分类:
其他好文 时间:
2014-06-18 14:18:37
阅读次数:
158
构造方法类Bean1
package com.hao947.bean;
public class Bean1 {
public Bean1() {
System.out.println("bean1...构造方法");
}
public void show(){
System.out.println("bean1...方法");
}
}
配置文件applicationCont...
分类:
编程语言 时间:
2014-06-17 23:12:43
阅读次数:
402
之前有次把图片存储在数据库,结果读取时候报错了:Out of Memory..图片本来不应该存储在数据库中的,消耗内存太大,既然已经这样,那就先解决问题,不改存储方式。如果一个应用程序为了提高性能而把数据加载内存中而占用较大的内存,比如超过了默认的最大值128MB,需要加大java虚拟机可使用的最大...
分类:
其他好文 时间:
2014-06-17 20:07:35
阅读次数:
232
I finally figured this problem out. The device I am using is a Samsung Galaxy S4 and the actual problem (thanks Wibble for guidance in your answer, bu...
分类:
其他好文 时间:
2014-06-17 15:21:50
阅读次数:
240
public static void main(String[] args) {System.out.print("红色的号码为:");Set set=new HashSet();while (true) {int i=(int)(Math.random()*33+1);set.add(i);if ...
分类:
编程语言 时间:
2014-06-17 13:35:14
阅读次数:
748