自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (8)
  • 收藏
  • 关注

原创 互联网后端开发框架--技术术语

ORM:对象关系模型:Object/Relation Mapping,简称ORM,主要实现程序对象到关系数据库数据的映射。MVC:是一个设计模式,它强制性的使应用程序的输入、处理和输出分开。使用MVC应用程序被分成三个核心部件:模型(M)、视图(V)、控制器(C),它们各自处理自己的任务。OOP:面向对象编程(Object Oriented Programming,OOP,面向对象程序

2017-09-16 08:31:36 1738

原创 python 报错信息: AttributeError: module 'token' has no attribute '__all__'

F:>python qiniu_test.pyeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1IjoiMTg5ODA1ODU1NjIiLCJ0IjoxNTA2MjY1NTUyfQ.vkw9kMcfmbuwp2dTjLATDlZL93yNLjaX4-kOhUIjHvATraceback (most recent call la

2017-09-15 09:50:48 4311

原创 django框架对数据库的操作

问题:F:\gitserver\oschina\xiaobm\tmpjob\OMS>python manage.py makemigrationsCommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0005_auto_20170902_1631, 0003

2017-09-05 19:53:18 4107 1

原创 制作一个python-docker image and run a container!

#docker pull holbertonschool/ubuntu-1404-python3#docker run --name python3 -v /home:/mnt -ti docker.io/holbertonschool/ubuntu-1404-python3:latest  /bin/bash安装pip或是通过pip来安装很不方便,放弃了!我还是基于lnmpa

2017-09-02 12:26:49 866

rtsp2rtmp.zip

rtsp2rtmp is used to pull multiple IPC and push to rtmp server. 核心是基于ffmpeg写的三个转码函数: int FF_Transcode_Live(int id,FF_TRANS_S *pTrans,int *state); int FF_Transcode_UDP(int id,FF_TRANS_S *pTrans,int *state); int FF_Transcode_Mp4(int id,char* inUrl, char* outUrl, int duration); 去掉了一些可能的侵权内容,因此,编译上可能有些问题,简单处理一下就好。 源文件:ffmpeg.c/.h, transmain.c/.h, tool.c/.h

2021-03-22

openrtxp.zip

openrtxp是一个小型的rtsp/rtmp协议的rtxpserver, ANSI C语言开发,方便移植到嵌入式系统如IPCam. 功能list: (1)支持H264 + AAC编码格式封包成RTSP/RTMP,可以使用VLC/VLC网页控件播放,RTMP可以用VLC/flash player/kmplayer播放. 支持RTP over TCP/UDP. (2)RTSP/RTMP的URL可配置,缺省URL如下: VOD点播(文件回放):rtsp://192.168.2.62/playback/test.mp4 直播:rtsp://192.168.2.62/stream/0 RTMP的url和RTSP一致,只需要把"rtsp"修改为"rtmp" 图像延迟在250ms左右. (4)同时支持基于UDP/TCP的TS流直播. (5)移植很方便,只需要编写约7个直播流获取Audio/Video的函数即可. (6)支持DVR功能,通过简单的调用,即可实现把直播流保存到硬盘中(支持.mp4/.ts格式) (7)所有代码为纯C代码,可移植性强。 移植很方便,只需要编写约7个直播流获取Audio/Video的函数即可. int liveInit(); int liveUninit(); void* liveCreate(char* filename,void* prv,double* duration,unsigned int* video_codec,unsigned int* video_width,unsigned int* video_height,unsigned int* video_fps,unsigned int* video_bps,unsigned int* audio_codec,unsigned int* audio_samplerate,unsigned int* audio_channels,unsigned int* audio_bps); int liveGetHeaderPacket(void* hdl,int data_type,char* buf); int liveGetVideoPacket(void* hdl,char* buf,double* pts,int* sync); int liveGetAudioPacket(void* hdl,char* buf,double* pts); int liveDestroy(void* hdl); FAQ: 1.为什么要用ffmpeg和ssl? 答:ssl是rtmp协议要用到。ts流,mp4文件都是由ffmpeg中的方法来实现的。如果去掉这两个lib,就支持不了rtmp,.ts,.mp4等功能。 libssl和libcrypto则是rtmp要使用的,修改configs.h 和Makefile就可以很容易地去掉。 playback/DVR/TS功能要用到ffmpeg lib的支持,修改configs.h和Makefile也很容易去掉ffmpeg,但这三项功能就实现不了。 去掉openssl和ffmpeg后,编译出来的image size在83KB左右。 2.如何支持底层的多通道?比如一个是1080P ch,一个是CIF ch. 答:通过live->idx = idx=atoi(filename);来区分不同的hw path。 3.如何支持多session或多个client连接? 答:来一个session,就调用liveCreate()来生成一个live实体。 liveCreate()的时候每次都是malloc()一个新的instance,那个instance包含一个h264enc指针和一个rd。 h264enc指针内部有一个wr,也就是说所有的流都共享一个h264enc指针,但每个流的rd是独立的。 第二次liveCreate()的时候,h264enc指针已经有了,就不需要再次建立h264enc指针了,直接引用就可以了(因此h264enc内部要做引用计数) 每多调用一次liveCreate(),h264enc->ref++。 每调用一次liveDestroy(),就h264enc->ref--,==0的时候就真正destroy h264enc。

2021-03-22

autolabelimg.zip

autolabelimg工具: 根据输入的待定位图片\rtmp流\capture来完成自动定位,生成xxx_pos.jpg和xxx_pos.xml。 生成的图片和xml定位文件可以被标注工具labelimg解析(兼容)。 如果定位成功,则会弹出标注后的图片。如果失败,则不会弹出图片。 特点: 1. 支持静态图片/rtmp视频流/本机video设备作为输入源。 2. 按扑克游戏类型进行特定标注,标注的顺序号符合游戏解析定位文件的要求。 支持的游戏类型:龙虎,牛牛,百家乐。 3. 支持1280x720与1920x1080分辨率。 源代码列表:autolabel.cpp/.h,labelmain.cpp,tinyxml2.cpp/.h 第三方lib: opencv 程序编译(vs2015/vs2019): 1>------ 已启动生成: 项目: autolabelimg, 配置: Release x64 ------ 1>autolabel.cpp 1>labelmain.cpp 1>tinyxml2.cpp 1>正在生成代码 1>586 of 589 functions (99.5%) were compiled, the rest were copied from previous compilation. 1> 21 functions were new in current compilation 1> 0 functions had inline decision re-evaluated but remain unchanged 1>已完成代码的生成 1>autolabelimg.vcxproj -> D:\wincpp\gitwork\autolabelimg\x64\Release\autolabelimg.exe 1>已完成生成项目“autolabelimg.vcxproj”的操作。 Demo: 两张pocker时生成的定位文件 <annotation> <filename>images\b21(1920x1080)_pos.jpg</filename> <size> <height>1080</height> <width>1920</width> </size> <object> <name>card_1</name> <bndbox> <ymax>864</ymax> <xmax>627</xmax> <ymin>493</ymin> <xmin>213</xmin> </bndbox> </object> <object> <name>card_2</name> <bndbox> <ymax>833</ymax> <xmax>1715</xmax> <ymin>468</ymin> <xmin>1305</xmin> </bndbox> </object> </annotation>

2021-03-22

流媒体技术入门与提高.pdf

音视频,流媒体,压缩,传输过程涉及的技术研究

2016-01-20

GM8138S_Data_Sheet_v1.1.pdf

GM8138S is a high-integrated SoC designed for IP-Cam. It provides a cost-effective and easy development system for the video applications. GM8138S includes a wide range of basic components, including the ISP, H.264 codec, MPEG4/JPEG codec, video capture, display controller, DES/3DES controller, DMA controller, Ethernet RGMII/RMII controller, USB 2.0 OTG, to reduce the overall system cost.

2014-07-07

libpsd v1.0

libpsd is used to r/w photoshop file(xxx.psd). It is the Photoshop File Format Encode/Decode Library. It supports for Adobe Photoshop CS4 version, and is compatible with the previous versions of Photoshop. run-time lib is:MultiThread DLL, debug version. using big-endian mode. programming by ANSI C to belifit porting work. function list: 1. load/save psd/bmp/jpeg/png file. 2. New psd file, new psd layer. 3. layer direction/brightness/contrast adjust. 4. layer zoom. 5. psd2png. http://sourceforge.net/projects/slibpsd/

2011-08-17

单片机的TCPIP协议栈及webserver源码

单片机的TCPIP协议栈及webserver源码,很不错!

2009-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除