實時視頻傳輸方案彙總-java

目錄

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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章