Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Commit bb7e6d0

Browse files
author
Sjoerd Tieleman
committed
Updated README
1 parent c1a2834 commit bb7e6d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ The `thumbnail_options` object is optional and contains a set of thumbnails that
166166

167167
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.
168168

169+
### Segmenting / HLS
170+
169171
The `segments_options` object is optional and contains segment time (duration) in seconds. Segmented videos are used in [HLS](https://en.wikipedia.org/wiki/HTTP_Live_Streaming). These options are applied to the encoded video, thus `encoder_options` are required. Moreover `encoder_options` should prepare video for segmenting, because bitstream
170-
filter [h264_mp4toannexb](https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmp4toannexb) will be applied to the video. Therefore it is recommended to transcode to an MP4 file before segmenting.
172+
filter [h264_mp4toannexb](https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmp4toannexb) will be applied to the video. Therefore it is recommended to transcode to an MP4 file before segmenting. Segmenting works by taking the output file from your transcoder job and applying segmenting to it.
171173

172174
The segmenting command looks like:
173175

0 commit comments

Comments
 (0)