add info about url/live input
This commit is contained in:
parent
8d6ef4947a
commit
a8a5bbd23f
31
README.md
31
README.md
@ -45,7 +45,7 @@ JSON Playlist Example
|
|||||||
"in": 0,
|
"in": 0,
|
||||||
"out": 149,
|
"out": 149,
|
||||||
"duration": 149,
|
"duration": 149,
|
||||||
"source": "/Media/clip2.mp4"
|
"source": "https://clips.vorwaerts-gmbh.de/big_buck_bunny.webm"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -58,8 +58,8 @@ JSON Playlist Example
|
|||||||
{
|
{
|
||||||
"in": 0,
|
"in": 0,
|
||||||
"out": 2531.36,
|
"out": 2531.36,
|
||||||
"duration": 2531.36,
|
"duration": 0,
|
||||||
"source": "/Media/clip4.mp4"
|
"source": "rtmp://srs.discovery.stream/live/stream"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -70,6 +70,31 @@ JSON Playlist Example
|
|||||||
#### Warning:
|
#### Warning:
|
||||||
(Endless) streaming over multiple days will only work when the playlist have **both** keys and the **length** of the playlist is **24 hours**. If you need only some hours for every day, use a cron job, or something similar.
|
(Endless) streaming over multiple days will only work when the playlist have **both** keys and the **length** of the playlist is **24 hours**. If you need only some hours for every day, use a cron job, or something similar.
|
||||||
|
|
||||||
|
Source from URL / Live Stream
|
||||||
|
-----
|
||||||
|
You can use sources from url or live stream in that way:
|
||||||
|
|
||||||
|
```json
|
||||||
|
...
|
||||||
|
{
|
||||||
|
"in": 0,
|
||||||
|
"out": 149,
|
||||||
|
"duration": 149,
|
||||||
|
"source": "https://clips.vorwaerts-gmbh.de/big_buck_bunny.webm"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
{
|
||||||
|
"in": 0,
|
||||||
|
"out": 2531.36,
|
||||||
|
"duration": 0,
|
||||||
|
"source": "rtmp://srs.discovery.stream/live/stream"
|
||||||
|
}
|
||||||
|
...
|
||||||
|
```
|
||||||
|
But be careful with it, better test it multiple times!
|
||||||
|
|
||||||
|
More informations in [wiki](https://github.com/jb-alvarado/ffplayout/wiki/Live-Source)
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
-----
|
-----
|
||||||
- install ffmpeg, ffprobe and mbuffer
|
- install ffmpeg, ffprobe and mbuffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user