实时视频传输方案汇总-java_eclipse视频传输设计-程序员宅基地

技术标签: 视频压缩  

目录

humble-video

https://github.com/artclarke/humble-video
Humble Video: Demuxing, Decoding, Filtering, Encoding and Muxing of 100’s of video and audio formats and Codecs from the JVM

libstreaming

https://github.com/fyhertz/libstreaming
Introduction
What it does
libstreaming is an API that allows you, with only a few lines of code, to stream the camera and/or microphone of an android powered device using RTP over UDP.

Android 4.0 or more recent is required.
Supported encoders include H.264, H.263, AAC and AMR.
The first step you will need to achieve to start a streaming session to some peer is called ‘signaling’. During this step you will contact the receiver and send a description of the incomming streams. You have three ways to do that with libstreaming.

With the RTSP client: if you want to stream to a Wowza Media Server, it’s the way to go. The example 3 illustrates that use case.
With the RTSP server: in that case the phone will act as a RTSP server and wait for a RTSP client to request a stream. This use case is illustated in the example 1.
Or you use libstreaming without using the RTSP protocol at all, and signal the session using SDP over a protocol you like. The example 2 illustrates that use case.
The full javadoc documentation of the API is available here: http://guigui.us/libstreaming/doc

h264j

https://github.com/neocoretechs/h264j
This is an H264 Java port to replace Xuggler in ARDrone video processing.
It is also a general purpose H264 decoder.
This fork adds stream processing and callbacks with raw video frames,
whcih is how the ARDrone video is implemented. There is a standalone player that reads files, another for streams, and a headless version with the callbacks with each AVFrame.

Stream example:
H264StreamPlayer hsd = new H264StreamPlayer(is); // where is is the inputstream from ARDrone video hsd.playStream();

Listener example:
H264StreamCallback hsc = new H264StreamCallback(is, listener); // where listener is RGBListener receiving AVFrames hsc.playStream();
File example:
H264Player hp = new H264Player(“file.mp4”);

rtsp-h264-client

https://github.com/srysduedu123/rtsp-h264-client
It is a rtsp client with Java. And we can get the video with parsing the RTP and H264 protocol.

OpenFlow

https://github.com/Yyz-Conan/OpenFlow
H264 摄像头和MP4文件推流,适用于android和java环境

ihmc-video-codecs

https://github.com/ihmcrobotics/ihmc-video-codecs
This library provides a Java library for H264 and MJPEG encoding and decoding as well as support for MP4.

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/rockingstorm/article/details/84930557

智能推荐

buck dcm占空比计算_一看就会!这位牛人把MOS开关损耗计算写神了-程序员宅基地

文章浏览阅读643次。电源工程师们都知道开关MOS在整个电源系统里面的损耗占比是不小的,我们谈及最多的就是开通损耗和关断损耗,由于这两个损耗不像导通损耗或驱动损耗一样那么直观,所以有部分人对于它计算还有些迷茫。今天我们就来详细分析计算一下开关损耗,并论述实际状态下功率MOSFET的开通过程和自然零电压关断的过程,从而使电子工程师知道哪个参数起主导作用并更加深入理解MOSFET。MOSFET开关损耗1、开通过程..._buck电路电感和开关管损耗占比

cocos2dx——裁剪节点ClippingNode-程序员宅基地

文章浏览阅读77次。【唠叨】 学习cocos2dx 3.2确实比较吃力,因为网上关于最新版的v3.2的资料十分稀少,或者是讲解的确实不是很详细。大部分人都是根据官方文档照样画瓢,而对于有些比较抽象的概念及函数都是照着官方文档来讲解的。这样的结果,导致有些东西令我确实非常费解。没有办法,只好自己来总结cocos2dx3.2,然后将个人的学习感悟分享给大家。PS:当然有些大牛写的文章还是..._clippingnode 性能

Viper炫彩蛇的下载与安装(MSF图形化界面)_简易极速安装版-程序员宅基地

文章浏览阅读647次,点赞2次,收藏2次。1.更新apt-get2.下载docker.ioY。_炫彩蛇

CVPR2021|| Coordinate Attention注意力机制_位置注意力机制-程序员宅基地

文章浏览阅读2.4w次,点赞63次,收藏418次。Paper:https://arxiv.org/pdf/2103.02907.pdfGitHub:https://github.com/Andrew-Qibin/CoordAttention轻量,优秀,好用!讲之前我们先回顾一下以前的SE与CBAMSESE比较简单,看一下结构图差不多就能理解了,如果有些实现不太懂的,可以借鉴一下CBAM的。但SE只考虑内部通道信息而忽略了位置信息的重要性,而视觉中目标的空间结构是很重要的。CBAM稍微介绍一下CBAM,如图b所示,CBAM包含空间注意力和通_位置注意力机制

eslint搭配prettier使用步骤_plugin:prettier/recommended-程序员宅基地

文章浏览阅读1.2k次。这里的执行逻辑顺序是:eslint会首先读extends的规则,这个时候遇到了最后配置的plugin:prettier/recommended,而这个插件又会先读本地配置的.prettierrc文件再读取prettier自己内部设置的配置,最后读.eslintrc.json的rules配置。2、其次配置.eslintrc.json文件,extends: [“plugin:prettier/recommended”],如果有其他扩展,则"plugin:prettier/recommended"放在最后。_plugin:prettier/recommended

kettle 共享数据库连接时带汉字引发的错误-程序员宅基地

文章浏览阅读548次。处理方式:在目录: C:\Users\Administrator\.kettle 里 找到:shared.xml 把该文件的编码方式改为UTF-8,重启kettle就没问题了

随便推点

仅用5个线程,让Idea全系列Ide能看电视、直播、电影、听广播、音乐、美女图_bg-boom-程序员宅基地

文章浏览阅读7.6k次,点赞21次,收藏24次。今天要分享的技术方案是我在写bg-boom这款插件当中一小块的代码实现方案,先从需求说起吧,其模块整体的需求是丰富idea的背景功能,让背景支持电影、视频、直播、TV、广播、音乐、美女图等功能。_bg-boom

联想适合计算机专业的游戏本,全球最佳游戏笔记本电脑Top 10-程序员宅基地

文章浏览阅读751次。如果你告诉你的朋友你想买一台电脑,他们肯定会建议你买一台台式电脑。因为在相同的预算下,台式电脑可以比笔记本电脑带来更强大的性能。然而,在很多情况下,台式电脑的不可移动性会给游戏玩家带来很多麻烦,这并不像笔记本电脑那样方便。Origin EON15-X:桌面级的CPU造就一个无与伦比的游戏笔记本电脑处理器:4GHz英特尔酷睿i7-4790K;显卡:英伟达GeForce GTX 980 M (..._联想买什么电脑好,能玩游戏,办公软件

vuex持久化 , vuex-persistedstate_vuex-persistedstate whitelist-程序员宅基地

文章浏览阅读3.6k次。vuex持久化 , vuex-persistedstate , 修改本地储存为Cookie_vuex-persistedstate whitelist

Qt 中 Q_OBJECT 宏及 moc_*.cpp文件_moc_cpp-程序员宅基地

文章浏览阅读2.1k次,点赞4次,收藏28次。Qt 中 Q_OBJECT 宏及 moc_前缀文件Q_OBJECT 宏元对象系统 (Meta-Object System)了解 Q_OBJECT 宏展开 Q_OBJECT 宏MOC 预编译器MOC (Meta-Object Compiler)前缀 moc_xx.cpp文件代码示例如下MakeFile文件生成的moc文件如下==moc_whatismoc.cpp== 文件分析片段一结构体`qt_meta_stringdata_WhatIsMoc_t`片段二宏`QT_MOC_LITERAL`和`qt_meta__moc_cpp

WoWoViewPager 炫酷啊!-程序员宅基地

文章浏览阅读1k次。WoWoViewPager WoWo可以优化你的App介绍/引导页面,制作你的App简历。WoWo将动画和viewpager结合起来。当你滑动viewpager的时候,你也在控制动画的当前帧。就好像控制动画时间一般。比如上面的两个Gif,是先向前滑动然后向后滑动。目录English READMEGradle备注Demo版本Todo_wowoviewpager

干货福利:CVPR2016代码合集_yeonwoonya-程序员宅基地

文章浏览阅读4.3k次。DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients:https://github.com/ppwwyyxx/tensorpack/tree/master/examples/DoReFa-NetCode for Stacked attention network_yeonwoonya