- 博客(25)
- 收藏
- 关注
原创 Gstreamer 增加probe 功能
#include static gbooleancb_have_data (GstPad *pad, GstBuffer *buffer, gpointer u_data){ gint x, y; guint16 *data = (guint16 *) GST_BUFFER_DATA (buffer
2017-07-12 20:03:50
2783
1
原创 udp socket send /receive sample
#include /* for printf() and fprintf() */#include /* for socket(), connect(), send(), and recv() */#include /* for sockaddr_in and inet_addr() */#include /* for atoi() and exit() *
2017-04-20 11:23:34
675
原创 TK1/TX1 Gstreamer 测试命令
测试解码器gst-launch-1.0 -v filesrc location=/mnt/nfs/30fps4k.mp4 ! decodebin ! nvvidconv ! xvimagesink -egst-launch-1.0 -v filesrc location=/mnt/nfs/30fps4k.mp4 ! decodebin ! nveglglessink -e
2016-07-25 17:14:20
5337
原创 Gstreamer debug
1. gst-launch 调试gst-launch -v 输出调试信息让其生成管道图表export GST_DEBUG_DUMP_DOT_DIR=/mnt/nfs/diagram参考https://developer.ridgerun.com/wiki/index.php/How_to_generate_a_Gstreamer_pipeline_diagra
2016-06-30 13:46:59
1000
原创 Linux 网络配置
更改mac address sudo ifconfig eth0 downsudo ifconfig eth0 hw ether D4:BE:D9:88:A1:34 sudo ifconfig eth0 up;增加虚拟ip地址sudo ifconfig eth0:0 192.168.0.46 netmask 255.255.255.0 up
2016-06-30 13:37:42
348
原创 Linux NFS 挂载及其NFS server 安装
1. 安装 NFS 软件 apt-get install portmap nfs-kernel-server2. 配置 NFS 文件系统服务 修改/etc/exports 文件,添加需要共享的文件夹例如/opt/DVRRDK_02.00.00.23/target/rfs *(rw,nohide,insecure,no_subtree_check,asy
2016-06-29 11:40:03
597
原创 Linux 系统启动时自动挂载文件
/etc/rc.localThis script is executed at the end of each multiuser runlevel.sample !#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlev
2016-06-29 11:22:48
808
原创 Gstreamer 编译安装
1. Download the latest version of gstreamer available at:http://gstreamer.freedesktop.org/src/The following are the files you need from version 1.6.0:● gstreamer-1.6.0.tar.xz● gst-plugins-ba
2016-06-23 16:34:17
7048
原创 Gstreamer rtspsrc 停止不发送teardown 命令
修改 gstrtspsrc.c 参考加粗字体1. gst_rtspsrc_loop_send_cmd (GstRTSPSrc * src, gint cmd, gint mask){ gint old; gboolean flushed = FALSE; /* start new request */ gst_rtspsrc_loop_start_cmd
2016-06-06 16:04:56
2636
原创 linux 库文件查找及其可执行文件查找定位
查找bin 指令所在位置 whereis / which pkg-config 查找库名对应.pc 文件,找出所依赖的头文件和库文件所在位置ldconfig-p 显示系统中所有的动态库文件dpkg --list 显示所安装的程序
2015-12-15 19:42:06
428
原创 Linux 更改mac 地址
$ sudo ifconfig eth0 down #断开网络连接$ sudo ifconfig eth0 hw ether D4:BE:D9:88:A1:34 # 更改mac$ sudo ifconfig eth0 up #连接网络
2015-12-11 15:46:17
391
原创 Virtualbox ubuntu & windows 共享文件
1. 安装增强工具2. 设定共享文件夹,3. 在linux 中挂载共享文件夹 ,sudo mount -t vboxsf 文件夹,挂载点4 如果设置开机启动自动挂载,可以把挂载命令写入 /etc/rc.local
2015-11-03 09:41:23
401
转载 GCC 库链接顺序
GCC在链接过程中,对参数中的库的顺序是有要求的,参数右侧的库会先于左侧的库加载,也就是说参数的解析是从右往左的。 假设库B依赖与库A,则链接的时候要写为: gcc -o bin -lB -lA 如果写为: gcc -o bin -lA -lB 则在B中引用的A中的内容就会无法链接通过。如果多个库中对某些符号的定义相
2015-09-17 16:17:57
1041
转载 Linux命令查看X86平台 ARM平台上可执行文件与库的依赖关系
PC Linux上查看库依赖依赖关系直接使用ldd 命令即可,可以查看可执行程序,比如:root@forlinx:~# ldd /bin/mvlinux-gate.so.1 => (0x00c7b000)libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0x00136000)librt.so.1 => /l
2015-09-01 14:20:41
2540
转载 链接库路径指定LD_LIBRARY_PATH
三、运行时库的连接 库文件在连接(静态库和共享库)和运行(仅限于使用共享库的程序)时被使用,其搜索路径是在系统中进行设置的。一般Linux系统把/lib和/usr/lib两个目录作为默认的库搜索路径,所以使用这两个目录中的库是不需要进行设置搜索路径即可直接使用。对于处于默认库搜索路径之外的库,需要将库的位置添加到 库的搜索路径之中。设置库文件的搜索路径有下列两种方式,可任选其一使用:
2015-08-27 15:04:02
15299
转载 zeroconf介绍
最近对zeroconf协议进行了一系列深入的研究,深深地被这一技术折服,在1999年就出现的该协议,在技术的应用上已经走向成熟,走向向大众普及之路了。apple的airplay,airprint都是依赖了zeroconf的基础上,才展现出强大的功能。zeroconf介绍Zeroconf全称为Zero configuration networking,中文名则为零配置网络服务规范
2015-08-26 17:43:06
1093
转载 Ubuntu 系统 Update-rc.d 命令
Ubuntu或者Debian系统中update-rc.d命令,是用来更新系统启动项的脚本。这些脚本的链接位于/etc/rcN.d/目录,对应脚本位于/etc/init.d/目录。在了解update-rc.d命令之前,你需要知道的是有关Linux 系统主要启动步骤,以及Ubuntu中运行级别的知识。 一、Linux 系统主要启动步骤 读取 MBR 的信息,启动 Boot Mana
2015-08-25 14:32:55
419
原创 FFMPEG timestamp conception and Unit Conversion
1. FFMPEGtimestamp conception and Unit Conversiona. FFMPEG timebase is presentationby AVRationaltypedef struct AVRational{ int num; /// int den; ///} AVRational;Convert ration
2015-08-18 18:25:43
643
原创 LIVE555获取MPEG2TS FFMPEG demux 模块图
LIVE555 获取RTP 保存到PIPE管道,FFMPEG 从PIPE中读取数据实时发送到解码模块
2015-08-18 14:56:05
741
原创 LIVE555 Cross-compile & Usage
1. LIVE555Cross-Compilea. Modified config.armlinuxthe 1st line of ./live folderCROSS_COMPILE?= arm-elf- -> CROSS_COMPILE?= arm-none-linux-gnueabi-b. Generate make
2015-08-18 14:47:30
566
转载 ffmpeg x264编码参数设定
FFmpeg optionx264 option-g –keyint-b –bitrate-bufsize –vbv-bufsize-maxrate –vbv-maxrate-pass –pass-crf –crf-cqp –qp-bf –bframes-
2015-08-06 13:56:26
1399
原创 TI FAE 中文论坛
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39.aspx
2015-08-02 15:39:10
2598
1
转载 RTP 与RTCP 解释. 含同步时间戳
RTP 与RTCP 解释. 含同步时间戳RTP协议是real-time transport protocol的缩写,被设计来传输流媒体数据,有着广泛的应用,其它相关介绍自己去看RFC,我不打算讨论这些无聊的概念性的东西。(1)了解RTP 可以说,RTP协议不依赖于底层协议,也就是说,它是独立的协议。而一般的,由于UDP包的快速、时实性高的特点,它通常和
2015-07-30 20:51:35
631
转载 Apache 交叉编译
开发板型号:tiny6410开发板内核版本:2.6.38宿主机系统:虚拟机ubuntu 11.10 由于一般开发板的处理能力和存储资源较少,在开发板上安装服务器软件,把开发板作为服务器,个人认为一般是绝少这样使用的。将apache2移植到arm开发板上,这个想法是出于一个同学的毕设课题:将温度和湿度传感器(驱动编程)的数据在开发板上的LCD屏幕上用折线图的形式动态显示出来(QT),
2014-08-12 09:43:49
2165
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人