In this example we have video file named
Sintel.2010.1080p.mkv that we want to publish to our streaming server. After publishing with
ffmpeg command we can play the video using any device.
ffmpeg -re -i Sintel.2010.1080p.mkv -profile:v baseline -level 3.0 -c:v libx264 -preset fast -s 640x272 -c:a aac -b:a 64k -sn -strict -2 -f flv -chunked_post 0 "http://h264.me:1901/publishing/sintel"
ffmpeg is pushing video to our streaming server in real-time.
You can play this video on any device by entering this URL in device's browser:
On Android device playback looks like this:
And couple of screenshots from iPhone:
You can play this stream on other computers with following command: