原创 linux下利用MP4v2封裝H264 aac爲mp4

mp4文件格式:https://wenku.baidu.com/view/673482284b73f242336c5f4c.html MP4v2開源庫:https://download.csdn.net/download/lq496387

原创 alsa接口基礎應用

snd_pcm_t *pcm_handle;    bool device_open(int mode){    if (snd_pcm_open (&pcm_handle, “default” , mode , 0) < 0)    r

原创 自己宏定義printf

#define DEBUG #ifdef DEBUG #define DEBUG_PRINT(format,...) printf("File:"__FILE__", Line: %05d: "format"\n", __LINE__,

原创 ffmpeg解析mp4

#include <stdio.h> /*FFmpeg是用C語言編寫的,所以如果主程序是用C++編寫,則引用FFmpeg的頭文件時必須加上extern "C",否則編譯會報錯:"無法解析的外部符號......"*/ extern "

原创 git 功能記錄

原文鏈接:https://www.cnblogs.com/lfxiao/p/9378763.html git add撤銷(https://www.cnblogs.com/arieslee/p/8

原创 linux下c讀寫ini配置

轉載至:https://blog.csdn.net/niha1993825jian/article/details/41086403 #include <stdio.h> #include <errno.h> #include <cty

原创 如何去掉再windos編輯,linux下vim打開多出許多的^M

轉載自:https://openmind.iteye.com/blog/1774701 用VIM打開windows下面創建的文件會出現^M字符,它表示一個回車符, (windows下編輯器敲擊回車鍵,鍵入\r和\n,表示回車和換行,lin

原创 qt資料記錄

qt之treewidget使用:https://blog.csdn.net/chunyexiyu/article/details/78057323

原创 linux下c語言中實現定時器功能

轉載自;https://www.linuxidc.com/Linux/2011-05/35580.htm #include <iostream>   #include <time.h>   using namespace std;   i

原创 關於一些自己需要的資料記錄

在linux下直接寫屏操作:https://blog.csdn.net/yuyin86/article/details/7322232 關於ffmpeg編譯(帶ffplay)https://blog.csdn.net/sinat_4155

原创 關於交叉編譯中host,build,target記載

以下爲轉載鏈接,以備以後查看所用。 http://blog.sina.com.cn/s/blog_1543d98ce0102xykc.html 一、build  host   target 的區別 (1)ubuntu16.04 的參數信息

原创 linux下關於臨時ip地址配置和掩碼網關命令配置記錄

ifconfig eth0 192.168.1.xxx up //配置ip地址並且啓動 ifconfig eth0 192.168.1.xxx  netmask 255.255.255.0 route add default gw 114

原创 fltk編程模型

轉自:https://www.ibm.com/developerworks/cn/linux/l-fltk/index.htmlFLTK(Fast Light Tool Kit 發音爲fulltick) 是一種使用C++開發的GUI工具包

原创 gpio常用api

更多資料查看:https://wenku.baidu.com/view/e2cc2f33b7360b4c2e3f6463.html簡介GPIO, 全稱 General-Purpose Input/Output(通用輸入輸出),是一種軟件運

原创 H.264碼流解析 一個SPS的nalu及獲取視頻的分辨率

轉載至:http://blog.csdn.net/hemmingway/article/details/4419397100 00 00 01 67 42 00 28 E9 00  A0 0B 77 FE 00 02 00 03 C4 8