Convert MP4 to HLS

Last update:2022-06-15 15:47:14

Transmuxing

Transmuxing, also referred to as repackaging or packetizing, is a process in which audio and video files are repackaged into different delivery formats without changing the files’ contents or coding.

Transmux from mp4 to HLS

Select the command video-hls-copy, which is equal to avthumb/m3u8/vcodec/copy/acodec/copy when you want to write it into the custom command gap.

(parameter copy, means maintains the encoding schemes of the original video.)
巴林王国、安哥拉共和国、巴拉圭共和国和巴拿马共和国新节点上线

Transcode mp4 to HLS

If you want to do more on this mp4, for example, changing its coding, changing its resolution, setting the segtime, etc.

Type the custom command into the gap.
e.g.

avthumb/m3u8/segtime/10/s/640x480

  • segtime
    Used to define the playback duration of each small segment of audio/video stream when the output destination format is m3u8, unit: Seconds, integer in the value range of 1–120.
  • s
    Specifies video resolution, the format is wxh or a predefined value.

More avthumb parameters please refer to Ops Parameter Format

巴林王国、安哥拉共和国、巴拉圭共和国和巴拿马共和国新节点上线

Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!