I need some help getting IVTV running on FC6.  I'm following
instructions on
http://wilsonet.com/mythtv/printer-friendly.php?SID&expandables=closed&ivtv=open&pvr350out=open
I have (1) PVR-350 card and (1) PVR-500.  I get as far
    modprobe saa7127 test_image=1
and successfully see a test pattern using the PVR-350 TV Out function on fb1.

I push on in my joy and issue
    ivtvfbctl /dev/fb1 -noglobalalpha -localalpha
per the instructions and receive error message
    Option --localalpha must be either on or off
I reformat the command per the help to
    ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
and it appears to be accepted, but I now get error message
    IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)

I push on in ignorant bliss issuing
    v412-ctl -s ntsc
    v412-ctl -i 0
    v412-ctl -v width=720,height=480
    cat /dev/video0 >/tmp/test_capture.mpg
and successfully get a file created.  However
    mplayer -vo x11 /tmp/test_capture.mpg
fails with
    The selected video_out device is incompatible with this codec.
and
    FATAL: Could not initialize video filters (-vf) or video output (-vo).

I push on in desperation issuing
    /usr/lib/ivtv/ptune-ui.pl
but file ptune-ui.pl doesn't exist.

As a last gasp I push on to attempt to send something to TV Out:
    ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
      (fails with "IVTVFB_IOCTL_GET_STATE failed" as above)
    dd if=/dev/video0 of=/dev/video16 bs=64k
I get sound, but no video.

This appears to be consistent with video out incompatible with codec.
I suspect the problem is related to the IVTVFB_IOCTL_GET_STATE, but
unsure what to do about it.  Suggestions?

Aside, I'm unsure if I need to add "alias char-major-81-2 ivtv" to
/etc/modprobe.conf to go along with *81-0 and *81-1 since I have 3
receivers between the 2 cards.  But that is a problem to solve later :-)


Below is a console listing:

DVR:~ # lspci -v | grep video
00:11.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
02:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
02:09.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
DVR:~ # ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)
DVR:~ # ivtvfbctl /dev/fb1 -noglobalalpha -localalpha
Option --localalpha must be either on or off
DVR:~ # ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)
DVR:~ # dd if=/dev/video0 of=/dev/video16 bs=64k
2+350 records in
2+350 records out
9549760 bytes (9.5 MB) copied, 12.307 seconds, 776 kB/s

DVR:~ # ivtvfbctl /dev/fb1 --globalalpha=on --localalpha=off
IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)
DVR:~ # /usr/bin/v4l2-ctl -s ntsc
Standard set to 0000b000
DVR:~ # /usr/bin/v4l2-ctl -i 0
Video input set to 0 (Tuner 1)
DVR:~ # /usr/bin/v4l2-ctl -v width=720,height=480
ioctl: VIDIOC_S_FMT
DVR:~ # /usr/bin/v4l2-ctl -n
ioctl: VIDIOC_ENUMINPUT
          Input   : 0
          Name    : Tuner 1
          Type    : 0x00000001
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000001000 ( NTSC )
          Status  : 0

          Input   : 1
          Name    : S-Video 1
          Type    : 0x00000002
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
          Status  : 0

          Input   : 2
          Name    : Composite 1
          Type    : 0x00000002
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
          Status  : 0

          Input   : 3
          Name    : S-Video 2
          Type    : 0x00000002
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
          Status  : 0

          Input   : 4
          Name    : Composite 2
          Type    : 0x00000002
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
          Status  : 0

          Input   : 5
          Name    : Composite 3
          Type    : 0x00000002
          Audioset: 0x00000007
          Tuner   : 0x00000000
          Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
          Status  : 0
DVR:~ # cat /dev/video0 >/tmp/test_capture.mpg

DVR:~ # mplayer -vo x11 /tmp/test_capture.mpg
MPlayer 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /tmp/test_capture.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)
Xlib:  extension "XFree86-VidModeExtension" missing on display ":20.0".
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 720x480 => 720x540 Planar YV12
Shared memory not supported
Reverting to normal Xlib
SwScaler: using unscaled yuv420p -> bgr565 special converter
BGR not supported, please contact the developers
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)
DVR:~ # /usr/lib/ivtv/ptune-ui.pl &
[2] 3197
DVR:~ # bash: /usr/lib/ivtv/ptune-ui.pl: No such file or directory

[2]+  Exit 127                /usr/lib/ivtv/ptune-ui.pl
DVR:~ # ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
IVTVFB_IOCTL_GET_STATE failed (error: Invalid argument)
DVR:~ # dd if=/dev/video0 of=/dev/video16 bs=64k
2+233 records in
2+233 records out
6467520 bytes (6.5 MB) copied, 8.52358 seconds, 759 kB/s

DVR:~ #


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to