Package video for HLS delivery using ffmpeg

domain: ffmpeg.org · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Install a recent version of ffmpeg with HLS and H.264/AAC support.
  2. Run ffmpeg with your input file, specifying the output format as hls (-f hls), and configure the segment duration with -hls_time (commonly 6 seconds).
  3. Set -hls_playlist_type to vod for on-demand content or omit it for live.
  4. Specify the output path for the .m3u8 playlist file; ffmpeg will generate segment files (typically .ts) in the same directory with an auto-incremented naming pattern unless you override it with -hls_segment_filename.
  5. For adaptive bitrate (ABR) delivery, run multiple ffmpeg passes at different resolutions and bitrates, then create a master playlist (.m3u8) that references each variant stream using the EXT-X-STREAM-INF tag.
  6. Serve the playlist and segment files from a web server or CDN with correct MIME types (application/vnd.apple.mpegurl for .m3u8, video/MP2T for .ts) and appropriate CORS headers.

Known gotchas

Related routes

Build an MLLP server to receive inbound HL7v2 messages
hl7.org · 6 steps · unrated
Send an HL7v2 ORU^R01 lab result message over MLLP
hl7.org · 6 steps · unrated
Ingest a video into Brightcove using Dynamic Ingest API
apis.support.brightcove.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp