[mythtv] State of Firewire

Mitch Gore mitchell.gore at gmail.com
Mon Jun 22 16:21:52 UTC 2009


On Mon, Jun 22, 2009 at 10:56 AM, Bryan Mayland
<bmayland+mythtv at capnbry.net<bmayland%2Bmythtv at capnbry.net>
> wrote:

> Mitch Gore wrote:
>
>> test-mpeg2 and firewire_tester works 100% but myth fails to record any
>> data.
>> 2009-06-15 11:33:08.548 SM(0022CECC76B00000)::AddFlags: Seen() Match()
>> Wait(PAT,PMT,Pos,)
>>
> Looks like your firewire box might not be sending out PAT/PMT tables
> needed by MythTV's recorder.  Try this test:
> 1) Record a stream using test-mpeg2 for 10 seconds or s
> 2) Use dvbsnoop to look through the file for a PAT:
> dvbsnoop -s ts -if TESTFILENAME | grep "PID: 0"
>
> Where TESTFILENAME is your file recorded with test-mpeg2.  If your cable
> box is like mine, you see a ton of "PID: 8191", some of another PID,
> then very few (percentage wise) of another PID.  If this is all you see,
> congratulations, myth can't find your program in the stream!
>
> If this is the case, do not despair, for I can supply you with a patch
> that adds PID autodetect and fixes the problem completely.  Apply
> against libs/libmythtv/
> http://capnbry.net/~bmayland/fi/code/sigmon.diff<http://capnbry.net/%7Ebmayland/fi/code/sigmon.diff>
>
> If responding, make sure you CC my main email address because I rarely
> check the list.
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

Bryan,  Thank You for the reply.

So i install dvbsnoob and ran it on a test-mpeg2 file.  When i Grep'ed for
"PID: 0" I got nothing.  I then did a grep for just PID.  Here is what I
see:

dvbsnoop -s ts -if test.mpg | grep "PID:"
TS-Packet: 00000449   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000450   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000451   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000452   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000453   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000454   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000455   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000456   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000457   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000458   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000459   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000460   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000461   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000462   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000463   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000464   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000465   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000466   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 67 (0x0043)  [= ]
TS-Packet: 00000467   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000468   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000469   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000470   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000471   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000472   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000473   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000474   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000475   PID: (Unkown PID), Length: 188 (0x00bc)
PID: 66 (0x0042)  [= ]
TS-Packet: 00000476   PID: (Unkown PID), Length: 188 (0x00bc)

Looking thru the file about 99.9% have PID 66 (0x0042) with a few being PID:
67 (0x0043)

So what does this tell me?  Will the patch fix it or do i need a diff fix?


-- 
Mitchell
nosohappyhemayhavetostartcompilinghisowncodeagain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090622/4ae761b6/attachment.htm>


More information about the mythtv-dev mailing list