腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
悟空被FFmpeg玩
专栏成员
举报
120
文章
211479
阅读量
30
订阅数
订阅专栏
申请加入专栏
全部文章(120)
linux(30)
视频处理(22)
git(13)
编程算法(13)
kernel(11)
打包(10)
node.js(8)
shell(8)
http(7)
bash(6)
flash(6)
nginx(4)
图像处理(4)
makefile(3)
ide(3)
bash 指令(3)
ssh(3)
gcc(3)
html(2)
单片机(2)
arm(2)
数据库(2)
sql(2)
ruby on rails(2)
yum(2)
windows(2)
对象存储(1)
官方文档(1)
c++(1)
php(1)
c#(1)
actionscript(1)
.net(1)
汇编语言(1)
云数据库 SQL Server(1)
sqlite(1)
phpmyadmin(1)
svn(1)
unix(1)
apache(1)
apt-get(1)
文件存储(1)
全站加速网络(1)
云推荐引擎(1)
容器(1)
开源(1)
分布式(1)
jdk(1)
ftp(1)
nat(1)
任务调度(1)
虚拟化(1)
ascii(1)
hex(1)
搜索文章
搜索
搜索
关闭
查看/sys中的信息
编程算法
[root@localhost liuqi]# udevinfo -a -p /sys/class/block/sda/ Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A
用户3765803
2019-03-05
928
0
设置xfce桌面图标字体背景色味透明
编程算法
style "xfdesktop-icon-view"{XfdesktopIconView::label-alpha = 0 #设置alphabase[NORMAL] = "#FFFFFF"base[SELECTED] = "#FFFFFF"base[ACTIVE] = "#FFFFFF"fg[NORMAL] = "#000000"fg[SELECTED] = "#000000"fg[ACTIVE] = "#000000"}widget_class "*XfdesktopIconView*" style "
用户3765803
2019-03-05
1.2K
0
使用现成的Kernel里的list.h来写用户程序
编程算法
#ifndef _LINUX_LIST_H #define _LINUX_LIST_H /* * Simple doubly linked list implementation. * * Some of the internal functions ("__xxx") are useful when * manipulating whole lists rather than single entries, as * sometimes we already know the next/pre
用户3765803
2019-03-05
950
0
Linux系统中,read文件过程分析
编程算法
然后通过系统调用去read一个文件,为什么man 2 read的时候或者man 2 write的时候的参数与写的驱动的read和write里面定义的函数看上去不同呢?
用户3765803
2019-03-05
2.5K
0
查找当前目录下的大于1M的文件的各种实现
php
编程算法
感谢小云同学,兰兰同学,以及其他同学的交流 使用find的参数实现 [root@T-bagwell mnt]# find . -maxdepth 1 -size +1000000c ./sys.tar.gz ./install.tar.bz2 ./CTeX_2.9.0.152_Full.exe ./php-5.3.6.tar.gz [root@T-bagwell mnt]# ls -lh total 1.3G -rw-r--r-- 1 root root 1.1G 201
用户3765803
2019-03-05
1.1K
0
统计某文件中某关键词出现个数
编程算法
awk -F "" '{for(i=1;i<=NF;++i) if($i=="a") ++sum}END{print sum}' test.c [root@btg 5906]# awk '{for(i=1;i<=NF;++i) if($i=="test") ++sum}END{print sum}' test.c 6 [root@btg 5906]# cat test.c test test ktest test a test test a l test ltest [r
用户3765803
2019-03-05
591
0
glusterfs中xlator的介绍(1)
编程算法
在Gluster中,所有的操作都围绕着一条主线,那就是xlator,在对应的volume的配置中可以看到
用户3765803
2019-03-05
1.3K
0
批量替换文件名
编程算法
偶尔用到,小记一下 如果有更好的,请提供 点击(此处)折叠或打开 #!/bin/bash for i in `find . -name "*"` do mv $i "`echo $i | sed 's/nginx/zehttpd/g' `" done
用户3765803
2019-03-05
1.2K
0
获得一个结构体做成的表的大小
编程算法
随便贴点代码,以后没准能用到 点击(此处)折叠或打开 #include <stdio.h> #include <stdlib.h> #include <string.h> struct media_table { char video_width[8]; char video_bit_rate[8]; char audio_bit_rate[8]; }; struct media_table zetc_table
用户3765803
2019-03-05
433
0
获得时间并做成字符串
编程算法
随便贴点代码,以后没准有用 点击(此处)折叠或打开 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sys/time.h> #include <unistd.h> char *get_time_for_uuid(char *time_string) { time_t timep; struct tm *p;
用户3765803
2019-03-05
555
0
按照原宽高获得等比新宽高
编程算法
随便贴代码 点击(此处)折叠或打开 #include <stdio.h> int get_divisor(int x, int y) { int ret = 0; while (x%y != 0) { ret = x % y; x = y; y = ret; } return ret; } int get_height(int width
用户3765803
2019-03-05
861
0
使用FFmpeg新解码API解封装解码音视频(代码实例)
编程算法
在ffmpeg的源代码中,有新旧版本的编解码接口调用示例,但是demux、mux然后decode、encode的联动起来的接口调用实例并没有,在使用旧版本的编解码接口在编译时会报接口弃用告警信息,所以最好尽快把原有的调用方式切换到新的编解码接口调用方式,告警信息如下:
用户3765803
2019-03-05
1.3K
0
P2P RTMFP Server - MonaServer 中事件(Event)的基本使用
编程算法
当Server的app被创建的时候并且第一次执行到的时候,才会调用这个事件,这个事件的第一个参数是app的path
用户3765803
2019-03-05
923
0
没有更多了
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
立即查看
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档