This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
add_live_feeds [2012/01/10 16:59] jhb50 |
add_live_feeds [2012/05/04 16:22] jhb50 |
||
---|---|---|---|
Line 1: | Line 1: | ||
**How to Successfully Add Live Streams to Serviio** | **How to Successfully Add Live Streams to Serviio** | ||
- | Serviio supports the playback of live streams. | + | Serviio supports the playback of live streams. |
There are some steps you can follow to ensure your success with this feature. | There are some steps you can follow to ensure your success with this feature. | ||
- | 1) Test the live stream URL to ensure the stream is live and accessable by running the command: ffmpeg -i your-url-here | + | 1) Test the live stream URL to ensure the stream is live and accessable by running the command: |
- | | + | ffmpeg -i "your-url-here" |
- | | + | Best is to use the Serviio copy of FFmpeg |
- | | + | If testing an mms: feed, first change mms: to mmsh: or mmst: |
- | 2) If the feed is available the ffmpeg result will show the type of the video and audio streams. | + | |
- | | + | 2) If the feed is not available, ffmpeg will report: |
+ | " | ||
+ | |||
+ | 3) If the feed is available the ffmpeg result will show the type of the video and audio streams. | ||
+ | eg: Stream #0:0: Audio: aac, 48000 Hz, 2 channels (FC), s16 | ||
+ | Stream #0:1: Video: h264 (Constrained Baseline), yuv420p, 480x272, 25 fps | ||
+ | |||
+ | Verify that they are one of the supported types in Serviio. | ||
| | ||
| | ||
- | 3) Optionally play the live stream URL in VLC to see/hear the actual content. | + | 4) Optionally play the live stream URL in VLC to see/hear the actual content. |
+ | |||
+ | 5) If the stream is valid, you may then add the URL to the Serviio console, as Source Type: "live stream" | ||
+ | |||
+ | 6) If the above yields a valid live stream, but it fails to be added or play in Serviio, post the ffmpeg -i output and a detailed log in the forum. | ||
+ | |||
+ | **Note regarding RTMP streams** | ||
+ | RTMP streams require more data than just a URL. Be sure you also know the playpath, SwfUrl and app parameters for your RTMP stream when adding themto Serviio. To get these parameters you must sniff the stream using tools such as Wireshark, rtmpsrv or URL Snooper, while loading/ | ||
+ | |||
+ | Here is an example of the correct RTMP format: | ||
+ | '' | ||
- | 4) You may then add the url to the Serviio console, as Source Type: "live stream" | ||
- | | ||
- | Note that if the stream does not exist it will not be added to the menu. | ||
- | |||
- | 5) If the above yields a valid live stream, but it fails to be added or play in Serviio, post the ffmpeg -i output and a detailed log in the forum. |