Skip to content
Console

file_pull

Loop or play once from a network URL with an explicit protocol. 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"],
"encoding": { "videoCodec": "h264", "audioCodec": "aac" }
}
}]
}'
FieldTypeDefaultDescription
urlstringNetwork file URL with protocol (for example https://...); local paths and file:// are not allowed
identitystringsource nameSpeaker label for downstream attribution
displayNamestringidentity / source nameHuman-readable label for overlays and captions
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.