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

How to set up a dummy tuner for testing
http://forum.linhes.org/viewtopic.php?f=14&t=14186
Page 1 of 1

Author:  arnie [ Thu Feb 15, 2007 6:52 am ]
Post subject:  How to set up a dummy tuner for testing

I remember reading something about this a few months ago, but a search hasn't found any posts related to it, so I'm hoping one of you has a better memory than me.

I'm putting together a new Knoppmyth box to replace my current one. I want to do some thorough testing on the new box, but my old box is so heavily used, I can't take one of the tuners out and I don't have a spare.

I read a post about setting up a capture card in mythtv-setup that points to an MPEG2 file and using that as a "Dummy Tuner", but I can't remember the specifics. All I remember is that you set the tuner device to "file://path/to/mpeg/file", but I've tried this and it doesn't work. I also remember the post had a link to another site that had more info. The post may have had something to do with testing Knoppmyth in VMWare.

If anyone can remember the post, or knows how to do this, a pointer in the right direction would be much appreciated.

Author:  simonflood [ Wed Mar 21, 2007 11:03 am ]
Post subject:  Re: How to set up a dummy tuner for testing

arnie wrote:
I read a post about setting up a capture card in mythtv-setup that points to an MPEG2 file and using that as a "Dummy Tuner", but I can't remember the specifics. All I remember is that you set the tuner device to "file://path/to/mpeg/file", but I've tried this and it doesn't work. I also remember the post had a link to another site that had more info. The post may have had something to do with testing Knoppmyth in VMWare.


I'm now looking to do this having installed KnoppMyth under VMware Workstation for testing & development (I've also got KM installed on to a physical box).

I found the post that you're referring to by seaching these forums for 'VMware' - the details were in a post to the mythtv-dev mailing list that can be viewed @ http://www.gossamer-threads.com/lists/mythtv/dev/217024

HTH

Simon

Author:  spalVl [ Wed Mar 21, 2007 3:39 pm ]
Post subject: 

I have got this working, just never got around to posting.

Here are my MySQL backups of database changes, just replace hostname and .MPG filename.

Code:

INSERT INTO `capturecard` VALUES (1,'file://myth/tv/BBS_Art_Scene_Doc.mpg','/dev/dsp0 ','/dev/vbi0 ','MPEG','Tuner 0 ',0,'VMKMBFE-01',0,1,0,1,0,0,0,0,2,0,'NULL',0,0,31338,80,'NULL',1000,3000,0,0,0,0,0,0,0);

INSERT INTO `cardinput` VALUES (1,1,1,'Fake Tuner',NULL,0,'N',NULL,NULL,1,NULL,NULL,11700000,10600000,9750000,'Fake Tuner',1,0,0,0);

INSERT INTO `channel` VALUES (1000,'3',NULL,1,'1000','LoopbackTV','none',NULL,'','',0,32768,32768,32768,32768,'Default',0,1,'',0,NULL,NULL,NULL,0,0,0);


Author:  spalVl [ Wed Mar 21, 2007 3:40 pm ]
Post subject: 

I have got this working, just never got around to posting.

Here are my MySQL backups of database changes, just replace hostname and .MPG filename.

Code:

INSERT INTO `capturecard` VALUES (1,'file://myth/tv/BBS_Art_Scene_Doc.mpg','/dev/dsp0 ','/dev/vbi0 ','MPEG','Tuner 0 ',0,'VMKMBFE-01',0,1,0,1,0,0,0,0,2,0,'NULL',0,0,31338,80,'NULL',1000,3000,0,0,0,0,0,0,0);

INSERT INTO `cardinput` VALUES (1,1,1,'Fake Tuner',NULL,0,'N',NULL,NULL,1,NULL,NULL,11700000,10600000,9750000,'Fake Tuner',1,0,0,0);

INSERT INTO `channel` VALUES (1000,'3',NULL,1,'1000','LoopbackTV','none',NULL,'','',0,32768,32768,32768,32768,'Default',0,1,'',0,NULL,NULL,NULL,0,0,0);


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