HTTP Live Streaming (HLS) Explained with an MP4 Streaming

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • In this quick tutorial, I discussed how we can use ffmpeg to generate hls playlist and sengments having the hls version 4 where the all the segments is stored in a single fragmented .ts file aka transport stream.
    hls_flags flags
    Possible values:
    ‘single_file’
    If this flag is set, the muxer will store all segments in a single MPEG-TS file and will use byte ranges in the playlist. HLS playlists generated this way will have version number 4
    The command used in this tutorial is similar to this:
    ``` ffmpeg -i input.mp4 -hls_flags single_file output.m3u8 ```
    This is just to show you how to have a single fragmented mp4, you can pass other hls parameters like encryption and many more when necessary.
    HLS Version 4 with @EXT-X-BYTERANGE | Storing All Segments in a Single File | FFmpeg
    single_file single_file
    Enable (1) or disable (0) storing all segments in one file, accessed using byte ranges.

ความคิดเห็น • 3

  • @USNileOnline
    @USNileOnline 3 ปีที่แล้ว +1

    Hi, Can you post your email "About Section" I like to PM for a business proposition. I really like your illustration in FFMPEG and HLS

    • @CodingWithMonir
      @CodingWithMonir  3 ปีที่แล้ว

      hi thanks for your interest. email me at mzmn.bd@gmail.com