[mythtv-users] Couldn't open [ MPEG : /dev/video3 ] to probe its inputs.

Simon Gornall mythtv at gornall.net
Sat Oct 25 09:57:24 EDT 2003


Robert Kulagowski wrote:

> Make sure that /dev/video/* aren't actually symlinks to /dev/v4l/* and 
> if they are, that the perms in /dev/v4l are good.

No, I don't have a /dev/v4l/.. :-(

# ls -l /dev/video*
crw-rw-rw-    1 mythtv   root      81,   0 Jan 30  2003 /dev/video0
crw-rw-rw-    1 mythtv   root      81,   1 Jan 30  2003 /dev/video1
crw-rw-rw-    1 mythtv   root     172,   0 Jan 30  2003 /dev/video1394
crw-rw-rw-    1 mythtv   root      81,   2 Jan 30  2003 /dev/video2
crw-rw-rw-    1 mythtv   root      81,   3 Jan 30  2003 /dev/video3
 
/dev/video:
total 0
crw-rw-rw-    1 mythtv   root      10, 204 Jan 30  2003 em8300
crw-rw-rw-    1 mythtv   root      10, 206 Jan 30  2003 em8300_ma
crw-rw-rw-    1 mythtv   root      10, 205 Jan 30  2003 em8300_mv
crw-rw-rw-    1 mythtv   root      10, 207 Jan 30  2003 em8300_sp

The frustrating thing is that it must be able to open /dev/video3 
because it's finding all the names below (Composite-1, ...) when I 
register the card in step 2. I found one thing I was doing wrong, but it 
didn't make any difference - I'd left the video capture type as 
'Standard V4L' when it should have been 'Mpeg2 encoder card'. Now my 
errors look like:

# ./setup
Session management error: Authentication Rejected, reason : None of the 
authentication protocols specified are supported and host-based 
authentication failed
Would you like to clear all capture card
settings before starting configuration? [no]  yes
Would you like to clear all program/channel
settings before starting configuration? [no]
Couldn't open /dev/video1394 to probe its inputs.
Couldn't open [ MPEG : /dev/video3 ] to probe its inputs.
If this is the master backend server:
Now, please run 'mythfilldatabase' to populate the database
with channel information.

# /home/mythtv/bin/test_ioctl -a -d /dev/video3
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 8000000
bitrate_peak: 16000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type    : 0
framerate   : 1
framespergop: 12
gop_closure : 0
pulldown    : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 720
        Height : 576
ioctl: VIDIOC_QUERYCAP
        Driver name   : ivtv
        Card type     : Vanilla iTVC15 card
        Bus info      : 0
        Driver version: 1
        Capabilities  : 0x01030003
ioctl: VIDIOC_ENUMINPUT
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000000
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : Composite 4
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : S-Video 2
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
        Name    : S-Video 3
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x              FF ( PAL )
        Status  : 0
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_G_FREQUENCY
Frequency = 11520
ioctl: VIDIOC_ENUMSTD
        ID          : 0x            3000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525
        ID          : 0x              FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625
        ID          : 0x          7F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 59343
Mute = 0



ATB,
    Simon




More information about the mythtv-users mailing list