{"id":"fee2bc61-f268-4061-b8a3-b8210cf78839","task":"Package video for HLS delivery using ffmpeg","domain":"ffmpeg.org","steps":["Install a recent version of ffmpeg with HLS and H.264/AAC support.","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).","Set -hls_playlist_type to vod for on-demand content or omit it for live.","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.","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.","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."],"gotchas":["Segment files must be accessible at URLs relative to the playlist location; mismatched relative paths break playback in HLS clients.","For live streams, set -hls_list_size to control how many segments remain in the playlist; setting it to 0 retains all segments (suitable for VOD-style live recordings).","CORS headers are required when the player origin differs from the segment server origin; missing CORS headers cause playback failure in browser-based players."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:47.415Z"},"url":"https://mcp.waymark.network/r/fee2bc61-f268-4061-b8a3-b8210cf78839"}