LinHES Forums
http://forum.linhes.org/

you can watch gbs.tv (internet television) on your mythbox
http://forum.linhes.org/viewtopic.php?f=3&t=12796
Page 1 of 1

Author:  dvanced [ Fri Dec 01, 2006 3:00 am ]
Post subject:  you can watch gbs.tv (internet television) on your mythbox

Check out http://gbs.tv its pretty sweet.

How I got it working on knoppmyth R5D1 :

gbs.tv uses the nullsoft streaming video container format so you need the windows vp6 codec "vp6vfw.dll" Install it with apt-get: (you may need to add the line "deb http://www.debian-multimedia.org stable main" to the /etc/apt/sources.list file first)
note: The legality of this step has not been established. IP laws change wildly between jurisdictions.
Code:
apt-get update
apt-get install w32codecs

If that doesn't work, you can install them manually: grab them from here http://www3.mplayerhq.hu/MPlayer/releas ... 22.tar.bz2 and put them in /usr/local/lib/win32/

now you should be able to test it out by running
Code:
mplayer -cache-min 2 -delay 1.2 -playlist http://gbs.tv/v.pls


in order to call mplayer from the mythtv video library menu with the right options I created an empty file in /myth/video/ called gbstv.gbs
Code:
echo foo > /myth/video/gbstv.gbs


now create this small script called playgbstv in /usr/local/bin/
Code:
#! /bin/bash

/usr/bin/mplayer -quiet -vo xv -cache-min 2 -delay 1.2 -fs -playlist http://gbs.tv/v.pls


make it executable
Code:
chmod a+x /usr/local/bin/playgbstv


and in the mythtv menu I went into “Utilities/Setup”->”Setup”->”Media Settings”->”Videos Settings”->”File Types”
create a new file type with the extension "gbs"
change the run command to “playgbstv”
uncheck "use default player"

rebuild the video library database by going into “Utilities/Setup”->"Video Manager" and exiting out again

now you should be able to start it by playing the gbstv.gbs file in your video library

It works for me. Sometimes it makes the myth frontend crash. Your milage may vary. Let me know if it works (or doesn't).

Author:  cecil [ Sat Dec 02, 2006 9:33 pm ]
Post subject: 

I've added the script to the next release!

Author:  dvanced [ Sun Dec 03, 2006 6:38 am ]
Post subject: 

cool :D

Users will need the vp6vfw.dll codec to run it. I just noticed that it is in the debian w32codecs package (and updated the first post). So, you might want to include w32codecs in the default install.

Author:  cecil [ Sun Dec 03, 2006 2:54 pm ]
Post subject: 

dvanced wrote:
So, you might want to include w32codecs in the default install.
And get sued out of existence.... No, thanks.

Author:  thornsoft [ Sun Dec 03, 2006 5:03 pm ]
Post subject: 

Quote:
And get sued out of existence.... No, thanks.

Sounds like a good place for another "example" directory.

Author:  dvanced [ Mon Dec 04, 2006 12:25 am ]
Post subject: 

hehe yeah I probably wouldn't add it either

I have no expertise in this area but...
on2 (www.on2.com) owns the codec used in nullsoft streaming video and the windows decoder is free to download off their site. It looks like their business model is to get the largest userbase of decoders possible and make money selling the encoders. Plus, they don't seem to sell a competing decoding product for the linux market. So my guess is that they wouldn't serve you a dmca notification and if they did you would have plenty of time to remove it from the distribution before the lawsuits started dropping.

As for the other codecs in the package I have no idea.

Author:  cecil [ Mon Dec 04, 2006 1:35 am ]
Post subject: 

I will not include any patented codecs. Drop it.

Author:  Stef [ Mon Dec 04, 2006 3:15 pm ]
Post subject: 

Mplayer actually now includes the On2 stuff by default in the latest build (v1.0rc1):
Quote:
The highlights of this release are native VC-1/WMV3, On2 VP5 and VP62 (used in some Flash video files) decoding, which works even on non-Intel platforms, and SSA/ASS/color subtitles.


(from http://www.mplayerhq.hu/design7/news.html)

I'm not sure what the implications of this are but I'd imagine they wouldn't include these codecs unless the legal issues were covered. (Though I'm not a lawyer, you'd have to ask the Mplayer programmers for clarification.)

Author:  cesman [ Mon Dec 04, 2006 5:08 pm ]
Post subject: 

Any further talks of codecs in this post aren't welcomed. Believe me, if I could I'd include every codec under the sun. But thanks to software patents, stupid/greedy politicians, big business, etc. I cannot. Believe me, no one is more pissed about about this than I. Folks don't seem to understand, it is my behind if some entity decides to sue. I'm not Bill Gates, I don't have a billion dollars to mount a legal defense. I'd greatly appreciate it if people threaded lightly on such subjects.

Author:  dvanced [ Mon Dec 11, 2006 12:56 am ]
Post subject: 

dvanced wrote:
I probably wouldn't add it either

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/