Page 1 of 10

SOPCAST VIDEO WEB RESOURCE

PostPosted: Thu Aug 30, 2012 3:39 am
by jhb50
Sopcast is an application which offers high quality online streams, typically sports events.
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.
  Code:
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
<Matches container="mpegts" vCodec="h264" /> <!-- jhb50 fixes serviio h264.ts to h264.ts transcode bug -->
<Matches container="mpeg" vCodec="h264" /> <!-- optional -->

* 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.

SOPCAST VIDEO WEB RESOURCE

PostPosted: Thu Aug 30, 2012 3:17 pm
by yaro
This is great. Thanks.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Thu Aug 30, 2012 9:08 pm
by zowie
Excellent, thank you .

SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 12:40 am
by yaro
There are no files in my sopcast folder. What am I doing wrong?

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 3:06 am
by jhb50
No "sopcast" items will appear until you:
start up a Sopcast broadcast, 'Force Refresh' the Webresource, wait a minute for the SOPCAST folder to show, then open the TV online folder then the SOPCAST folder and select Sopcast #1.

SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 4:43 am
by yaro
Works now. But you only get what you broadcast.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 7:25 am
by Xmantium
You've done it again! Thank you! ;)

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 11:04 am
by martyn
quality :D if i ever bump into you theres a pint or twenty for you :lol:

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 2:14 pm
by jhb50
Works now. But you only get what you broadcast.

In Serviio you only get the stream that you are currently playing in SOPCAST. Nothing to do with broadcasting. Was that not clear in the first post?

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 2:16 pm
by jhb50
if i ever bump into you theres a pint or twenty for you

Don't think I could handle twenty, but a six-pak would do. XD

SOPCAST VIDEO WEB RESOURCE

PostPosted: Fri Aug 31, 2012 11:00 pm
by yaro
jhb50 wrote:
Works now. But you only get what you broadcast.

In Serviio you only get the stream that you are currently playing in SOPCAST. Nothing to do with broadcasting. Was that not clear in the first post?


It is good work. I was thinking too big. like playing sopcast streams without sopcast.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Sat Sep 01, 2012 11:26 am
by martyn
big list here tried a few and all work, some english, but a lot foreign and some English with foreign sub titles---> http://livetvstreaming.ucoz.com/news/so ... -06-10-954

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Sat Sep 01, 2012 11:38 am
by jhb50
Nice find. Now we just need an xml file to make these clickable.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Sat Sep 01, 2012 11:44 am
by zowie
Another great sport that also supports sopcast link : http://www.stopstream.tv/

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Sat Sep 01, 2012 1:56 pm
by jhb50
Another great sport that also supports sopcast link : http://www.stopstream.tv/

Its a carbon copy of hahasports, but its time clock is broken so you can't set for correct local time in many zones.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Sun Sep 02, 2012 1:44 pm
by jhb50
Version 2 posted with a new items= option.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Mon Sep 03, 2012 6:07 am
by martyn
brilliant this is, watched both the liverpool and the manu matches yesterday, thanks again :D Image

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Mon Sep 03, 2012 9:35 am
by jhb50
@martyn Did you experience any dropouts like others have reported on their Samsungs?

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Mon Sep 03, 2012 3:18 pm
by martyn
jhb50 wrote:@martyn Did you experience any dropouts like others have reported on their Samsungs?


the matches froze/"stuttered" briefly like a few times but that was all m8 not really much of a prob on me sony.

Re: SOPCAST VIDEO WEB RESOURCE

PostPosted: Mon Sep 03, 2012 6:05 pm
by zowie
I have continuous blocks and reboots on my samsung C630, and if I look on the computer no lockout, what to do?