[mythtv] GOP_BYFRAME vs. GOP_START and mythcommflag --rebuild
cpinkham at bc2va.org
Wed Jun 13 14:25:27 UTC 2007
* On Tue Jun 12, 2007 at 11:51:26PM -0400, Bill wrote:
> Posted some code to Ticket #1088
Thanks. I'll try to take a look at this tonight or tomorrow.
You can test the mpegrecorder without having an ivtv compatible card.
If you create a capturecard and set the cardtype to "MPEG" via
mythtv-setup or direct SQL, then you can set the videodevice to point
to a mpeg file instead of an actual capture card. The filename needs
to be prefixed by "file:" which is a flag to tell mpegrecorder that
this is a mpeg file not a capture card. I added this feature in for
testing a few years ago. It makes it easy to test on machines without
a real capture card as well as testing multiple capture cards when you
only have one in your dev machine. :) When I was writing the Storage
Groups code, I had 6 of these virtual tuners going at the same time
to test the load-balancing code.
My videodevice field for my virtual tuners looks like this:
If the recorder reaches the end of the mpeg file it will start back
at the beginning. It even supports simulated channel changes via
the DummyChannel class so you can use it to test LiveTV changes.
More information about the mythtv-dev