FAQ  •  Register  •  Login

SvtPlay

<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Mon Dec 17, 2012 7:46 pm

Re: SvtPlay (Sweden only)

hickey wrote:Sorry for my newbie question but could someone answer if this plugin can be used on OSX?
If so, what needs to be done to install this plugin?

Thanks in advance!


It should work. I would consider OSX to be a flavor of Linux in this context. Use the wrapper with the .sh extension.

Good luck!
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Mon Dec 17, 2012 7:57 pm

Re: SvtPlay (Sweden only)

Yea, everything should be correct now but the log still comes back with :

2012-12-17 20:29:43,308 WARN [FeedUpdaterThread] Failed to retrieve online item information for http://svtplay4p-f.akamaihd.net/i/world ... e1bf661c32. It might not play.

Since i cant see any items in the online folders i reckon this has something to do with it.

I hope i have put the things correctly, i added the path under "online sources" and put the source type to web rescource as mentioned before in this thread. ive used http://www.svtplay.se/video/902465/del-4-av-13 and http://www.svtplay.se/kategorier/kultur ... des&sida=1 test URLs.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Dec 18, 2012 12:05 am

Re: SvtPlay (Sweden only)

@mattley, please post the debug log as an attachment. The forum mangles some log entries, so pasting a log line in a post might not be helpful.

Did you restart your machine after making the recent changes?
Did you remove the quotes in the vmoptions directive?
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Tue Dec 18, 2012 2:00 pm

Re: SvtPlay (Sweden only)

My vmoptions file looks like this
-Xmx512m
-Dffmpeg.location=C:\Program Files\Serviio\lib\ffmpegwrapper.bat

I restarted the server and computer.

debug attached.
Attachments
serviio.log
(211.6 KiB) Downloaded 458 times
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Dec 18, 2012 9:04 pm

Re: SvtPlay (Sweden only)

OK mattley. Now your wrapper is called.

What is the path set to ffmpeg inside your wrapper?

Could you try running ffmpeg with this command:
  Code:
ffmpeg.exe -i "http://svtplay10b-f.akamaihd.net/i/world/open/20121210/1132957-001A/SOM_EN_UTKASTAD-001A-93918fcd18cff180_,900,348,564,1680,2800,.mp4.csmil/index_3_av.m3u8?e=b2a7ace1bf661c32" test.mp4
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Tue Dec 18, 2012 9:39 pm

Re: SvtPlay (Sweden only)

Inside FFMpegwrapper.bat the path is set to:

SET PATH_TO_FFMPEG=C:\Program Files\Serviio\lib\FFMPeg.exe

Im not quite sure where i should put the code you posted. Inside serviioservice.exe.vmoptions?

Sorry for being a hassle, i dont really have coding skills.

To clearify what ive done so far ill do a step by step list.

1. edited serviioservice.exe.vmoptions with command -Dffmpeg.location=C:\Program Files\Serviio\lib\ffmpegwrapper.bat
2. extracted the files in svtplay-extras.zip in to \Lib\
3. Edited FFMpegwrapper.bat with command SET PATH_TO_FFMPEG=C:\Program Files\Serviio\lib\FFMPeg.exe
4. Put the SvtPlayWebResouceExtractor.groovy file in \plugins\
5. Went in under Online rescources and added URL http://www.svtplay.se/kategorier/dokume ... des&sida=1 and put scource type as Web rescource.
6. Stopped/started server, restarted computer.
7. Serviio is located C:\Program Files\Serviio
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Dec 18, 2012 11:34 pm

Re: SvtPlay (Sweden only)

Please enclose the path inside the wrapper in quotes, thus:
  Code:
SET PATH_TO_FFMPEG="C:\Program Files\Serviio\lib\FFMPeg.exe"


If that doesn't work:

I want you to bring up a command prompt (Start --> Search box --> type "cmd").

Then do
  Code:
cd "C:\Program files\serviio\lib"
ffmpeg.exe -i "http://svtplay10b-f.akamaihd.net/i/world/open/20121210/1132957-001A/SOM_EN_UTKASTAD-001A-93918fcd18cff180_,900,348,564,1680,2800,.mp4.csmil/index_3_av.m3u8?e=b2a7ace1bf661c32" test.mp4


What version of windows are you on?
32-bit or 64 bit?
You may need to grab the latest ffmpeg version compiled for your platform.
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Tue Dec 18, 2012 11:41 pm

Re: SvtPlay (Sweden only)

Im running windows 7 64-bit pro.

c:\Program Files\Serviio\lib>ffmpeg.exe -i "http://svtplay10b-f.akamaihd.net/i/w
orld/open/20121210/1132957-001A/SOM_EN_UTKASTAD-001A-93918fcd18cff180_,900,348,5
64,1680,2800,.mp4.csmil/index_3_av.m3u8?e=b2a7ace1bf661c32" test.mp4
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
[NULL @ 042B0740] non-existing SPS 0 referenced in buffering period
[NULL @ 042B0740] non-existing SPS 32 referenced in buffering period
[h264 @ 03878CE0] non-existing SPS 0 referenced in buffering period
[h264 @ 03878CE0] non-existing SPS 32 referenced in buffering period
Input #0, hls,applehttp, from 'http://svtplay10b-f.akamaihd.net/i/world/open/201
21210/1132957-001A/SOM_EN_UTKASTAD-001A-93918fcd18cff180_,900,348,564,1680,2800,
.mp4.csmil/index_3_av.m3u8?e=b2a7ace1bf661c32':
Duration: 00:17:56.00, start: 0.100667, bitrate: 0 kb/s
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1024x576
[SAR 1:1 DAR 16:9], 50 tbr, 90k tbn, 100 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16
[graph 0 input from stream 0:0 @ 0462FDA0] w:1024 h:576 pixfmt:yuv420p tb:1/9000
0 fr:50/1 sar:1/1 sws_param:flags=2
[output stream 0:0 @ 04479200] No opaque field provided
[graph 1 input from stream 0:1 @ 04479560] tb:1/48000 samplefmt:s16 samplerate:4
8000 chlayout:0x3
[auto-inserted resampler 0 @ 0385AD40] chl:stereo fmt:s16 r:48000Hz -> chl:stere
o fmt:flt r:48000Hz
[NULL @ 0462F9C0] Codec is experimental but experimental codecs are not enabled,
try -strict -2
Output #0, mp4, to 'test.mp4':
Stream #0:0: Video: mpeg4, yuv420p, 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 200
kb/s, 90k tbn, 50 tbc
Stream #0:1: Audio: none, 48000 Hz, stereo, flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Stream #0:1 -> #0:1 (aac -> aac)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters
such as bit_rate, rate, width or height

This is what i got when running ffmpeg from command prompt.

If i need to update FFmpeg, should i get the static one and drop the content of the zip in a particular folder?
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Wed Dec 19, 2012 4:43 am

Re: SvtPlay (Sweden only)

Success!

Ive got it working, thanks alot for all the help, really appreciate it! :D
<<

Swehawk

Serviio lover

Posts: 70

Joined: Mon Oct 10, 2011 8:08 pm

Post Wed Dec 19, 2012 8:03 am

Re: SvtPlay (Sweden only)

mattley wrote:Success!

Ive got it working, thanks alot for all the help, really appreciate it! :D

Please tell us what your problem was and how you fixed it (for others to learn..)!
<<

mattley

Serviio newbie

Posts: 9

Joined: Sun Dec 16, 2012 8:40 pm

Post Wed Dec 19, 2012 10:20 pm

Re: SvtPlay (Sweden only)

Swehawk wrote:
mattley wrote:Success!

Ive got it working, thanks alot for all the help, really appreciate it! :D

Please tell us what your problem was and how you fixed it (for others to learn..)!



Well first problem was it didnt call the wrapper since i edited the wrong file. Then i removed some quotations from a line, did a couple of restarts and it worked. I guess it had to do with having the correct config and some tweaking inside the files not mentioned in the instructions. It took me a while to figure where to put every file. Alot of the instructions assume you know how to set this up.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Sat Dec 22, 2012 9:05 pm

Re: SvtPlay (Sweden only)

Hi folks,

Just wanted to let you know that I upgraded to Serviio 1.1 this evening on my windows 7 64 bit system without running into any problems.

The wrapper can be deleted after the upgrade, as well as the apache-common-lang.jar file. The latter is replaced in the new release with a file named common-lang.jar.

Any changes made in ServiioService.exe.vmoptions will have been removed by the upgrade process, so don't worry about that file.

Bottom line: as of Serviio 1.1, the plugin works out of the box, with no need for extra files or tweaking of configuration files.

(Linux people, please report on success or failure running the plugin without wrapper on Servioo 1.1)
<<

Swehawk

Serviio lover

Posts: 70

Joined: Mon Oct 10, 2011 8:08 pm

Post Sat Dec 29, 2012 3:24 pm

Re: SvtPlay (Sweden only)

I have a small issue with playing online content. Don't know if it's related to Serviio or the SvtPlay plugin (cause I don't run any other online plugins).
When the video is very short, 5 min or so, the playback starts to stutter towards the end. It occurs when it remains around 10-20 sec (hard to tell exactly cause the playtime is not indicated during playback of transcoded content). Then the video jumps a couple of frames every second or so, and I can't pause or even stop it. Have to escape to the home menu of my LG player. A small annoyance merely, but if it can be fixed in some way it would be nice!
<<

keepitsimple

Serviio newbie

Posts: 2

Joined: Sun Dec 30, 2012 9:42 am

Post Sun Dec 30, 2012 9:48 am

Re: SvtPlay (Sweden only)

Hi,

I am new with serviio and the directions are unfortunately too advanced..

I have serviio 1.1.
I downloaded the groove plugin and put it into the plugin folder. I did not download the second file.
I went to svtplay and right clicked on the latest show button and copied the shortcut and put in the source url under the tab online resources. Source type is online RSS/Atom Feed.

Nothing happens, either in serviio or on my tv.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Sun Dec 30, 2012 11:05 am

Re: SvtPlay (Sweden only)

Swehawk wrote:I have a small issue with playing online content. Don't know if it's related to Serviio or the SvtPlay plugin (cause I don't run any other online plugins).
When the video is very short, 5 min or so, the playback starts to stutter towards the end. It occurs when it remains around 10-20 sec (hard to tell exactly cause the playtime is not indicated during playback of transcoded content). Then the video jumps a couple of frames every second or so, and I can't pause or even stop it. Have to escape to the home menu of my LG player. A small annoyance merely, but if it can be fixed in some way it would be nice!


Hi,

I definitely don't think it has to do with the plugin - all it does is tell serviio the url:s to different shows.

It probably has to do with your LG player or your bandwidth / network. Did you try selecting a lower quality for online content?
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Sun Dec 30, 2012 11:07 am

Re: SvtPlay (Sweden only)

keepitsimple wrote:I went to svtplay and right clicked on the latest show button and copied the shortcut and put in the source url under the tab online resources. Source type is online RSS/Atom Feed.

Nothing happens, either in serviio or on my tv.


Like the name of the plugin file indicates this is a plugin of the Web Resource type ("Webbresurs"), not RSS/Atom.
<<

keepitsimple

Serviio newbie

Posts: 2

Joined: Sun Dec 30, 2012 9:42 am

Post Sun Dec 30, 2012 12:31 pm

Re: SvtPlay (Sweden only)

ottomatic wrote:
keepitsimple wrote:I went to svtplay and right clicked on the latest show button and copied the shortcut and put in the source url under the tab online resources. Source type is online RSS/Atom Feed.

Nothing happens, either in serviio or on my tv.


Like the name of the plugin file indicates this is a plugin of the Web Resource type ("Webbresurs"), not RSS/Atom.


Thank you for a very quick response!

Now everything works!

(If you saw my previous response, I wrote too quickly. It needed a few minutes to update)
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Sat Jan 05, 2013 8:58 pm

Re: SvtPlay (Sweden only)

Hi everyone.

I have found that the pirateplay API which is used for delivering stream urls sometimes delivers incorrect entries bundled with the correct ones.

I have notified the creator of that API and he is working on a fix.

Meanwhile I have made a fix inside the plugin which should filter out the correct url.

So, please download the latest plugin version!

/ O
<<

cyntactic

Serviio newbie

Posts: 3

Joined: Mon Jan 07, 2013 5:55 pm

Post Mon Jan 07, 2013 6:03 pm

Re: SvtPlay (Sweden only)

I am new to Serviio. We just purchased a Panasonic Plasma TV, and I would like to use it to its fullest.

I've read through the thread, but I still haven't been able to get the plugin to work.

I'm running Serviio 1.1 on Mac OS X Mountain Lion. I have installed the .groovy file in the Serviio/Resources/Java/plugins folder. I originally also put the .sh wrapper file there too, but the TV would not connect to SVT, so I moved it to the Serviio/Resources/library folder just to try it out. Still nothing on the TV. The TV Media Server window shows an SVT/Program title, but if I open that folder, nothing loads.

Any ideas? Is this a Mac issue or have I installed incorrectly?
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Mon Jan 07, 2013 6:24 pm

Re: SvtPlay (Sweden only)

cyntactic wrote:I am new to Serviio. We just purchased a Panasonic Plasma TV, and I would like to use it to its fullest.

I've read through the thread, but I still haven't been able to get the plugin to work.

I'm running Serviio 1.1 on Mac OS X Mountain Lion. I have installed the .groovy file in the Serviio/Resources/Java/plugins folder. I originally also put the .sh wrapper file there too, but the TV would not connect to SVT, so I moved it to the Serviio/Resources/library folder just to try it out. Still nothing on the TV. The TV Media Server window shows an SVT/Program title, but if I open that folder, nothing loads.

Any ideas? Is this a Mac issue or have I installed incorrectly?


To help you we need to see your logs. Please enable debug logging and post your log as an attachment.

Please note that you need to add an online resource for each program or catetgory that you wish to track, and that the type of resource is "Web resource" ("Webbresurs"), NOT "RSS/Atom feed"!

Since you are on Serviio 1.1 you do not need a wrapper, and you should leave the ServiioService.exe.vmoptions untouched.
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 63 guests

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