Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stream video in Java

What is the best way to record and stream live video to many clients? Are there any libraries?

like image 930
Etam Avatar asked Apr 06 '11 23:04

Etam


1 Answers

Xuggler is a nice opensource Java library that deals with streaming and modifying media on the fly.

http://www.xuggle.com/xuggler/

You can either use it with Red5 or if you want complete control, Xuggler has an IContainer class where each instance can be set up to stream media in or out. I've been able to restream media over UDP and TCP/IP.

Also, Xuggler will automatically split various streams for you to analyze/modify (video, audio, metadata) and is built using FFMPEG (tons of out of the box codecs) =).

like image 139
Teddy Yueh Avatar answered Sep 30 '22 11:09

Teddy Yueh