Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I try running kmplayer as root, but still the same results
Secondly I downloaded xdtv-2.4.0.tar.gz , unpack it and ./configure, make, and make install.
does not work, something wrong with v4l-conf ?
The only command that does work for me is cat /dev/video0 > test.mpg or avi Hum...let see if there are other codecs I can use?
KMPlayer
Code:
callback is kmplayer-23508 KMPlayerCallback-0
media.video4linux.video_device=/dev/video0
trying video driver xv ..
trying audio driver alsa ..
play mrl: 'v4l:/Tuner%201/61250'
Unable to open mrl 'v4l:/Tuner%201/61250'
play mrl: 'v4l:/Tuner%201/61250'
stop
event_finished
event_listener 7
request quit
closing display
done
xdTV
Code:
This is xdtv 2.4.0 running on Linux/i686 (2.6.27-11-generic).
scandir: No such file or directory
filename = /home/james/.xdtv/xdtvrc
WARNING: xdtv_v4l-conf is compiled without DGA support.
/dev/video0 [v4l2]: no overlay support
xdtv_v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "star" to type Pixmap
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: nothing found...
Warning: Cannot convert string "black" to type Pixmap
ioctl VIDIOC_G_FBUF: Invalid argument
classical overlay is disabled*** GRABBER DEVICE TYPE = v4l2
No available format on the card !!!
Last edited by jazpaisley; 01-29-2009 at 01:46 AM.
Reason: update
If dumping video that way works, then it should be installed properly. For audio, does it have an audio input on the card or do you have to use the mic port on your sound card ?
Yes video and audio work fine, when I use cat /dev/video0
Code:
james@linux-007:~$ v4l2-ctl --all
Driver Info:
Driver name : ivtv
Card type : ASUS Falcon2
Bus info : 0000:02:02.0
Driver version: 66560
Capabilities : 0x01070051
Video Capture
VBI Capture
Sliced VBI Capture
Tuner
Audio
Radio
Read/Write
Format Video Capture:
Width/Height : 768/576
Pixel Format : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image : 131072
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Format Sliced VBI Capture:
Service Set :
Service Line 0: /
Service Line 1: /
Service Line 2: /
Service Line 3: /
Service Line 4: /
Service Line 5: /
Service Line 6: /
Service Line 7: /
Service Line 8: /
Service Line 9: /
Service Line 10: /
Service Line 11: /
Service Line 12: /
Service Line 13: /
Service Line 14: /
Service Line 15: /
Service Line 16: /
Service Line 17: /
Service Line 18: /
Service Line 19: /
Service Line 20: /
Service Line 21: /
Service Line 22: /
Service Line 23: /
I/O Size : 0
Format VBI Capture:
Sampling Rate : 27000000 Hz
Offset : 248 samples (9.18519e-06 secs after leading edge)
Samples per Line: 1440
Sample Format : GREY
Start 1st Field : 10
Count 1st Field : 12
Start 2nd Field : 273
Count 2nd Field : 12
Crop Capability Video Output:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Video input : 0 (Tuner 1)
Audio input : 0 (Tuner 1)
Frequency: 980 (61.250000 MHz)
Video Standard = 0x00001000
NTSC-M
Tuner:
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2
Frequency range : 44.0 MHz - 958.0 MHz
Signal strength : 99%
Current audio mode : stereo
Available subchannels: mono
james@linux-007:~$ sudo udevinfo --path=/class/video4linux/video0 --attribute-walk
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:02.0/video4linux/video0':
KERNEL=="video0"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{name}=="ivtv0 encoder MPG"
ATTR{index}=="0"
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:02.0/video4linux':
KERNELS=="video4linux"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:02.0':
KERNELS=="0000:02:02.0"
SUBSYSTEMS=="pci"
DRIVERS=="ivtv"
ATTRS{vendor}=="0x4444"
ATTRS{device}=="0x0016"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x4b66"
ATTRS{class}=="0x040000"
ATTRS{irq}=="22"
ATTRS{local_cpus}=="ffffffff,ffffffff"
ATTRS{local_cpulist}=="0-63"
ATTRS{modalias}=="pci:v00004444d00000016sv00001043sd00004B66bc04sc00i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x244e"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060400"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffffffff,ffffffff"
ATTRS{local_cpulist}=="0-63"
ATTRS{modalias}=="pci:v00008086d0000244Esv00000000sd00000000bc06sc04i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
james@linux-007:~$ udevinfo --version
124
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.