[mythtv-users] replaceing a Hauppage 150 with a pvr 500
Stephen Kitchener
stephen at g6dzj.demon.co.uk
Sat Jan 7 14:24:59 UTC 2006
On Saturday 07 Jan 2006 11:15, weeny wrote:
> Stephen Kitchener:
> > I did try as you suggested and the output is below..
> >
> > ivtvctl -a gives
>
> Did you try ivtvctl -a with the device option each for the
> corresponding /dev/video devices? I think per default it only checks the
> first one...
OK I did the command for each /dev/video0 and /dev/video1
/dev/video0
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 2
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 4500000
bitrate_peak: 6000000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 1
framespergop: 12
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 500 (unit #1)
Bus info : 0000:02:08.0
Driver version: 1025
Capabilities : 0x01070051
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000000000FF ( PAL )
Status : 0
Input : 1
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 0
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line 1
Input : 2
Name : Audio Line 2
Input : 3
Name : Audio Line 3
Input : 4
Name : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 12148
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 383
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 1
/dev/video1
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 2
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 8000000
bitrate_peak: 9600000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 0
framespergop: 12
gop_closure : 1
pulldown : 0
stream_type : 14
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 500 (unit #2)
Bus info : 0000:02:09.0
Driver version: 1025
Capabilities : 0x01030051
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000000000FF ( PAL )
Status : 0
Input : 1
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 0
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line 1
Input : 2
Name : Audio Line 2
Input : 3
Name : Audio Line 3
Input : 4
Name : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 12148
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 60928
Mute = 0
I saved the output for each device and diff'ed them, so that I could see any
differences...
ie diff dev-video0-op dev-video1-op
7,8c7,8
< bitrate : 4500000
< bitrate_peak: 6000000
---
> bitrate : 8000000
> bitrate_peak: 9600000
13c13
< framerate : 1
---
> framerate : 0
17c17
< stream_type : 0
---
> stream_type : 14
24,25c24,25
< Card type : WinTV PVR 500 (unit #1)
< Bus info : 0000:02:08.0
---
> Card type : WinTV PVR 500 (unit #2)
> Bus info : 0000:02:09.0
27c27
< Capabilities : 0x01070051
---
> Capabilities : 0x01030051
112,114c112,114
< Brightness = 383
< Contrast = 63
< Saturation = 63
---
> Brightness = 128
> Contrast = 64
> Saturation = 64
116,117c116,117
< Volume = 58880
< Mute = 1
---
> Volume = 60928
> Mute = 0
There doesn't seem to be anything that would stop it working...but what do I
know, that's why I'm on the list afterall :-)
>
> From the rest of you dmesg output it really looks fine with detecting
> properly both first and second card. Did you explictly tell ivtvctl to set
> up the settings for /dev/video0 and seperatly for /dev/video1? Also to tune
> the card you need to tell ivtv-tune to talk to the respective devices....
>
> What frequency to use:
I am using the same details/settings/channels that I use for the 150 (That
works).
> When i first wondered what frequency to use i just ran scantv and it
> detected the proper channels which are stored to .tv/stations in your home
> per default. Maybe use scantv (part of xawtv...) to check whether it can
> find some channels. The channel numbers then can be used with ivtv-tune to
> switch channels.
Ok I did
ivtv-tune -f759.25 -d/dev/video0
ivtv-tune -f759.25 -d/dev/video1
Same channel (BBC1)
then
cat /dev/video0 > 1.mpg
cat /dev/video1 > 2.mpg
And played the result in mplayer..
The first one contained noise (IE no picture) but the second one 2.mpg
from /dev/video1 perfect picture...
I appreciate your help..
Steve
>
> Regards,
>
> weeny
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list