ffplayout/docs/remote_source.md

19 lines
583 B
Markdown
Raw Permalink Normal View History

2022-04-14 10:13:38 -04:00
### Video from URL
2024-10-02 12:34:23 -04:00
Videos from a URL are videos that you can watch directly in your browser or download. For example:
2022-04-14 10:13:38 -04:00
```json
{
"in": 0,
"out": 149,
"duration": 149,
"source": "https://example.org/big_buck_bunny.webm"
}
```
2024-10-02 12:34:23 -04:00
This should work in general because most of the time it has duration information and is faster to play than a real live stream source. Avoid seeking, as it can take too much time.
2022-04-14 10:13:38 -04:00
2024-10-02 12:34:23 -04:00
**Live streams as input in playlists, such as RTMP, are not supported.**
2022-04-14 10:13:38 -04:00
2024-10-02 12:34:23 -04:00
Be careful with this; it's better to test it multiple times!