« Back to demos index

Encode a video in realtime

Transloadit is eager to present our new realtime encoder! If you pass the parameter "realtime" with a value of true to the /video/encode robot your video is already being encoded while it is still uploaded by the user. If the uploaded video is not streamable, the robot automatically falls back to normal encoding after the upload.

Upload a video below and notice how it is immediately ready for display. » See full documentation

"steps": {
  "realtime_flash_video": {
    "robot": "/video/encode",
    "preset": "flash",
    "width": 854,
    "height": 480,
    "realtime": true
  }
}
$(function() {
  $('form').transloadit({
    wait: true,
    autoSubmit: true
  });
});

The form

For demos we allow a maximum of 30MB.

This form is html5-multiupload enabled. If your browser supports it, you can select multiple files and execute the template with them.