You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
*`503 Service Unavailable` - Transcoder not accepting jobs at the moment (all encoding slots are in use)
145
148
149
+
150
+
Required options are `source_file`, `destination_file` and `encoder_options`. Input and output files must be *absolute* paths.
151
+
146
152
The `callback_urls` array is optional and is a list (array) of HTTP endpoints that should be notified once encoding finishes (due to the job being complete or some error condition). The notification will sent using HTTP PUT to the specified endpoints with the job status. It will also include a custom HTTP header "X-Codem-Notify-Timestamp" that contains the timestamp (in milliseconds) at which the notification was generated and sent. It is best to observe this header to determine the order in which notifications are received at the other end due to network lag or other circumstances that may cause notifications to be received out of order.
147
153
148
154
The `thumbnail_options` object is optional and contains a set of thumbnails that should be encoded after the transcoding is complete. Thumbnails are captured from the source file for maximum quality. The options for thumbnails include:
@@ -159,7 +165,23 @@ The `thumbnail_options` object is optional and contains a set of thumbnails that
159
165
160
166
If you specify thumbnails but an error occurs during generation, your job will be marked as failed. If you don't specify a valid `seconds` or `percentages` option thumbnail generation will be skipped but the job can still be completed successfully.
161
167
162
-
All other options are required (`source_file`, `destination_file` and `encoder_options`). Input and output files must be *absolute* paths.
168
+
The `segments_options` object is optional and contains segment time (duration) in seconds.
169
+
Segmented videos are used in [HLS](https://en.wikipedia.org/wiki/HTTP_Live_Streaming).
170
+
These options applied to encoded video, thus `encoder_options` are required.
171
+
Moreover `encoder_options` should prepare video for segmenting, because bitstream
172
+
filter [h264_mp4toannexb](https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmp4toannexb) will be applied to the video.
0 commit comments