FAQ  •  Register  •  Login

SOPCAST VIDEO WEB RESOURCE

<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Aug 30, 2012 3:39 am

SOPCAST VIDEO WEB RESOURCE

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.
Attachments
Sopcast.groovy
Sopcast.groovy V6 Apr 9, 2013
(4.49 KiB) Downloaded 3702 times
Last edited by jhb50 on Tue Apr 09, 2013 3:38 pm, edited 10 times in total.
<<

yaro

Streaming enthusiast

Posts: 41

Joined: Fri Jul 20, 2012 2:16 pm

Post Thu Aug 30, 2012 3:17 pm

SOPCAST VIDEO WEB RESOURCE

This is great. Thanks.
<<

zowie

DLNA master

Posts: 256

Joined: Sun Apr 08, 2012 8:23 am

Location: Italy

Post Thu Aug 30, 2012 9:08 pm

Re: SOPCAST VIDEO WEB RESOURCE

Excellent, thank you .
<<

yaro

Streaming enthusiast

Posts: 41

Joined: Fri Jul 20, 2012 2:16 pm

Post Fri Aug 31, 2012 12:40 am

SOPCAST VIDEO WEB RESOURCE

There are no files in my sopcast folder. What am I doing wrong?
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Aug 31, 2012 3:06 am

Re: SOPCAST VIDEO WEB RESOURCE

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

yaro

Streaming enthusiast

Posts: 41

Joined: Fri Jul 20, 2012 2:16 pm

Post Fri Aug 31, 2012 4:43 am

SOPCAST VIDEO WEB RESOURCE

Works now. But you only get what you broadcast.
<<

Xmantium

User avatar

DLNA master

Posts: 1418

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Aug 31, 2012 7:25 am

Re: SOPCAST VIDEO WEB RESOURCE

You've done it again! Thank you! ;)
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

martyn

DLNA master

Posts: 152

Joined: Tue Oct 11, 2011 3:11 am

Post Fri Aug 31, 2012 11:04 am

Re: SOPCAST VIDEO WEB RESOURCE

quality :D if i ever bump into you theres a pint or twenty for you :lol:
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Aug 31, 2012 2:14 pm

Re: SOPCAST VIDEO WEB RESOURCE

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?
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Aug 31, 2012 2:16 pm

Re: SOPCAST VIDEO WEB RESOURCE

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

yaro

Streaming enthusiast

Posts: 41

Joined: Fri Jul 20, 2012 2:16 pm

Post Fri Aug 31, 2012 11:00 pm

SOPCAST VIDEO WEB RESOURCE

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

martyn

DLNA master

Posts: 152

Joined: Tue Oct 11, 2011 3:11 am

Post Sat Sep 01, 2012 11:26 am

Re: SOPCAST VIDEO WEB RESOURCE

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
Last edited by martyn on Sun Sep 02, 2012 6:43 am, edited 1 time in total.
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Sep 01, 2012 11:38 am

Re: SOPCAST VIDEO WEB RESOURCE

Nice find. Now we just need an xml file to make these clickable.
<<

zowie

DLNA master

Posts: 256

Joined: Sun Apr 08, 2012 8:23 am

Location: Italy

Post Sat Sep 01, 2012 11:44 am

Re: SOPCAST VIDEO WEB RESOURCE

Another great sport that also supports sopcast link : http://www.stopstream.tv/
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Sep 01, 2012 1:56 pm

Re: SOPCAST VIDEO WEB RESOURCE

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

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Sep 02, 2012 1:44 pm

Re: SOPCAST VIDEO WEB RESOURCE

Version 2 posted with a new items= option.
<<

martyn

DLNA master

Posts: 152

Joined: Tue Oct 11, 2011 3:11 am

Post Mon Sep 03, 2012 6:07 am

Re: SOPCAST VIDEO WEB RESOURCE

brilliant this is, watched both the liverpool and the manu matches yesterday, thanks again :D Image
Last edited by martyn on Mon Sep 03, 2012 6:10 am, edited 1 time in total.
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Sep 03, 2012 9:35 am

Re: SOPCAST VIDEO WEB RESOURCE

@martyn Did you experience any dropouts like others have reported on their Samsungs?
<<

martyn

DLNA master

Posts: 152

Joined: Tue Oct 11, 2011 3:11 am

Post Mon Sep 03, 2012 3:18 pm

Re: SOPCAST VIDEO WEB RESOURCE

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

zowie

DLNA master

Posts: 256

Joined: Sun Apr 08, 2012 8:23 am

Location: Italy

Post Mon Sep 03, 2012 6:05 pm

Re: SOPCAST VIDEO WEB RESOURCE

I have continuous blocks and reboots on my samsung C630, and if I look on the computer no lockout, what to do?
Next

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.