Spaces:
Running
Running
File size: 788 Bytes
e1d30c7 51bb6a0 e1d30c7 51bb6a0 e1d30c7 51bb6a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | ---
title: ClipBot FFmpeg Service
emoji: 🎬
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
---
# ClipBot FFmpeg Service
Split-screen video processor for ClipBot pipeline.
## API Endpoints
- `POST /clip` — start split-screen job
- `GET /job/<id>` — poll job status
- `GET /download/<filename>` — download output file
- `POST /upload_gameplay` — upload gameplay clips
- `GET /health` — health check
## Usage from VPS clipbot_api.py
```python
HF_CLIP_URL = "https://YOUR-SPACE.hf.space"
# Send to HuggingFace for processing
response = requests.post(f"{HF_CLIP_URL}/clip", json={
"videoId": video_id,
"mainVideoUrl": f"http://YOUR_VPS_IP:5000/serve/{video_id}",
"gameplayUrl": "https://YOUR-SPACE.hf.space/gameplay/1.mp4",
"duration": 58
})
``` |