[mythtv] who has hdtv?

John P. Poet john at BlueSkyTours.com
Tue Feb 10 15:29:05 EST 2004


I submitted a patch a couple of days ago, that might fix your problem.  I
don't know if it has been added to the cvs yet, so I will attach it again
here.


John
--

On Tue, 10 Feb 2004, Jack R. Hyde wrote:

> Ok when I made the post the latest versions on your web site was v2, I
> see now that you have v3 so I grabbed them, applied them and minus some
> different debug output it seems to be the same as regular cvs. Which is
> to say everything works fine except 31 which is the WB KTLA-DT channel
> here in LA. Signal strenght is usually 85 or better, mplayer shows it
> great, but mythtv just gives the following with a black screen that I
> can't exit out of unless I control-C or otherwise kill it.
>
> frontend:
> 2004-02-10 11:42:28 mythfrontend version: 0.15.20040206-1 www.mythtv.org
> 2004-02-10 11:42:28 Enabled verbose msgs : important general
> 2004-02-10 11:42:28 Registering Internal as a media playback plugin.
> 2004-02-10 11:42:28 Registering MythDVD Media Handler as a media handler
> 2004-02-10 11:42:28 Registering MythMusic Media Handler as a media handler
> 2004-02-10 11:42:30 Connecting to backend server: 127.0.0.1:6543 (try 1
> of 5)
> 2004-02-10 11:42:30 Using protocol version 3
> 2004-02-10 11:42:30 Using protocol version 3
> 2004-02-10 11:42:30 Using protocol version 3
> taking too long to be allowed to read..
> taking too long to be allowed to read..
> taking too long to be allowed to read..
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 2 seconds for data to become available, waiting again...
> Waited 14 seconds for data to become available, aborting
> Couldn't read file: rbuf://127.0.0.1:6543/mnt/store//ringbuf1.nuv
> 2004-02-10 11:43:02 Changing from None to WatchingLiveTV
>
> and the backend:
> Starting up as the master server.
> 2004-02-10 11:42:26 Maximum signal strength detected: 70% after 1500
> msec wait
> 2004-02-10 11:42:26 mythbackend version: 0.15.20040206-1 www.mythtv.org
> 2004-02-10 11:42:26 Enabled verbose msgs : important general
> 2004-02-10 11:42:28 Found changes in the todo list.
> 2004-02-10 11:42:30 MainServer::HandleAnnounce Playback
> 2004-02-10 11:42:30 adding: myth64 as a client (events: 0)
> 2004-02-10 11:42:30 Getting next free recorder : -1
> 2004-02-10 11:42:30 MainServer::HandleAnnounce Playback
> 2004-02-10 11:42:30 adding: myth64 as a client (events: 1)
> 2004-02-10 11:42:30 MainServer::HandleAnnounce Playback
> 2004-02-10 11:42:30 adding: myth64 as a client (events: 0)
> 2004-02-10 11:42:30 MainServer::HandleAnnounce Playback
> 2004-02-10 11:42:30 adding: myth64 as a client (events: 0)
> 2004-02-10 11:42:30 adding: myth64 as a remote ringbuffer
> 2004-02-10 11:42:30 Changing from None to WatchingLiveTV
> 2004-02-10 11:42:30 Maximum signal strength detected: 85% after 0 msec wait
> chanid: 31
> Couldn't read data from the capture card in 15 seconds.  Game over, man.
>
>
> Daniel Thor Kristjansson wrote:
>
> >Can you send me the corresponding output from the backend? This is
> >probably just the bug I mentioned earlier, fixed in the latest
> >patches.
> >
> >-- Daniel
> >  << When truth is outlawed; only outlaws will tell the truth. >> - RLiegh
> >
> >On Mon, 9 Feb 2004, Jack R. Hyde wrote:
> >
> >]Ok I got off my ass, updated to the lastest cvs, grabbed your patches
> >]hdtv-recorder-v2.patch     hdtv-videodev-v1.patch
> >]hdtv-signalcheck-v2.patch  tspacket.h
> >]
> >]and this time it compiled fine. Loaded it up, and got spammed with
> >]
> >]QSocketDevice::writeBlock: Invalid socket
> >]2004-02-09 18:13:08 Error writing stringlist
> >]Remote encoder not responding.
> >]
> >]
> >]which just repeats till I control-C. =( If there is any info you need
> >]let me know.
> >]
> >]Reverted the patches and everything is back to what it is for now.
> >]
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-dev mailing list
> >mythtv-dev at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> >
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
Index: libs/libmythtv/hdtvrecorder.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/hdtvrecorder.cpp,v
retrieving revision 1.20
diff -u -r1.20 hdtvrecorder.cpp
--- libs/libmythtv/hdtvrecorder.cpp	20 Jan 2004 07:12:18 -0000	1.20
+++ libs/libmythtv/hdtvrecorder.cpp	9 Feb 2004 04:52:54 -0000
@@ -726,14 +726,14 @@
 
             for (i = sec_start + 8; i < sec_start + 3 + sec_len - 4; i += 4) {
                 int prog_num = (buffer[i] << 8) | buffer[i + 1];
-                int prog_pid = (buffer[i + 2] & 0x0e) << 8 | buffer[i + 3];
+                int prog_pid = (buffer[i + 2] & 0x1f) << 8 | buffer[i + 3];
                 if (prog_num == desired_program) {
                     pmt_pid = prog_pid;
                     break;
                 }
             }
             if (pmt_pid == -1) {
-                pmt_pid = (buffer[sec_start + 8 + 2] & 0x0e) << 8 |
+                pmt_pid = (buffer[sec_start + 8 + 2] & 0x1f) << 8 |
                                 buffer[sec_start + 8 + 3];
             }
             output_base_pid = 16;


More information about the mythtv-dev mailing list