Stream video in Java

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 … Read more

ffmpeg throwing “Output file #0 does not contain any stream” when trying to make a slideshow out of images

Your present command doesn’t specify any input, so use phantomjs runner.js | ffmpeg -f image2pipe -i pipe:.png -c:a copy -c:v libx264 -f flv rtmp://localhost/mystream There’s no audio input, so setting an audio codec is pointless. If your output needs an audio stream, use phantomjs runner.js | ffmpeg -f image2pipe -i pipe:.png -f lavfi -i anullsrc … Read more

Is it possible to cache HLS segments with AVPlayer?

Let’s start with really good news – iOS 10 and up – gives this out of the box. No more need for hacks soon. More details can be found in the following WWDC16 session about whats new in HTTP Live Streaming: https://developer.apple.com/videos/play/wwdc2016/504/ Now back to the current state of things – iOS 9 and lower: … Read more