User Tools

Site Tools


add_live_feeds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
add_live_feeds [2012/01/11 01:35]
unclejack
add_live_feeds [2012/05/04 16:22] (current)
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. (URL's beginning with valid Internet protocols such as http:, mms:, rtmp:, etc.)
  
 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:  
-   Best is to use the Serviio copy of ffmpeg in the Serviio lib directory. eg: C:\Program Files\Serviio\lib\ffmpeg.exe +   ffmpeg -i "your-url-here" 
-   If testing an mms: feed, first change mms: to mmsh:+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: or mmst:
              
-2) If the feed is not avaailable, ffmpeg will report:+2) If the feed is not available, ffmpeg will report:
    "No such file or directory" or "Input/output error"    "No such file or directory" or "Input/output error"
  
Line 16: Line 17:
         Stream #0:1: Video: h264 (Constrained Baseline), yuv420p, 480x272, 25 fps         Stream #0:1: Video: h264 (Constrained Baseline), yuv420p, 480x272, 25 fps
    
-   Verify that they are one of the supported types in Serviio.+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     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     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.+4) Optionally play the live stream URL in VLC to see/hear the actual content. Install and open VLC, Click "Open Network Stream", Enter the URL, Click Play.
  
-5) If the stream is valid, you may then add the url to the Serviio console, as Source Type: "live stream" and Save it.  +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.
-   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. 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** +**Note regarding 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 streams require more data than just 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/viewing RTMP streams on your PCThis is not a job for newbiesAn external guide is available at [[http://stream-recorder.com/forum/showthread.php?t=4148|How to find rtmp:// stream URL: Software to sniff, snoop RTMP links ]]
- +
-''rtmp//some-site.com/live app=live playpath=1234adgfas swfUrl=http://something-other.com/liveplayer.r8fc2608013b6208367203eaece1328b03e115e2f.swf swfVfy=1 live=1'' +
  
 +Here is an example of the correct RTMP format:
 +''[[rtmp://some-site.com/live]] app=live playpath=1234adgfas swfUrl=http://something-other-.com/liveplayer.r8fc2608013b6208367203eaece1328b03e115e2f.swf swfVfy=1 live=1''
  
add_live_feeds.1326245716.txt.gz · Last modified: 2012/01/11 01:35 by unclejack