How to: Use VLC to transcode IP video to an HTML5-compatible format.

Reduced the sample table size in the movie fragments to 6 samples (0.5 seconds at 12 fps). Many fragments had no H264 keyframe at all. Yup. Worked fine. Measured CPU load was less than 1% on a 2 core virtual CPU. Cool. Will try connecting to a browser streaming API as the next milestone.
 
We have a few dozens of different brands IP cameras and were looking for a way to stream them to HTML5 <video> tag with minimal latency. So we explored WebRTC options and tested Webcall Server and Unreal Media Server, and found the latency to be stable 0.5 sec, which is good for us.

However, the audio needs to be transcoded from AAC to Opus, except for Axis cameras that support Opus audio encoding on-board.