SOPCAST VIDEO WEB RESOURCE
One listing of potential stream addresses is at http://www.livefootballol.tv/sopcast-channel-list.html.
Popular Sopcast Stream URL's are:
YES - Various Sports - sop://broker.sopcast.com:3912/6816
BLOODZ - EPL Football - sop://broker.sopcast.com:3912/132927
Eurosport - Various Sports - sop://broker.sopcast.com:3912/124646
Eurosport 2 - Various Sports - sop://broker.sopcast.com:3912/80398
Hahasport.com and wiziwig.tv also list live Sopcast events.
The Sopcast application also maintains a list of currently live public streams. Streams are initiated by opening the Sopcast URL in the Sopcast window or IE. When a Sopcast stream is started, it plays in its own window, but the stream is also available to Serviio as a livestream typically at http://127.0.0.1:8902
These Sopcast streams may be of different formats, typically avc.mpeg, avc.mpegts and wmv.asf which may require different transcodes depending on the Serviio profile. This creates a problem for Serviio, because it will cache the attributes for the first stream it finds at http://127.0.0.1:8902 , and choose the transcoding rule based on that first stream. When a different Sopcast stream is played, that rule maybe incorrect and the transcode and playback will fail.
A second problem with live-streams via DLNA is the loss of playback on a stream error, and the need to restart the stream with each dropout.
This Sopcast Video Webresource, addresses these problems, first by caching the attributes for the currently playing Sopcast stream each time the Sopcast Webresource is refreshed and secondly by repeating the Sopcast stream item multiple times within the online SOPCAST folder so that if the first stream drops out, the second will startup automatically, etc.
To use this groovy, you must first install the SOPCAST application, and add the attached groovy to the Serviio plugin directory, then just add the URL http://www.sopcast.com?port=nnnn&items=mm to the console online sources as a video webresource.
(where nnnn is typically 8902, and mm is the number of Sopcast items you want in the Sopcast folder. Default=7)
After a Sopcast stream is started using SOPCAST or IE, the Sopcast Webresource need to be refreshed in the Serviio Console to capture the Sopcast stream characteristics, then after a minute or so for the refresh to complete, the Serviio Online Sopcast folder may be opened and the Sopcast#1 menu item selected.
If at any time there are no items in the Sopcast folder, or if the stream does not play correctly, make sure Sopcast is running then simply "Force Refresh" the Serviio Sopcast Webresource. This will cause the current SOPCAST stream at http://127.0.0.1:nnnn to be analysed and the appropriate transcoding for the characteristics of the current stream to be initiated. Wait for the refresh to complete, then reopen the Serviio Online Folder, then the Sopcast folder and select the Sopcast#1 menu item again.
Note for Samsung C/D/E profile users:
Due to a Serviio bug in 1.0.1, mpegts streams with h264 video and mp2 audio, fail in transcoding. To fix that, add the second line shown below following first line shown below in the first section of the C/D/E profile <Transcoding> entry. You may also add the third line, and then h264 mpegps as well as h264 mpegts and wmv.asf streams will transcode to MPEG2VIDEO making all these typical SOPCAST streams compatible and eliminate the need to refresh when switching between them.
* Version 1 - Aug 27, 2012
* Version 2 - Sept. 1, 2012 - Add Items option
* Version 3 - Sept. 13, 2012 - Speed up Refresh if Sopcast not active.
* Version 4 - Oct. 6, 2012 - Refresh of V3 which was never uploaded. Updated above instructions.
* Version 5 - Feb 17, 2013 - Fixed error that caused port parameter to be ignored.
* Version 6 - Apr 9, 2013 - Changed localhost to 127.0.0.1 to fix ffmpeg bug.