Compressing videos

We are currently in beta, and are primarily taking video compression requests through our upload form

By early 2019, we will release an API for automatic video conversion.

Manual

We are currently in Beta. To ensure quality of the videos we output, our engineers check each video individually before returning them.

Therefore, to upload videos - we have a 2 step process

1) You can send us your videos via an upload form

2) You can access your videos from the dashboard

Upload form

To send us your videos, you can fill out our upload form, which will ask

Once we get the link to your videos, we can download and start processing them. It will take 1 to 2 weeks to process and check all videos, depending on the number of videos requested.

Dashboard

Once your videos are compressed, you will be able to access them via the dashboard. (We will create an account for you, to login to the dashboard and access your videos)

Dashboard

From the dashboard, you will be able to

API (not public)

Our API is currently in development, and is not yet public. The following documentation provides a rough outline of our current API.

Authentication

When you first sign up for dot Learn, you will be given an account ID and a secret token.

You will need to provide these credentials in each request, using basic HTTP authentication, as shown below

curl -u '[account ID]:[secret token]' https://api.dotlearn.io/v1/endpoint

Compressing a video

To compress a video, send a POST request to https://api.dotlearn.io/v1/upload with the video parameter and the optional callback parameter

curl -X POST -F 'video=@local_video_file' -F 'callback=https://my.domain.com/endpoint' \ 
-u '[account ID]:[secret token]'  https://api.dotlearn.io/v1/status

You will get back a JSON response as shows:

{
  video_id: "12312",
  status: "processing" 
}

If a callback is provided, the our server will send a POST request to the specified callback, providing the following as arguments:

Monotiring

You can also monitor the current progress of the video by sending a POST request to https://api.dotlearn.io/v1/status with the video_id parameter

curl -X POST -F 'video_id=12312'  \ 
-u '[account ID]:[secret token]'  https://api.dotlearn.io/v1/status

You will get back a JSON response as shows:

{
  video_id: "12312",
  status: "processing" ,
  url: "https://api.dotlearn.io/v1/file/[video_id]"
}