Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Re: [mythtv-commits] Ticket #5443: HD-PVR support

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


mark.buechler at gmail

Jun 18, 2008, 7:30 AM

Post #1 of 10 (698 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support

Hi

On Wed, Jun 18, 2008 at 12:55 AM, MythTV <mythtv[at]cvs.mythtv.org> wrote:

> #5443: HD-PVR support
>
> ------------------------------+---------------------------------------------
> Reporter: jppoet[at]gmail.com | Owner: ijr
> Type: enhancement | Status: new
> Priority: minor | Milestone: unknown
> Component: mythtv | Version: unknown
> Severity: medium | Resolution:
> Mlocked: 0 |
>
> ------------------------------+---------------------------------------------
>
> Comment(by jppoet[at]gmail.com):
>
> Getting closer.
>
> Version 0.13 fixes the problem with corruption in some of the recordings.
>
> 1080i recording have seek problems, possibly associated with it reporting
> the show length to be double what it really is. 720p shows do not seem to
> have this problem.
>

h264 interlaced content shows doubled length (and consequently breaks
seeking) due to how the backend counts frames. It assumed one frame/slice
when in fact, with interlaced content, it's one field/slice thus doubling
all counts. A quick fix to ensure this is indeed the case is to halve all
the values in the seek table after the recording is finished.

- Mark.


>
> Better link for driver announcement:
> http://www.gossamer-threads.com/lists/mythtv/users/337305#337305
>
> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/5443#comment:1>
> MythTV <http://www.mythtv.org/>
> MythTV
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
>


mark.buechler at gmail

Jun 30, 2008, 7:06 AM

Post #2 of 10 (549 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

Hi

On Sat, Jun 28, 2008 at 1:22 AM, MythTV <mythtv[at]cvs.mythtv.org> wrote:

> #5443: HD-PVR support
>
> ------------------------------+---------------------------------------------
> Reporter: jppoet[at]gmail.com | Owner: danielk
> Type: enhancement | Status: assigned
> Priority: minor | Milestone: unknown
> Component: mythtv | Version: unknown
> Severity: medium | Resolution:
> Mlocked: 0 |
>
> ------------------------------+---------------------------------------------
>
> Comment(by jppoet[at]gmail.com):
>
> Adding a patch which will parse the frame_num out of the h.264 stream. At
> this point, that is all does -- it does not fix the keyframe problem, but
> should help with the solution.
>
> It will be a week before I can work on this some more, so I am throwing
> this out there in case someone else wants to take up the task.
>

Correct me if I'm wrong, but this is about 95% of what's needed? Given the
frame number, all that would need doing is to keep track of the last frame
number and increment only if the current is different. However, not knowing
the spec, I don't know if fields can come out of order over different
fields.

- Mark.


mikerice1969 at gmail

Jun 30, 2008, 8:30 PM

Post #3 of 10 (538 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On Thu, Jun 19, 2008 at 12:44 PM, MythTV <mythtv[at]cvs.mythtv.org> wrote:

> Note: You will need the latest HD-PVR driver from Janne's hg, and the 1.0
> firmware (i.e. not 1.0b or any other firmware).

I had the linux driver working on my original HD-PVR but had to send it
back. When the new one came it had a 1.0b disk which I installed on
Windows and it seems to work.

But I didn't see the warning about 1.0b until after it was installed.
I reinstalled
the old driver 1.0... will that get me back to the 1.0 firmware?

I tried that but now a:

cat /dev/video0 > foo.ts

produces only an empty file. setting hdpvr_debug 1 shows it calling
start_streaming but nothing after that. Ctl-c shows calls stop_streaming...
Unplugging/replugging behaves but no data in the file. Anyone have any
ideas?
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jppoet at gmail

Jun 30, 2008, 9:01 PM

Post #4 of 10 (535 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On Mon, Jun 30, 2008 at 9:30 PM, Michael Rice <mikerice1969[at]gmail.com> wrote:
> On Thu, Jun 19, 2008 at 12:44 PM, MythTV <mythtv[at]cvs.mythtv.org> wrote:
>
>> Note: You will need the latest HD-PVR driver from Janne's hg, and the 1.0
>> firmware (i.e. not 1.0b or any other firmware).
>
> I had the linux driver working on my original HD-PVR but had to send it
> back. When the new one came it had a 1.0b disk which I installed on
> Windows and it seems to work.
>
> But I didn't see the warning about 1.0b until after it was installed.
> I reinstalled
> the old driver 1.0... will that get me back to the 1.0 firmware?
>
> I tried that but now a:
>
> cat /dev/video0 > foo.ts
>
> produces only an empty file. setting hdpvr_debug 1 shows it calling
> start_streaming but nothing after that. Ctl-c shows calls stop_streaming...
> Unplugging/replugging behaves but no data in the file. Anyone have any
> ideas?

If you have one of the "new" HD-PVRs, you must use firmware 1.0B.

The warning you quoted was basically because 1.0B has not been well
tested. It should work, however.

John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


steve at heistand

Jun 30, 2008, 9:15 PM

Post #5 of 10 (537 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

mine was also sent back, not sure what version the new one came
back with but it works just fine.
I wasnt about to plug it into a windows machine in case it
did try to load firemware. so Im not sure which one it has
nor sure how to check under linux.


"Why is it so hot inside this handbasket?"
--
Steve Heistand
steve[at]heistand.org


---------- Original Message -----------
From: "John P Poet" <jppoet[at]gmail.com>
To: "Development of mythtv" <mythtv-dev[at]mythtv.org>
Sent: Mon, 30 Jun 2008 22:01:57 -0600
Subject: Re: [mythtv] [mythtv-commits] Ticket #5443: HD-PVR support

> On Mon, Jun 30, 2008 at 9:30 PM, Michael Rice <mikerice1969[at]gmail.com> wrote:
> > On Thu, Jun 19, 2008 at 12:44 PM, MythTV <mythtv[at]cvs.mythtv.org> wrote:
> >
> >> Note: You will need the latest HD-PVR driver from Janne's hg, and the 1.0
> >> firmware (i.e. not 1.0b or any other firmware).
> >
> > I had the linux driver working on my original HD-PVR but had to send it
> > back. When the new one came it had a 1.0b disk which I installed on
> > Windows and it seems to work.
> >
> > But I didn't see the warning about 1.0b until after it was installed.
> > I reinstalled
> > the old driver 1.0... will that get me back to the 1.0 firmware?
> >
> > I tried that but now a:
> >
> > cat /dev/video0 > foo.ts
> >
> > produces only an empty file. setting hdpvr_debug 1 shows it calling
> > start_streaming but nothing after that. Ctl-c shows calls stop_streaming...
> > Unplugging/replugging behaves but no data in the file. Anyone have any
> > ideas?
>
> If you have one of the "new" HD-PVRs, you must use firmware 1.0B.
>
> The warning you quoted was basically because 1.0B has not been well
> tested. It should work, however.
>
> John
> --
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
------- End of Original Message -------

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jppoet at gmail

Jul 1, 2008, 8:26 AM

Post #6 of 10 (526 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On Mon, Jun 30, 2008 at 10:15 PM, Steve Heistand <steve[at]heistand.org> wrote:
> mine was also sent back, not sure what version the new one came
> back with but it works just fine.
> I wasnt about to plug it into a windows machine in case it
> did try to load firemware. so Im not sure which one it has
> nor sure how to check under linux.

If it says "rev c1" on the bottom, that is a first generation. Not
sure what the second generation say.

John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


steve at heistand

Jul 1, 2008, 8:32 AM

Post #7 of 10 (523 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

the sticker says rev 2 but I dont know if that means its just
the "with fan" version of the hardware or if its also got
the 1.0b firmware loaded.


"Why is it so hot inside this handbasket?"
--
Steve Heistand
steve[at]heistand.org


---------- Original Message -----------
From: "John P Poet" <jppoet[at]gmail.com>
To: "Development of mythtv" <mythtv-dev[at]mythtv.org>
Sent: Tue, 1 Jul 2008 09:26:54 -0600
Subject: Re: [mythtv] [mythtv-commits] Ticket #5443: HD-PVR support

> On Mon, Jun 30, 2008 at 10:15 PM, Steve Heistand <steve[at]heistand.org> wrote:
> > mine was also sent back, not sure what version the new one came
> > back with but it works just fine.
> > I wasnt about to plug it into a windows machine in case it
> > did try to load firemware. so Im not sure which one it has
> > nor sure how to check under linux.
>
> If it says "rev c1" on the bottom, that is a first generation. Not
> sure what the second generation say.
>
> John
> --
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
------- End of Original Message -------

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mikerice1969 at gmail

Jul 1, 2008, 8:53 AM

Post #8 of 10 (525 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On Tue, Jul 1, 2008 at 8:26 AM, John P Poet <jppoet[at]gmail.com> wrote:
> On Mon, Jun 30, 2008 at 10:15 PM, Steve Heistand <steve[at]heistand.org> wrote:
>> mine was also sent back, not sure what version the new one came
>> back with but it works just fine.
>> I wasnt about to plug it into a windows machine in case it
>> did try to load firemware. so Im not sure which one it has
>> nor sure how to check under linux.
>
> If it says "rev c1" on the bottom, that is a first generation. Not
> sure what the second generation say.

My new one is "rev C2". Anyone have this revision working
with the 1.0b firmware with the Linux driver?

/var/log/messages:
Jul 1 08:42:33 devbox kernel: hdpvr: INFO get_video_info: get video
info returned: 5, d0 02 e0 01 1e
Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: video
signal: 720x480[at]30hz
Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: encoder
start control request returned 0
Jul 1 08:42:33 devbox kernel: hdpvr: INFO hdpvr_config_call: config
call request returned 1
Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: streaming started

Jul 1 08:44:25 devbox kernel: hdpvr: INFO hdpvr_config_call: config
call request returned 1
Jul 1 08:44:27 devbox kernel: hdpvr: INFO stop_streaming: used 0 urbs
to empty device buffers
Jul 1 08:44:27 devbox kernel: hdpvr: INFO stop_streaming: encoder
shutdown control request returned 0

But the file is empty.

If anyone has ideas on where to try additional debug output let me know.
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jppoet at gmail

Jul 1, 2008, 9:03 AM

Post #9 of 10 (523 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On Tue, Jul 1, 2008 at 9:53 AM, Michael Rice <mikerice1969[at]gmail.com> wrote:
> On Tue, Jul 1, 2008 at 8:26 AM, John P Poet <jppoet[at]gmail.com> wrote:
>> On Mon, Jun 30, 2008 at 10:15 PM, Steve Heistand <steve[at]heistand.org> wrote:
>>> mine was also sent back, not sure what version the new one came
>>> back with but it works just fine.
>>> I wasnt about to plug it into a windows machine in case it
>>> did try to load firemware. so Im not sure which one it has
>>> nor sure how to check under linux.
>>
>> If it says "rev c1" on the bottom, that is a first generation. Not
>> sure what the second generation say.
>
> My new one is "rev C2". Anyone have this revision working
> with the 1.0b firmware with the Linux driver?
>
> /var/log/messages:
> Jul 1 08:42:33 devbox kernel: hdpvr: INFO get_video_info: get video
> info returned: 5, d0 02 e0 01 1e
> Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: video
> signal: 720x480[at]30hz
> Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: encoder
> start control request returned 0
> Jul 1 08:42:33 devbox kernel: hdpvr: INFO hdpvr_config_call: config
> call request returned 1
> Jul 1 08:42:33 devbox kernel: hdpvr: INFO start_streaming: streaming started
>
> Jul 1 08:44:25 devbox kernel: hdpvr: INFO hdpvr_config_call: config
> call request returned 1
> Jul 1 08:44:27 devbox kernel: hdpvr: INFO stop_streaming: used 0 urbs
> to empty device buffers
> Jul 1 08:44:27 devbox kernel: hdpvr: INFO stop_streaming: encoder
> shutdown control request returned 0
>
> But the file is empty.
>
> If anyone has ideas on where to try additional debug output let me know.

Is this using Myth or doing a "cat /dev/videoX > test.ts" ?

You are using component input with the rear RCA audio jacks?

Most people using this box under Linux can be found on the hdpvr IRC
channel (on the FreeNode server). Your best chance of getting help,
is there.


John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mikerice1969 at gmail

Jul 1, 2008, 9:52 AM

Post #10 of 10 (523 views)
Permalink
Re: [mythtv-commits] Ticket #5443: HD-PVR support [In reply to]

On 7/1/08, John P Poet <jppoet[at]gmail.com> wrote:
> Is this using Myth or doing a "cat /dev/videoX > test.ts" ?

Both. But when Myth didn't seem to work I went back to cat.
With my old unit a cat /dev/video0 > test.ts just worked.
I didn't even have to set any options with v4l2-ctl.

> You are using component input with the rear RCA audio jacks?

Yes.

So I unplugged and replugged and saw this:

Jul 1 09:02:47 devbox kernel: hdpvr: INFO get_video_info: get video
info returned: 5, 00 00 00 00 00
Jul 1 09:02:47 devbox kernel: hdpvr: INFO hdpvr_device_init: no valid
video signal or device init failed

It was tuned to an SD channel at that point.

I then unplugged, tuned to a 1080i channel on the
settop box and replugged and see this:

Jul 1 09:35:22 devbox kernel: hdpvr: INFO get_video_info: get video
info returned: 5, 80 07 38 04 1e
...
Jul 1 09:35:56 devbox kernel: hdpvr: INFO start_streaming: video
signal: 1920x1080[at]30hz

And it is working for this channel. Anyway I was probably just
testing an HD channel on my old unit so it is probably working as well
as before.
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.