[mythtv] [Experimental Patch] HDTV Recorder patch updated

John Patrick Poet john at BlueSkyTours.com
Sun Sep 26 20:56:52 EDT 2004


Daniel Thor Kristjansson wrote:

>On Sat, 25 Sep 2004, John Patrick Poet wrote:
>]There seems to be a problem with the v19 code.  The video recorded with
>]it plays back just fine, but jump/skip forward/backward does not work.
>]I tried doing a "mythcommflag --rebuild -f " on the file, but it did not
>]help.  I went back and played one of my older shows, and was able to
>]skip/jump just fine.
>
>I've posted an updated hdtv-recorder patch that doesn't have the jump
>problems. It's version 21. It also has a default L2_CACHE_SIZE_KB value
>of 256, in case it is not defined in settings.pro.
>
>-- Daniel
>  
>
Okay, I think jump/skip work now.

I tried changing channels from my CBS station to my PBS station (both 
1080i), but the result is just a bunch of prebuffer wait timed out 
messages on the frontend.  The backend log does not indicate a problem.

dtvstream output for my CBS station:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lost sync at input offset 0
Achieved sync after 44 bytes.
Summary after scanning first 20000 packets:
    3 MBytes processed @ 15 Mb/s
    53 pes_pkts processed
    18 atsc_pkts, w/ distribution:
        sst=2/2, mgt=10/1, vct=5/1, rrt=1/1,dcct=0/0, dccsct=0/0
    Dropped pkts (Continuity Counter Errors) = 0
    Active PIDs in this stream
        PID=0x0, ctrl_type=PAT, pkt_cnt=16
        PID=0x1, ctrl_type=CAT, pkt_cnt=8
        PID=0x20, ctrl_type=PMT, pkt_cnt=15
        PID=0x21, ctrl_type=VIDEO, pkt_cnt=18888
        PID=0x24, ctrl_type=AUDIO_AC3, pkt_cnt=270
        PID=0x1fd0, ctrl_type=EIT, pkt_cnt=4
        PID=0x1fd1, ctrl_type=EIT, pkt_cnt=3
        PID=0x1fd2, ctrl_type=EIT, pkt_cnt=3
        PID=0x1fd3, ctrl_type=EIT, pkt_cnt=4
        PID=0x1ffb, ctrl_type=ATSC, pkt_cnt=18
        PID=0x1fff, ctrl_type=NULL, pkt_cnt=727
Stream contains 1 total program(s).
Stream contains 1 valid program(s).
    Using program 2: 13-1 KRQE-DT:
        Video (MPEG-2), language = eng
        Audio (Dolby AC-3), language = eng
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And my PBS station:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lost sync at input offset 0
Achieved sync after 68 bytes.
Summary after scanning first 20000 packets:
    3 MBytes processed @ 15 Mb/s
    175 pes_pkts processed
    49 atsc_pkts, w/ distribution:
        sst=1/1, mgt=11/1, vct=4/1, rrt=0/0,dcct=0/0, dccsct=0/0
    Dropped pkts (Continuity Counter Errors) = 0
    Active PIDs in this stream
        PID=0x0, ctrl_type=PAT, pkt_cnt=17
        PID=0x2a, ctrl_type=UNDEFINED, pkt_cnt=235
        PID=0x31, ctrl_type=VIDEO, pkt_cnt=16456
        PID=0x34, ctrl_type=AUDIO_AC3, pkt_cnt=409
        PID=0x3e8, ctrl_type=PMT, pkt_cnt=4
        PID=0x3ed, ctrl_type=PMT, pkt_cnt=4
        PID=0x3ee, ctrl_type=VIDEO, pkt_cnt=2378
        PID=0x3ef, ctrl_type=AUDIO_AC3, pkt_cnt=204
        PID=0x1d00, ctrl_type=EIT, pkt_cnt=12
        PID=0x1d01, ctrl_type=EIT, pkt_cnt=4
        PID=0x1d02, ctrl_type=EIT, pkt_cnt=7
        PID=0x1d03, ctrl_type=EIT, pkt_cnt=6
        PID=0x1d06, ctrl_type=EIT, pkt_cnt=4
        PID=0x1e00, ctrl_type=ETT, pkt_cnt=38
        PID=0x1e01, ctrl_type=ETT, pkt_cnt=17
        PID=0x1e02, ctrl_type=ETT, pkt_cnt=23
        PID=0x1e03, ctrl_type=ETT, pkt_cnt=6
        PID=0x1e04, ctrl_type=ETT, pkt_cnt=12
        PID=0x1e06, ctrl_type=ETT, pkt_cnt=9
        PID=0x1e80, ctrl_type=ETT, pkt_cnt=3
        PID=0x1ffb, ctrl_type=ATSC, pkt_cnt=49
        PID=0x1fff, ctrl_type=NULL, pkt_cnt=103
Stream contains 2 total program(s).
Stream contains 2 valid program(s).
    Program 1: 5-1 KNME-HD:
        Video (MPEG-2)
        Audio (Dolby AC-3), language = eng
    Program 2: 5-2 KNME-TV:
        Video (MPEG-2)
        Audio (Dolby AC-3), language = eng
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If I try running "mythbackend -v record", I cannot even watch the show.  
I am assuming that it is logging sooo much stuff that it gets behind 
writing the video file.

Some of the stuff that ends up in the log:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2004-09-26 18:45:07 Using profile 'Live TV' to record
2004-09-26 18:45:07 HD buffer size 240 KB
2004-09-26 18:45:07 Maximum signal strength detected: 86% after 0 msec wait
2004-09-26 18:45:07 Setting frequency for startRecording freqid: 35-1
2004-09-26 18:45:07 StartRecording
2004-09-26 18:45:07 HD4 obtained device stream sync after reading 9400 bytes
2004-09-26 18:45:07 CreatePAT()
2004-09-26 18:45:07 old pat
2004-09-26 18:45:07 Program Association Table
 0x0 0x0 0xb0 0x11 0x7 0xef 0xc5 0x0 0x0
    code prefix: 0x0
       table ID: 0x0
         length: 17
   table ID Ext: 0x7ef
        version: 17
        current: 1
 section number: 0
  last sec. num: 0
         tsid: 2031
 programCount: 2
  program number 1 has PID 0x 3e8   data  0x0 0x1 0x227 0x232
  program number 2 has PID 0x 3ed   data  0x0 0x2 0x227 0x237
 
2004-09-26 18:45:07 desired_program(1) pid(0x3e8)
2004-09-26 18:45:07 pmt_pid(0x3e8)
2004-09-26 18:45:07 new pat
2004-09-26 18:45:07 Program Association Table
 0x0 0x0 0xb0 0xd 0x7 0xef 0xc7 0x0 0x0
    code prefix: 0x0
       table ID: 0x0
         length: 13
   table ID Ext: 0x7ef
        version: 17
        current: 1
 section number: 0
  last sec. num: 0
         tsid: 2031
 programCount: 1
  program number 1 has PID 0x 3e8   data  0x0 0x1 0x227 0x232
                                                                                

2004-09-26 18:45:07 MGT pid 0x1ffb in class Terrestrial VCT with current()
2004-09-26 18:45:07 MGT pid 0x1e00 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e01 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e02 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e03 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e04 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e05 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e06 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e07 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e08 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e80 in class Channel ETT
2004-09-26 18:45:07 MGT pid 0x1e09 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0b in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0c in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0d in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0e in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0a in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e10 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e11 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e12 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e13 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e14 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e0f in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e16 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e17 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1e15 in class Event ETT + 0x200
2004-09-26 18:45:07 MGT pid 0x1d00 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d01 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d02 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d03 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d04 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d05 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d06 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d07 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d08 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d09 in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d0a in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d0b in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d0c in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d0d in class EIT + 0x100
2004-09-26 18:45:07 MGT pid 0x1d0e in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d0f in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d10 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d11 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d12 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d13 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d14 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d15 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d16 in class EIT + 0x100
2004-09-26 18:45:08 MGT pid 0x1d17 in class EIT + 0x100
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee
2004-09-26 18:45:08 Unknown pid 0x3ee

<snip>

2004-09-26 18:45:11 CreatePMT()
2004-09-26 18:45:11 old pmt
           Unknown Descriptor (0x6) length(1) 0x2
2004-09-26 18:45:11 Program Map Table
    pmt version: 16
   tspacket pid: 0x3e8
 program number: 1
 section length: 29
 
  Stream #0
   pid: 0x31
  type: video  0x2
  info length: 3
  Stream #1
   pid: 0x34
  type: audio-ac3  0x129
 
2004-09-26 18:45:11 new pmt
2004-09-26 18:45:11 Program Map Table
    pmt version: 16
   tspacket pid: 0x3e8
 program number: 1
 section length: 26
 
  Stream #0
   pid: 0x31
  type: video  0x2
  Stream #1
   pid: 0x34
 type: audio-ac3  0x129
 
2004-09-26 18:45:11 Unknown pid 0x3ef
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ef
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ef
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Unknown pid 0x3ee
2004-09-26 18:45:11 Resyncing
2004-09-26 18:45:11 Unknown pid 0x3ee
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

John



More information about the mythtv-dev mailing list