User Tools

Site Tools


add_live_feeds

This is an old revision of the document!


How to Successfully Add Live Streams to Serviio

Serviio supports the playback of live streams.

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

 Best is to use the Serviio copy of ffmpeg in the Serviio lib directory. eg: C:\Program Files\Serviio\lib\ffmpeg.exe
 If testing an mms: feed, first change mms: to mmsh:
    

2) If the feed is not avaailable, ffmpeg will report:

 "No such file or directory" or "Input/output error"

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.

 vCodecs: mpeg2video, mpeg1video, wmv2, mpeg4, msmpeg4, h263, h264, vc1, mjpeg, flv, vp6, vp8, theora, dvvideo 
 aCodecs: aac, ac3, mp3, mp2, lpcm, wmav2, wmapro, dca (DTS), flac, vorbis, truehd, amrnb 

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” and Save it.

 Serviio will verify the existence of the stream and will add it to the online menu.
 Note that if the stream does not exist it will not be added to the menu.

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.

RTMP streams
RTMP streams require more data than just an URL. Be sure you know what the playpath, SwfUrl and app parameters are for your rtmp stream when adding RTMP streams to Serviio. To get these parameters try using Wireshark when loading/viewing RTMP streams. A correct RTMP example is shown below:

rtmp: some-site.com/live app=live playpath=1234adgfas swfUrl=http://something-other-.com/liveplayer.r8fc2608013b6208367203eaece1328b03e115e2f.swf swfVfy=1 live=1''

add_live_feeds.1326245666.txt.gz · Last modified: 2012/01/11 01:34 by unclejack