LinHES Forums
http://forums.linhes.org/

How to tell which encoder equals which card?
http://forums.linhes.org/viewtopic.php?f=17&t=10788
Page 1 of 1

Author:  ceenvee703 [ Tue Jul 11, 2006 12:23 pm ]
Post subject:  How to tell which encoder equals which card?

I hesitate asking a question like this that seems like it would have a straightforward answer somewhere, but I can't find it, so I'll post, and as a result will probably find the answer about 5 minutes after I do so...

I have three encoder cards in my backend: a PVR-250, a PVR-350, and a HD-3000.

When I look at, say, "backend status" on MythWeb, it tells me the status of Encoder 1, Encoder 2 and Encoder 3. Or, when I look at "upcoming recordings" on MythWeb, it shows which program will be recorded on which encoder.

Now, I know "Encoder 3" is my HD-3000 HDTV card. But how can I tell if "Encoder 1" is my PVR-250 or my PVR-350?

Author:  tjc [ Tue Jul 11, 2006 8:35 pm ]
Post subject: 

I believe it's as simple as checking the dmesg log and seeing which one is listed first.
Code:
root@black2:~# dmesg | grep ', card #'
ivtv0: Initialized WinTV PVR 250, card #0
ivtv1: Initialized WinTV PVR 150, card #1

That's the order they appear on the MythWeb page too..

Author:  turpie [ Wed Jul 12, 2006 6:08 pm ]
Post subject: 

It also depends on the order they appear in mythtv-setup. Because I have changed my setup a couple of times, on my system the first encoder is /dev/video1 and the second is video0.

Author:  tjc [ Wed Jul 12, 2006 6:45 pm ]
Post subject: 

Are you sure that's not just a southern hemisphere thing, like weather systems swirling the opposite direction? ;-)

Actually, I think you're right, although I've never actually managed to invert them myself.

Author:  ceenvee703 [ Wed Jul 12, 2006 7:33 pm ]
Post subject: 

So a follow-up question: are mythtv-setup and the results from dmesg in agreement on which is Encoder 1? Will dmesg report which card is which depending on how you set things up in mythtv-setup, or are they independent? After tjc's message I thought it was clear, but now I'm less sure. Thanks.

Author:  turpie [ Thu Jul 13, 2006 12:48 am ]
Post subject: 

tjc wrote:
Are you sure that's not just a southern hemisphere thing, like weather systems swirling the opposite direction? ;-)

Well that might explain some of the problems I have. :lol:

My video0 is a FlyVideo3000 that insisted on recording audio at the wrong sample rate, making everyone sound like chipmunks. So I deleted that card in mythtv-setup while I sorted it out, that way only the PVR150 on video1 would be used. When I fixed the Flyvideo it became encoder2.

Author:  turpie [ Thu Jul 13, 2006 1:16 am ]
Post subject: 

ceenvee703 wrote:
So a follow-up question: are mythtv-setup and the results from dmesg in agreement on which is Encoder 1? Will dmesg report which card is which depending on how you set things up in mythtv-setup, or are they independent? After tjc's message I thought it was clear, but now I'm less sure. Thanks.

They are independant.

First you need to work out which PVR is which video device.
Check dmesg as per tjc's instructions. In the example given above the PVR250 is /dev/video0 and the PVR150 is video1.
(The IVTV developers make this a little harder by not listing the actual devices they create. If another driver such as v4l creates a video0 device first then the PVRs will be video1 and video2 respectively)

Then check the list of capture cards in mythtv-setup. The first card will be encoder1, etc. By going into the details for each encoder you should be able to match the cards with their video devices.

On my system /dev/video0 is a Flyvideo3000, and /dev/video1 is a PVR150. In mythtv-setup the first capture card uses video1, and the second uses video0. Therefore encoder1 is the PVR150 and encoder2 is the FlyVideo3000.

Author:  turpie [ Thu Jul 13, 2006 6:36 pm ]
Post subject: 

turpie wrote:
My video0 is a FlyVideo3000 that insisted on recording audio at the wrong sample rate, making everyone sound like chipmunks. So I deleted that card in mythtv-setup while I sorted it out, that way only the PVR150 on video1 would be used. When I fixed the Flyvideo it became encoder2.

I checked this last night and my tuners are actually Encoder2 and Encoder5.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/