- 博客(15)
- 资源 (3)
- 收藏
- 关注
翻译 FFMPEG Dummy Picture Pattern
From ffmpeg/doc/examples/muxing.c/* Prepare a dummy image. */static void fill_yuv_image(AVFrame *pict, int frame_index, int width, int height){ int x, y, i, ret;
2016-06-12 09:44:37
858
原创 queue implement
queue implement reminder.// ****************************************////Frame queue// ****************************************//int ff_queue_init(FFQueue *f, int max_size, int keep_last, voi
2016-01-04 19:15:52
659
原创 adb pull serial files
#!/bin/bashdevicesName=$1usesu=$2pid=""if [[ $usesu = "" ]];thenadb shell "ls -l /mnt/sdcard/ucloud/dump*"adb shell "ls -l /mnt/sdcard/ucloud/dump*" > dumpfiles.txtelseadb shell su -c "ls -
2015-12-15 20:28:41
569
原创 logcat 根据PID 名字过滤log的脚本
因为根据TAG过滤很容易很多log 被滤掉,根据PID过滤,基本一个AP开发所有的log 都会显示出来,包括native层,相当于eclipse 底下的自动过滤,但eclipse 的log 不好复制,也容易被刷掉不见..囧rz这个脚本就是自己实现的logcat 根据PID来过滤,使用时,只要./logcat.sh pid_name 如果不确定自己的PID name, 可以adb
2015-07-23 18:08:47
4048
原创 一键下载M3U8/HLS 并保存为TS文件
下载m3u8 并存成一个TS的脚本, 试过优酷的可以,但如果m3u8 里面有多种清晰度的TS片参杂,那就要再写一点逻辑来控制下载哪些啦:#!/bin/bash#howToUse: ./down_m3u8.sh url output.ts#检测参数if [ $# != 2 ] ; then echo "USAGE: $0 url output.ts" exit 1; fi
2015-07-23 17:56:50
13134
转载 SecureCRT
SecureCRT for linux无限期使用方法http://blog.sina.com.cn/s/blog_67be3b450101d18c.html无线删除:~/.vandyke/Config/SecureCRT_eval.lic
2014-12-23 11:34:53
1018
转载 Android Studio 安装使用遇到的问题
安装参考:http://blog.chinaunix.net/uid-26611383-id-3678766.html第一次进入后,卡住很久,最后提示各种timeout 进不去:在Android Studio安装目录下的 bin 目录下,找到 idea.properties 文件,在文件最后追加disable.android.first.run=true然后
2014-12-23 10:32:20
695
原创 VLC contrib 之ffmpeg 编译
VLC 默认支持RTMP,trace code 发现协议相关code 竟然在libavformat 里面。。囧。。只好再build ffmpeg了。ffmpeg 最难办的就是怕版本跟现有的不match,导致跑不通。。还记得compile vlc 时候这句否?$ sudo apt-get build-dep vlc现在反其道而行之,确定libavformat 的版本:
2014-12-18 18:59:55
1569
1
转载 http_proxy 密码遇到特殊字符处理方法
参考:http://www.bijimi.com/other/os/27486.htmlexport http_proxy="http://用户名:密码@代理IP:代理端口"如export http_proxy="http://myname:12345!2#@server:888"就会提示Error parsing proxy URL:... bad port number
2014-12-17 20:37:18
11124
转载 VLC 编译安装 [for android, linux, windows]
仅作记录用:VLC 在Ubuntu 64位虚拟机上编译64位windows 版本流程参考:https://wiki.videolan.org/Win32Compile/#Obtaining_the_toolchain参考:http://blog.youkuaiyun.com/yyingwei/article/details/172177331. 环境准备: 【红色字体为运行命令】
2014-12-17 14:11:09
1593
1
转载 java中“@Deprecated”的意思
java中“@Deprecated”的意思例如:Java内在的File类中有如下方法@Deprecatedpublic URL toURL() throws MalformedURLException {return new URL("file", "", slashify(getAbsolutePath(), isDirectory()));}其中“@Depr
2014-05-13 10:01:05
975
转载 access_ok | 检查用户空间内存块是否可用
access_ok() 函数是用来代替老版本的 verify_area() 函数的。它的作用也是检查用户空间指针是否可用。函数原型:access_ok (type, addr, size);变量说明:type : 访问类型,其值可为 VERIFY_READ 或者 VERIFY_WRITE 。注意,VERIFY_WRITE 是 VERIFY_READ 的超集
2014-04-18 15:22:58
1128
原创 我的百度空间http://hi.baidu.com/laoniaoyiren/blog
现在的bolg茫茫多,我只建设了百度bolg。。 http://hi.baidu.com/laoniaoyiren/blog
2009-08-22 10:22:00
1241
MPEGTSUtil + H264Visa + AtomicBrowser + MediaInfo
2016-07-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人