Skip to content
Console

file_pull

Loop or play once from an HTTP(S) URL. Supported containers include MP4, MOV, WebM, MKV, MP3, and OGG.

Terminal window
curl -X POST "https://api.avflow.dev/v1/jobs" \
-H "Authorization: Bearer ${AVFLOW_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"name": "vod-filler",
"sources": [{
"name": "promo",
"type": "file_pull",
"config": {
"url": "https://cdn.example.com/promo.mp4",
"loop": true,
"headers": { "Authorization": "Bearer <token>" }
}
}],
"nodes": [],
"sinks": [{
"name": "out",
"type": "rtmp_push",
"inputs": ["promo"],
"config": { "urls": ["rtmp://live.example.com/app/key"] }
}]
}'
FieldTypeDefaultDescription
urlstringHTTP(S) file URL (server must support Range requests)
identitystringsource nameSpeaker label for downstream attribution
headersmapAuth headers
loopboolfalseRestart from beginning on EOF
startTimeoutMsint30000Timeout waiting for first frame
stallTimeoutMsint0Abort if no new frames for N ms (0 = off)
ContainerVideoAudio
MP4 / MOV / M4AH.264, H.265, AV1AAC
WebM / MKVVP8, VP9, AV1, H.264, H.265Opus, Vorbis, AAC
MP3 / OGGMPEG audio, Opus, Vorbis

Video/audio tier by actual decoded resolution. Source pricing.