{"slug":"ton-halowerk-com-v1-hls-package-79ed74","title":"Encodes up to four renditions in one ffmpeg 6.1 pass (libx264 high profile, cons","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/hls-package","category":"image","description":"Encodes up to four renditions in one ffmpeg 6.1 pass (libx264 high profile, constrained VBR with maxrate 1.1x and buffer 2x the target, closed GOPs with a keyframe at every segment boundary) plus one AAC stereo audio rendition, and segments them as fragmented MP4 (CMAF) with the DASH muxer. The MPD ","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1186,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"renditions":[{"height":360,"video_kbps":700},{"height":240,"video_kbps":400}],"segment_s":2,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"audio_kbps":{"default":128,"description":"AAC bit rate of the audio rendition.","maximum":256,"minimum":48,"type":"integer"},"duration_s":{"description":"Length of the analysed range in seconds (at most 60; default: to the end of the video).","exclusiveMinimum":0,"maximum":60,"type":"number"},"renditions":{"description":"Quality levels (default: up to three steps of the built-in ladder at or below the source height).","items":{"additionalProperties":false,"properties":{"height":{"description":"Frame height in pixels (width follows the display aspect ratio).","maximum":1080,"minimum":120,"type":"integer"},"video_kbps":{"description":"Target video bit rate in kbit/s.","maximum":8000,"minimum":100,"type":"integer"}},"required":["height","video_kbps"],"type":"object"},"maxItems":4,"minItems":1,"type":"array"},"segment_s":{"default":4,"description":"Segment length in seconds (every segment starts with a keyframe).","maximum":10,"minimum":2,"type":"integer"},"start_s":{"default":0,"description":"Start of the analysed range in seconds.","maximum":36000,"minimum":0,"type":"number"},"video_base64":{"description":"Video file as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"video_url":{"description":"Public http(s) URL of the video file (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1186,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1343,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1157,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1299,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1166,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1124,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":1169,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":369,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":321,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":378,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":390,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":352,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":349,"error":null}],"description_full":"Encodes up to four renditions in one ffmpeg 6.1 pass (libx264 high profile, constrained VBR with maxrate 1.1x and buffer 2x the target, closed GOPs with a keyframe at every segment boundary) plus one AAC stereo audio rendition, and segments them as fragmented MP4 (CMAF) with the DASH muxer. The MPD comes from ffmpeg (SegmentTimeline; bandwidth replaced by the measured peak segment bit rate).","last_updated":"2026-11-12T22:28:33.894Z","schemes":["exact"]}