Questions about mythtv

bean

Inactive User
Joined
Aug 19, 2005
Messages
9
Reaction score
0
I have been thinking about setting up a mythtv box and was wondering a few things....

1. is it possible to get all the channels just using a dvb-c card without a dbox?

2. if so is it easy to do

3. which dvb-c cards will work?

TIA for any help
 
bean said:
I have been thinking about setting up a mythtv box and was wondering a few things....

1. is it possible to get all the channels just using a dvb-c card without a dbox?

2. if so is it easy to do

3. which dvb-c cards will work?

TIA for any help

Yeah, been looking at this myself. Here's what I've found:

1. Yep, defintely. You need to use some softcam software like the fenrir or yanktse plugins.
2. I've read some tut's on how to do it for a windows box and it sounds fairly straight forward ... doing it on linux with myth may be a bit more challenging but its definitely doable.
3. I believe technotrend and terratec cinergy are two brands that work but I can't remember the models at the mo. Hopefully someone can fill us in on this.


Before you launch into it though there's a couple of other paths you might want to consider. The cost of the dvb-c capture cards was pretty high and put me off going down this route, particularly as I'd already forked out for my dbox. Other options:

a) There a fair amount of development in using the dbox itself as a capture card within various pvr software packages. If you compile myth tv from source from the latest code base you'll find an option to use a dbox as a capture source - it gets the dbox to stream the files to the myth box's hard drive. Also gbpvr and sage tv have plugins that will do this as well. Some uk users use this sort of setup succesfully - unfortunately haven't found it too stable myself so I do the following instead.

b) Use an analoge capture card (I use a pvr 150) and set up in myth or sage or whatever pvr software you want with the dbox plugged into its s-video input. Then write (or get off me) a simple script to change channels using the dbox web interface.

Ideally I'd like to use option a) but so far I haven't been able to get it working in a stable enough way to use day after day. Option b) is pretty much rock solid - record at a high enough bitrate in vbr on the pvr 150 and the quality is totally acceptable as well (almost unnoticeable on my bog standard tv). My only problem with this setup is dbox related - every couple of days I need to reboot my dbox to get an image back: I'm currently trying different images to see if this fixes it.

Mind you, if I see a cheap enough dvb-c card I'd probably be tempted to try this route as well. :BLOBBY:
 
I've gone with the PVR150 method with my mythtv - works like a dream - never have to reboot the dbox anymore & video quality is excellent (sending the audio & video upstairs where my recording PC is, over a CAT5 adapter I made!).

And I made a bunch of scripts to get the list of channels from the dbox & automatically insert them into mythtv, as well as change channels on the dbox. All are attached and have instructions on how to use them.

Basically - the dbox2 isn't stable enough when it's sending streams over its network port. For some reason the httpd daemon hangs, loading up the dbox's poor little CPU which makes it need a reboot.. not good when you're expecting it to be as solid as mythtv itself. Who wants a video recorder that only works sometimes? Not me, so I use MythTV ;)

And by the way.. don't go round any of the mythtv discussion places asking for softc@ms or anything to do with d3crypting - at best you'll be ignored.. and at worst... well you'll see.
 
Last edited:
Basically - the dbox2 isn't stable enough when it's sending streams over its network port.

Yep, I think you've got that spot on. Its a shame but at least the pvr150 works well enough.

If anyone does have a dvb-c setup with myth (or any other pvr) let us know - i'd like to know how it all slots together.
 
nehemia said:
For some reason the httpd daemon hangs, loading up the dbox's poor little CPU which makes it need a reboot.. not good when you're expecting it to be as solid as mythtv itself.

If thats the case then why not kill nhttpd whilst streaming/recording?
 
liamcrayden said:
If thats the case then why not kill nhttpd whilst streaming/recording?

The Mythtv dbox2 recorder class uses http to talk to the dbox, so killing the http daemon would break it anyway.

Besides, it'd be much better if the dbox2 part of the system could be more 'set & forget' like the rest of mythtv.. I don't want to have to cuddle & pet the box everytime it screws up ;-)

Work is being done on a UDP stream recorder, so maybe then the situation will improve.
 
Okay I've found a working solution using ggrab as a UDP stream recorder.

I don't know if any of you have tried using ggrab and had issues with it cacking out on certain channels (caused by a high or low audio bitrate).

A clever guy over on the sage PVR forums has fixed this bug and provided a plugin for sage to use the dbox as a network capture source. Basically does the same thing that myth does but it seems to work quite well - he's only released this bug fix last night so I haven't had a chance to try it:

http://forums.sagetv.com/forums/showthread.php?t=15537

I use sage so this suits me fine. There's also the option to use gbpvr as well with their dbox plugin:

http://gbpvr.com/pmwiki/pmwiki.php/Plugin/DboxRecorder

If you want to use gbpvr make sure you replace the ggrab.exe file with the one posted on the sage forums.

Proviso: With the modifed ggrab udp streaming works now for all channels. However, using http to talk to the dbox still seems a little flaky - I'm sure it caused my dbox to crash last night. Currently investigating using a telnet interface instead.
 
Last edited:
gerner said:
Okay I've found a working solution using ggrab as a UDP stream recorder.

I don't know if any of you have tried using ggrab and had issues with it cacking out on certain channels (caused by a high or low audio bitrate).

A clever guy over on the sage PVR forums has fixed this bug and provided a plugin for sage to use the dbox as a network capture source. Basically does the same thing that myth does but it seems to work quite well - he's only released this bug fix last night so I haven't had a chance to try it:

http://forums.sagetv.com/forums/showthread.php?t=15537

I use sage so this suits me fine. There's also the option to use gbpvr as well with their dbox plugin:

http://gbpvr.com/pmwiki/pmwiki.php/Plugin/DboxRecorder

If you want to use gbpvr make sure you replace the ggrab.exe file with the one posted on the sage forums.

Proviso: With the modifed ggrab udp streaming works now for all channels. However, using http to talk to the dbox still seems a little flaky - I'm sure it caused my dbox to crash last night. Currently investigating using a telnet interface instead.

Doing channel changes over http isn't a problem. I tested my channel change script over 1000 times in a loop & the dbox just obeyed.

And using GBPVR or SageTV isn't a solution for us mythtv users ;)

Someone is working on a UDP recorder at the moment so maybe that'll fix everything.
 
nehemia said:
And using GBPVR or SageTV isn't a solution for us mythtv users ;)

No, but it can be for more generalised pvr users willing to try new and different things ;)

Mythtv's pretty good, but its not the be all and end all, particularly when it comes to integrating the dbox.
 
gerner said:
No, but it can be for more generalised pvr users willing to try new and different things ;)

Mythtv's pretty good, but its not the be all and end all, particularly when it comes to integrating the dbox.

The mythtv dbox2 integration is very new, and it's not mythtv's fault the dbox can't handle network streaming reliably. I had the same problems using JTG & direct file recording. Maybe my box just isn't cut out for it, cos it seems to work for lots of other people.

Any idea what uptime my mythtv box had before adding my PVR150 card? Nearly 7 months solid. And before that it was at least 6 months before I swapped the CPU fan for a quieter one.

I can't trust Windows to stay up that long without messing up, but to each their own ;)
 
Last edited:
Yep its new and getting better - the svn codebase shows a fair amount of development on it. Its still not quite there yet though.

I'd agree on preferring a linux solution for the backend. I rely a on a daily script to reboot my windows boxes that I'd rather do without. As far as integrating the dbox as a streaming source goes though the windows apps (unfortunately ) currently have the advantage.
 
Has anyone managed to get sagetv working? If so any chance of a step by step guide as it doesnt work for me with the settings from that site.
 
garysbootlegs said:
Has anyone managed to get sagetv working? If so any chance of a step by step guide as it doesnt work for me with the settings from that site.

Could be network / firewall related. Try disabling firewalls and make sure no other app is using the same port (6970).

Could be you haven't specified the dbox ip address. If in doubt

Make sure you have your
system configured to resolve the host name "dbox" to your dbox's IP
address..

Simply add a line like this:

192.168.0.202 dbox

to your c:\WINDOWS\system32\drivers\etc\hosts file.

Here's a broad outline assuming you're new to sagetv and you want to hook the dbox up with epg data. I've cobbled this together from a few different sources so thanks go to them. It might sound daunting but its pretty straight forward

1) Download and install sagetv - the later the version the better although I think it should work with 2.28 onwards.


2) Setup xmltv Programme Guide Downloads.

First of all you need to set up your programme guide details. It can be a bit fiddly setting this up so I'd suggest initially sorting say the first five channels of your dbox list.

I use an older version of Alan Birtle's excellent Radio Times grabber: http://www.birtles.org.uk/xmltv/xmltvrt_2.20W.exe. Newer version are available at http://www.birtles.org.uk but this one does everything I need it to so I haven't bothered upgrading. For a full explanation of how to set it up properly see http://www.sisko.org/archives/2005/01/08/using-xmltv-in-the-uk-to-download-epg-data/ . The following is a quick guide to you up and running.

Press Configure and set it up to download your first few dbox channels, e.g. BBC1, BBC2, ITV etc. In the settings page get it to output the file to the install directory of sagetv and call the file epgdata.xml. Save and exit the program - do not download the data yet.

Next go the directory where the radio times xmltv grabber was installed. Look for a file called something like userchannels.txt (can't remember exactly ... will look later). Each number on a seperate line identifies each of the channels you have selected. You need to copy these numbers as they are ino the file called AltChIds.txt (again, can't remember filename exactly ... will look later). After each number in the list put a space followed by a number that represents where you need the channel to appear in your sage lineup. So if your userchannels.txt read like this:

92
102
43
56

your AltChIds.txt would read:

92 1
102 2
43 3
56 4

Ok, now run the xmltv grabber so it outputs to $sage_directory\epgdata.xml. You will ned to schedule this program to again to get more data as you need it.

3) Next we need to setup sage to use our xmltv data.

I've copied / amended this from a post on sage forums at http://forums.freytechnologies.com/forums/showthread.php?t=1484 . These should be the only bits you need:

Step A

Get corykim's xmltv plugin (xmltv.zip) for SageTV:

http://forums.freytechnologies.com/f...=6589#post6589

Unzip it to your SageTV folder. So you should end up with an xmltv directory inside the SageTV folder something like this: c:\Program Files\Frey Technologies\SageTV\xmltv

In the SageTV folder, open the Sage.properties file and look for the following line:

epg/epg_import_plugin=

and change it to:

epg/epg_import_plugin=xmltv.XMLTVImportPlugin

Before going into back into SageTV to test the plugin, make sure you have an XML listings file from XMLTV. And make sure you supply this XML listings in the SageTV directory and that it is named epgdata.xml. If you use my .BAT file code below (See Step 4) for XMLTV, then it will put your listings in the SageTV directory properly.



Step B

Get the Xerces XML parser file:

http://www.myhtpcresource.net/downloads/xerces.jar

Some browsers will try and rename it xerces.zip. If yours does, make sure you rename it to xerces.jar

Xerces.jar should be copied into the jre/lib/ext directory of your Java JRE/SDK directories. For example, C:\Program Files\Java\j2re1.4.1_01\lib\ext\ and if you installed the SDK you also need to put it in the SDK directory e.g. in c:\j2sdk1.4.1_01\jre\lib\ext\. If you are having problems with this try copying the xerces.jar file to your SageTV installation directory, C:\Program Files\Frey Technologies\SageTV\.

4) Set sage to use the Dbox as a capture source.

Follow the instructions in the first post at http://forums.sagetv.com/forums/showthread.php?t=15537.

Start sage and in the setup configure it to use this source. Select the only video and audio selections you get and proceed. The following gets your dbox matched up against the guide data. I've used the relevant bits taken from http://www.sisko.org/archives/2005/01/08/using-xmltv-in-the-uk-to-download-epg-data:

On the tuning screenclick Don’t Configure Tuning
When asked about whether you want to use Programming Guide data, choose Use Programming Guide Data with this Source
On the next screen, choose Cable or Satellite
You will be asked to enter a zip code: enter 00000
Now you’re asked to choose your cable or satellite provider. At this point, you should see only one option, XMLTV Lineup. If, instead, you see a whole bunch of US satellite providers (with names like Dish Network etc.), then I’m afraid you’ve not managed to install the XMLTV plug-in properly.
Click XMLTV Lineup and then wait patiently while it parses the epgdata.xml file. Sometimes, this screen just stays there, even after it’s finished parsing the file; if you’re still waiting after five minutes, go back to the main menu by clicking the SageTV logo in the top left, then go back to the Setup Wizard and click the name of your source.
On the next screen, choose between Basic Service and Extended Basic Service. I always choose Extended Basic Service, but in fact there’s no difference between the two.
You will now see a list of all the channels you imported from XMLTV. Congratulations — if you’ve made it this far, the worst is definitely over!
At this point you may want to enable or disable channels, or possibly Remap them, but let’s just check that we now have real live guide data. Click Done with Channel Setup.

Hopefully everything should be working now. If not ask here or http://forums.sagetv.com/forums/showthread.php?t=15537 and I'll try and help.

Ps. The coming build 0.5 should fix any image distortion problems.
 
Hi, i've tried uninstalling/reinstalling and still having the same problems.

When i first run grabrecorder it gets all the channels from the dbox but once i click to get the listings from the xmltv file i get errors in grabrecorder they are

"FAILED", "Client Disconnect", "Client Connect"

I get loads of "NOOP", "OK" messages too.

Anyone got any ideas?
 
garysbootlegs said:
Hi, i've tried uninstalling/reinstalling and still having the same problems.

When i first run grabrecorder it gets all the channels from the dbox but once i click to get the listings from the xmltv file i get errors in grabrecorder they are

"FAILED", "Client Disconnect", "Client Connect"

I get loads of "NOOP", "OK" messages too.

Anyone got any ideas?

Hi , okay for your first query AltChIds.txt are saved in the same directory as the xmltv radio times grabber.

I'm not to sure about this: "FAILED", "Client Disconnect", "Client Connect" ...

How far did you get with setting up sage? Do you get that when you select a channel from say the tv guide? If you got that error when trying to stream from the dbox and the streaming failed it may be worthwhile dropping a note in the plugin's thread on the sage forums. Otherwise if you got that error just when running the xmltv grabber I wouldn't worry about it too much - I think it may just be debug showing a http request failing so it gets retried.
 
I get those errors after a few minutes of trying to get the channels from the xmltv file. I can never get past this point as it never manages to get the channels from the xmltv file.
 
yeah I think you might have the wrong end of the stick. grabrecorder doesn't care about the xmltv file - the xmltv setup is just a way of getting epg information into sage. Looking at my debug here I think those messages are normal.

Ignore them for now and try and get the dbox registered as a capture card in sage - i.e. follow the instructions at the sage forums http://forums.sagetv.com/forums/showthread.php?t=15537. You can always come back later and sort out the xmltv epg stuff.

edit: Just trying out 0.5 now - no image problems at all :D working really well.
 
Last edited:
Hi, yeah ive set it up following from the guide on that site. I can see the dbox as a recording source in SageTV, the problem i'm having is getting the channels in to SageTV i thought i could import the channels from XMLTV like you can with gbpvr.

How would i go about adding the channels once i have it setup like the other site mentions.
 
Just tried the new version of grabrecorder and i can now view bbc1 on the pc however the picture is really jumpy looks like only around 10fps or something. Loads of glitches and noise.
 
Back
Top