一、安装一些必要的调试工具

1、vlc安装
sudo apt-get install vlc
sudo apt-get install vlc-nox

2、ffmpeg安装,带ffplay,ffplay依赖sdl库

源码都是三步安装./configure && make && sudo make install

以下安装顺序不能乱

yasm 1.2.0.tar.gz

sudo apt-get install libx11-dev
sudo apt-get install xorg-dev

SDL2-2.0.8.tar.gz

ffmpeg-4.1.tar.bz2

3、ffplay编译起来真麻烦,还不如用mplayer和vlc

sudo apt-get install mplayer

二、h264/aac数据的rtp/rtsp收发

早年用live555来开发摄像机,虽然已经有了较完善的解析,封装等功能模块,但是live555代码嵌套太深,看起来费劲。

网上搜了一下,有很多的数据处理的小demo,都列举到此吧,大多数我都跑通了。

1、Send H264 file by RTP over UDP

https://github.com/hmgle/h264_to_rtp

https://github.com/tinydigger/RTPH264Streaming

2、Here is a simply using of rtp/rtsp protocol pushing .h264 object to a VLC client (single video)

https://github.com/GitDolhpin/simple_rtsp

3、Push the h.264 data through the rtp protocol, It can be played in the VLC player/Mplayer

https://github.com/licaibiao/rtp_push_h264

4、Encode h264 data to RTP package and Streaming through network

Use gstreamer as receiver,Run 'rtpencoder test.264 127.0.0.1 5004' as sender

https://github.com/tinydigger/RTPH264Streaming

5、use python to unpacketize rtp h264 packet

python rtph264.py This file can simply dump the rtp h264 packet to file from gstreamer

https://github.com/iantuan/rtp_h264

6、convert a binary h264 rtp packet file to h264 file

https://github.com/bill-hu/rtp2h264

7、RTP抓包文件导出H.264 Payload的Wireshark插件,感谢这位同学做了这么方便的工具

https://blog.csdn.net/jasonhwang/article/details/7359095#

8、H264 RTP打包发送和接收解包

H264 RTP打包发送

https://blog.csdn.net/anobodykey/article/details/7872027

H264 RTP解包

https://blog.csdn.net/anobodykey/article/details/7876047

9、rtp封包/分析/发送

(转)VLC播放RTP打包发送的.264文件

https://www.cnblogs.com/tangxiacun/p/4446009.html

(转)RTP-H264封包分析

https://www.cnblogs.com/tangxiacun/p/4493431.html

10、rtsp over udp

https://www.cnblogs.com/tangxiacun/p/4497786.html

send/receive h264/aac file/data by rtp/rtsp over udp/tcp的更多相关文章

  1. 开发RTSP 直播软件 H264 AAC 编码

    上一篇对摄像头预览,拍照做了大概的介绍,现在已经可以拿到视频帧了,在加上 RTSP 实现,就是直播的雏形,当然还要加上一些 WEB 管理和手机平台的支援,就是一整套直播软件. 介绍一些基础概念:RTP ...

  2. rtmp 推送h264 + aac 的数据

    相关源码下载: http://download.csdn.net/detail/keepingstudying/8340431 需要libfaac,librtmp 的支持, 1.帧的划分 1.1 H. ...

  3. I.MX6 Android Linux UART send receive with multi-thread and multi-mode demo

    /******************************************************************************************* * I.MX6 ...

  4. H264码流结构分析和rtp打包结构详解

    网络抽象层单元类型 (NALU): NALU头由一个字节组成,它的语法如下: +---------------+      |0|1|2|3|4|5|6|7|      +-+-+-+-+-+-+-+ ...

  5. couldn't open file: data/coco.names

    在ubuntu下配置yolo(v2)的时候,编译了源码后,尝试运行demo: ./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg 结果报错提 ...

  6. [问题解决] initAndListen: 10309 Unable to create/open lock file: /data/db/mongod.lock

    错误: 在linux下开启mongoDB的 $ >bin: ./mongod 时报错:initAndListen: 10309 Unable to create/open lock file: ...

  7. docs/pcs/rest/file data apis list - 百度开发者中心

    docs/pcs/rest/file data apis list - 百度开发者中心 更新通知: 2013.6.20 上传.下载新域名正式上线使用,相关接口“上传单个文件”.“分片上传-文件分片上传 ...

  8. 07-09 07:28:38.350: E/AndroidRuntime(1437): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.googleplay.ui.activity.MainActivity" on path: DexPathList[[zip file "/data/app/c

    一运行,加载mainActivity就报错 布局文件乱写一通,然后急着运行,报莫名其妙的错误: 07-09 07:28:38.350: E/AndroidRuntime(1437): Caused b ...

  9. [ilink32 Error] Fatal: Unable to open file 'DATA.DBXMSSQLMETADATAREADER.OBJ'

    [ilink32 Error] Fatal: Unable to open file 'DATA.DBXMSSQLMETADATAREADER.OBJ' 清除重新编译OK

随机推荐

  1. 终极方法,pjsip发起多方对讲出错Too many objects of the specified type (PJ_ETOOMANY)

    http://blog.csdn.net/zhangjm_123/article/details/26727221 —————————————————————————————————————————— ...

  2. NPOI导入Excel日期格式的处理 - 附类型格式匹配表

    传统操作Excel方法在部署的时候遇到很多问题,如目标主机需要安装Excel.64位电脑不支持.需要安装相关驱动程序等.所以我们一般会使用开源的NPOI来替代传统的Excel操作方法,NPOI的优点是 ...

  3. PHP高并发的解决方案

    这几天面试,被问到这样一个问题:如何解决大流量的高并发问题.起初不知所措,在查阅相关资料,以及网上大牛们的解答之后,总结出以下几点: 1.服务器,如果同时访问量超过10W的话,需要采用专用服务器来承载 ...

  4. MyBatis 本是apache的一个开源项目iBatis

    MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移到了google code,并且改名为MyBatis .20 ...

  5. centos配置ssh免密码登录后,仍提示输入密码

    配置SSH无密码登录需要3步: 1.生成公钥和私钥 2.导入公钥到认证文件,更改权限 3.测试 1.生成公钥和私钥 ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa 默 ...

  6. form 回车键(ENTER)

    <form class="clb_yyxx_nr" name="appointment_content" action="" onsu ...

  7. hdu 2686(状压dp)

    题目链接:http://poj.org/problem?id=2686 思路:典型的状压dp题,dp[s][v]表示到达剩下的车票集合为S并且现在在城市v的状态所需要的最小的花费. #include& ...

  8. ionic ngRepeat追加数据(加载更多,不需要重复渲染dom数据)

    1)模版循环在之前的随笔中已经说过,使用挺简单的 http://www.cnblogs.com/tujia/p/6078217.html 简单来说就是控制器输入一个数据变量,模版里用ng-repeat ...

  9. ios常用第三方库git下载地址

    本文转载至 http://blog.csdn.net/cerastes/article/details/38348599 iOS第三方库下载常用git 1.FMDB https://github.co ...

  10. Spring JDBC样例

    这里介绍一下通过Spring JDBC的方式进行数据库的增删改查的操作.在进行程序的编写之前我们需要在本地MySQL数据库中创建一张User表,如下所示: create database user_d ...