Jump to content

Howto: Mandriva 2005 LE + ivtv


devries
 Share

Recommended Posts

I try to run the config program:

[root@localhost antonis]# /usr/sbin/drakconf

[root@localhost antonis]# This is xawtv-3.94, running on Linux/i686 (2.6.11-12mdk)

/dev/video0 [v4l2]: no overlay support

v4l-conf had some trouble, trying to continue anyway

ioctl: VIDIOC_QUERYMENU(id=134217728;index=1;name="44.1 kHz";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217729;index=1;name="Layer 1";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217730;index=1;name="[L1/L2] Free fmt";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217731;index=1;name="Stereo";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217732;index=1;name="Subbands 4-31/bound=4";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217733;index=1;name="None";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217734;index=1;name="CRC off";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217735;index=1;name="Copyright off";reserved=0): Invalid argument

ioctl: VIDIOC_QUERYMENU(id=134217736;index=1;name="Copy";reserved=0): Invalid argument

 

--

 

That's the info control center displays:

 

Identification

Vendor: ‎Internext Compression Inc

 

Description: ‎iTVC16 (CX23416) MPEG-2 Encoder

 

Media class: ‎MULTIMEDIA_VIDEO

 

Connection

Bus: ‎PCI

 

Bus PCI #: ‎2

 

PCI device #: ‎9

 

PCI function #: ‎0

 

Vendor ID: ‎17476

 

Device ID: ‎22

 

Sub vendor ID: ‎112

 

Sub device ID: ‎16393

 

Misc

Module: ‎ivtv

 

--

 

kdetv, xawTV keep crashing everhtime I try to run them...

Edited by antonis_wrx
Link to comment
Share on other sites

Invalid argument: these argument are what you fill in the config section (for example tuner - 29 in my case but there are many other options). Check again the modprobe file for a option ivtv line and remove everything (the default settings usually work the best).After that type as root in a console: modprobe -r ivtv (to unload the ivtv driver) and modprobe ivtv (to load the driver again). If you don´t get errors type mplayer /dev/video0 to test

Link to comment
Share on other sites

I did these. There was an option ivtv line, I removed everything apart from ivtv and the .conf file looks like this now:

 

# This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command

 

alias eth0 sk98lin

alias sound-slot-0 snd-intel8x0

install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe sata_promise; /bin/true

remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0

install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true

alias eth1 eth1394

alias ieee1394-controller ohci1394

install snd-via82xx-modem /bin/true

install snd-intel8x0m /bin/true

install snd-atiixp-modem /bin/true

alias /dev/ttySHSF[0-9]* /dev/ttySHSF

alias /dev/modem /dev/ttySHSF

alias char-major-241 /dev/ttySHSF

alias char-major-241-* /dev/ttySHSF

options hsfserial serialmajor=241

alias char-major-245 hsfosspec

alias char-major-245-* hsfosspec

alias /dev/hsfdiag hsfosspec

alias /dev/hsfdiag* /dev/hsfdiag

alias char-major-246 /dev/hsfdiag

alias char-major-246-* /dev/hsfdiag

options hsfosspec dcpmajor=245 diagmajor=246

install /dev/ttySHSF /sbin/modprobe hsfpcibasic2; /sbin/modprobe hsfmc97ich; /sbin/modprobe hsfmc97via; /sbin/modprobe hsfmc97ali; /sbin/modprobe hsfmc97ati; /sbin/modprobe hsfmc97sis; [ -e /lib/modules/`uname -r`/extra/hsfusbcd2.ko ] && /sbin/modprobe hsfusbcd2; /bin/true

options ivtv

 

 

I got the following error messages:

 

[root@localhost antonis]# vi /etc/modprobe.conf

[root@localhost antonis]# modprobe -r ivtv

WARNING: /etc/modprobe.conf line 27: ignoring bad line starting with 'options'

[root@localhost antonis]# modprobe ivtv

WARNING: /etc/modprobe.conf line 27: ignoring bad line starting with 'options'

 

In addition, I don't have mplayer install, can I try this with any other program? 18mb is too much on a 56k pstn connection...

Link to comment
Share on other sites

I have /dev/video0: radio0, video0, video24, video32, vbi0... I will try to install mplayer from CD... mythtv seems too complicated..

EDIT: I install mplayer.

 

[root@localhost main2]# mplayer /dev/video0

MPlayer 1.0pre6-3.4.3 © 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)

Detected cache-line size is 64 bytes

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Compiled with runtime CPU detection - WARNING - this is not optimal!

To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

 

Creating config file: /root/.mplayer/config

 

77 audio & 188 video codecs

Opening joystick device /dev/input/js0

Can't open joystick device /dev/input/js0 : No such file or directory

Can't init input joystick

Setting up LIRC support...

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 /dev/video0.

Cache fill: 18,07% (1515520 bytes) MPEG-PS file format detected.

VIDEO: MPEG2 720x576 (aspect 2) 25,000 fps 9600,0 kbps (1200,0 kbyte/s)

==========================================================================

Trying to force audio codec driver family libmad...

Opening audio decoder: [libmad] libmad mpeg audio decoder

AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384,0 kbit)

Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)

==========================================================================

vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)

==========================================================================

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough

VDec: vo config request - 720 x 576 (preferred csp: 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.

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))

==========================================================================

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...

AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int

AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)

[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy

alsa-init: got device=0, subdevice=0

alsa-init: 1 soundcard found, using: default

 

[then it stoped responding]

Edited by antonis_wrx
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...