[RELEASE] Sveriges Television (SVT) Script - Swedish TV
#16
The very latest Adobe Flash version (a.k.a. Flash 9 Moviestar) uses MPEG-4 AVC H.264 video codec and AAC audio codec and those codecs and FLV is something that XBMC supports (via FFmpeg), however those are very high CPU intensive codecs, but as long as they use low enough resolution (say for example a maximum of 352x288 with Cabac & Deblocking, or 480x576 withour Cabac & Deblocking as that is something the Xbox should always be able to handle), ...or possible serve two versions of the same files/stream, one low-resolution at 352x288 and one high-resolution at 720x576 then the Xbox will be able to handle the low-resolution (352x288) stream, ...and the high-resolution (720x576) stream could be watched by most computers including one running XBMC for Linux.

Alternativly ben them to use MPEG-4 ASP H.263 which is also a large standard (used by DivX, XviD, and more) would be a better chooise for XBMC because of the slow Xbox processor as MPEG-4 ASP H.263 is not as CPU intensive as MPEG-4 AVC H.264 meaning the Xbox will have no problems handling 720x576 resolution, but on the other hand it requires higher bitrate (faster broadband bandwith for end-users, and more expensive for the host).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#17
Well, sure it supports playing this. And as I said I have a working version that plays the new streams from Swedish Television. However, it sucks that a TV station that proudly calls itself free, that is funded by tax-money, uses proprietary formats. It would be much much better if they'd use Theora or Dirac. That is what the petition is all about. Proprietary, patent-damaged codecs must die.

Also, bandwidth in Sweden is dead cheap, I pay about 35 EUR for 24MBit down, 8MBit up, and if you're lucky you can get 100MBit up/down for 20 EUR. As for processing power, it doesn't matter much as you could always get faster hardware, which is also cheap. Using a codec like Theora will hopefully not require any browser plugin (this is video content from their webportal) in the future when Firefox 3 and the next Opera is out, so much easier for the users, and playable everywhere the users want, legally.

And I'm happy to say that I've uploaded a new version of the Swedish Television script to xbmcscripts.com. It currently awaits someone to actually process the upload so that it can be installed the usual way. I'll get back here when it's up.
Reply
#18
I've looked through the site, and your script, I can't find a single video that is .flv? Exactly for what videos are using the Flash format?

Also a huge thanks for keeping this script up to date. I use it regularly, so I really appreciate it. Smile
Reply
#19
Nice to see an update, the script seems to be out on xbmcscripts now. I was trying out the old version (0.92?) script yesterday, and not many clips worked. E.g. Grotesco, most "Melodifestivalen" clips and more.

I will try it out tonight.
Reply
#20
Tried it out, and all videos work like a charm! Some minor issues with audio slightly out-of-sync and wrong aspect ratios, but I gues it's not the scripts fault.

Many thanks!
Reply
#21
If you go to "Nyheter" directory, many of the new clips there are now .flv-files. But as XBMC uses mplayer it's not a problem. Just immoral of SVT.

http://xbmcscripts.com/index.php?option=...on%20v0.94

Oh, a rant about the choice of non-free formats:

http://dsvensson.wordpress.com/2007/12/1...elevision/

And if you don't care to read... here's the petition:

http://www.namninsamling.se/index.php?sida=2&nid=1120
Reply
#22
Very nice script.

Just a quick question; what would be good/bad if the script was changed into a plugin?
Reply
#23
this script would probably be better as a plugin.

Downside to plugins is that the scripters can't make their own GUI, upside to plugins is that the scripters do not have to use their own GUI (and plugins are also easily accessable from library mode in XBMC).

Bottom line, if is is just streaming video/audio from the internet you want then plugins are a better format. However if you like to create something more interactive like a game, a TV-Guide, a PVR front-end, or something else that requires a custom GUI then a script is the only only option for python (as otherwise you have to program such features nativly in C++).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#24
Gamester17 Wrote:this script would probably be better as a plugin.

OK, So a question to dSvensson then :-)

Do you share Gamester17´s view?

Is it possible that your script will be a plugin in the future?

/Johan
Reply
#25
dsvensson Wrote:Well, sure it supports playing this. And as I said I have a working version that plays the new streams from Swedish Television. However, it sucks that a TV station that proudly calls itself free, that is funded by tax-money, uses proprietary formats. It would be much much better if they'd use Theora or Dirac. That is what the petition is all about. Proprietary, patent-damaged codecs must die.
OT
I think it's even worse that SVT is trying to force us to svt.se to access the content. they should publish the xml behind the navigationon svt-play.

Then all media players/frontends/set-top-boxes and so on can access the material without scraping the site.
Reply
#26
You probably want to read through the "BBC iPlayer Script" which is a similar solution and seem close to figuring out a workaround, see => http://forum.xbmc.org/showthread.php?tid=27063
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#27
Hi there,

I added svt.se as a channel for XOT. That way you can browse the site and watch episodes from the script.

You can download it here or here! Let me know if it works ok! Bugs can be submitted at the googlecode page.

Bas

PS: if you don't want the Dutch channels, just delete them from the channel folder!
Reply
#28
Is there any possibility to upgrade this script so that it works with xbmc atlantis? I can't throw out my old xbox til this is done. My girlfriend watch Andra Avenyn with this script on my old xbox.
Reply
#29
cloud79 Wrote:Is there any possibility to upgrade this script so that it works with xbmc atlantis? I can't throw out my old xbox til this is done. My girlfriend watch Andra Avenyn with this script on my old xbox.

What part is not working? Did you try the auto update function of XOT to download the latest SVT.se channel?
Reply
#30
Basje Wrote:What part is not working? Did you try the auto update function of XOT to download the latest SVT.se channel?

It says its checking for updates when i start it. I have even reinstalled XOT but nothings changed.

Did the update. still a no go. It tries to open the ram file instead of the wmv.
Code:
20081122 23:24:45 - DEBUG    - chn_class.py     - 462 - 2.==== Lock Acquired
20081122 23:24:45 - DEBUG    - chn_class.py     - 465 - Item 'Avsnitt 129' not completed yet. Updating Video
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - Fetching info for 'root'. Setting:
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Description:
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - + Image: /home/xbmc/.xbmc/scripts/My Scripts/XOT-Uzg.v3/channels/svt/svtimage.png
20081122 23:24:45 - DEBUG    - guicontroller.py - 146 - Showing rating: None
20081122 23:24:45 - DEBUG    - chn_svt.py       - 168 - starting UpdateVideoItem for Avsnitt 129 (Sveriges Television)
20081122 23:24:45 - DEBUG    - chn_class.py     - 964 - Going to cache
20081122 23:24:45 - INFO     - uriopener.py     - 148 - Opening requested uri Async: http://svt.se/svt/road/Classic/shared/mediacenter/player.jsp?a=1311817&d=72574 (already 3 threads)
20081122 23:24:45 - INFO     - uriopener.py     - 417 - Determining which Progessbar to use....
20081122 23:24:45 - INFO     - uriopener.py     - 425 - FileSize is unknown
20081122 23:24:45 - INFO     - uriopener.py     - 417 - Determining which Progessbar to use....
20081122 23:24:45 - INFO     - uriopener.py     - 425 - FileSize is unknown
20081122 23:24:45 - INFO     - uriopener.py     - 194 - Url http://svt.se/svt/road/Classic/shared/mediacenter/player.jsp?a=1311817&d=72574 was opened successfully
20081122 23:24:45 - DEBUG    - chn_svt.py       - 197 - Found mediaurl: http://www.svt.se/content/1/c8/01/31/18/17/AA2008-EP129.ram
20081122 23:24:45 - INFO     - uriopener.py     - 194 - Url http://svt.se/svt/road/Classic/shared/mediacenter/player.jsp?a=1311817&d=72574 was opened successfully
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - Fetching info for 'Avsnitt 129'. Setting:
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Description: Start
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Film & Drama
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Andra Avenyn
20081122 23:24:46 - DEBUG    - chn_svt.py       - 197 - Found mediaurl: http://www.svt.se/content/1/c8/01/31/18/17/AA2008-EP129.ram
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Andra Avenyn: avsnitten
20081122 23:24:45 - DEBUG    - guicontroller.py - 127 - | Avsnitt 129
20081122 23:24:46 - INFO     - chn_class.py     - 477 - Updating item (GUIDs match)
20081122 23:24:45 - INFO     - guicontroller.py - 127 - + Image: /home/xbmc/.xbmc/scripts/My Scripts/XOT-Uzg.v3/channels/svt/svtimage.png
20081122 23:24:46 - DEBUG    - chn_class.py     - 483 - 3.==== UnLocking the lock
20081122 23:24:46 - DEBUG    - guicontroller.py - 146 - Showing rating: None
20081122 23:24:46 - DEBUG    - guicontroller.py - 127 - Fetching info for 'Avsnitt 129'. Setting:
20081122 23:24:46 - DEBUG    - guicontroller.py - 127 - | Description: Start
20081122 23:24:46 - DEBUG    - guicontroller.py - 127 - | Film & Drama
20081122 23:24:46 - DEBUG    - guicontroller.py - 127 - | Andra Avenyn
20081122 23:24:46 - INFO     - uriopener.py     - 148 - Opening requested uri Async: http://www.svt.se/content/1/c8/01/31/18/17/AA2008-EP129.ram (already 2 threads)
20081122 23:24:46 - INFO     - guicontroller.py - 127 - | Andra Avenyn: avsnitten
20081122 23:24:46 - INFO     - guicontroller.py - 127 - | Avsnitt 129
20081122 23:24:46 - INFO     - guicontroller.py - 127 - + Image: /home/xbmc/.xbmc/scripts/My Scripts/XOT-Uzg.v3/channels/svt/svtimage.png
20081122 23:24:46 - INFO     - uriopener.py     - 417 - Determining which Progessbar to use....
20081122 23:24:46 - DEBUG    - guicontroller.py - 146 - Showing rating: None
20081122 23:24:47 - INFO     - uriopener.py     - 422 - FileSize is known (fileSize=67)
20081122 23:24:47 - INFO     - uriopener.py     - 194 - Url http://www.svt.se/content/1/c8/01/31/18/17/AA2008-EP129.ram was opened successfully
20081122 23:24:47 - INFO     - chn_svt.py       - 208 - Starting Video Playback of ['rtsp://qstream-rm.qbrick.com/00928/kluster/20081113/AA2008-EP129.rm'] using the defaultplayer
20081122 23:24:47 - INFO     - chn_class.py     - 922 - Starting Video Playback using the defaultplayer
20081122 23:24:47 - DEBUG    - chn_class.py     - 926 - Going to playback a Playlist containing 1 items:
20081122 23:24:47 - DEBUG    - chn_class.py     - 926 - + ['rtsp://qstream-rm.qbrick.com/00928/kluster/20081113/AA2008-EP129.rm']
20081122 23:24:47 - INFO     - chn_class.py     - 940 - Playing using default player
20081122 23:24:47 - DEBUG    - chn_class.py     - 241 - onAction (with buttonid=61453 and id=7) detected (ThrdID=-1647035504)
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Sveriges Television (SVT) Script - Swedish TV0