You are not logged in.

#1 2004-06-30 17:59:50

robot5x
Member
Registered: 2004-01-26
Posts: 266

mplayer and v4l

Dear all,

I'm currently trying to get my tv card working with mplayer as I want to use mencoder to start ripping some films. I already posted this on mplayer-users mail list but got no response. I have a working tv card after loading bttv and tuner modules - xawtv works fine.
This is what the docs say about the v4l driver:

Mplayer docs wrote:

First, you have to recompile. ./configure will autodetect kernel headers of v4l stuff and the existence of /dev/video* entries. If they exist, TV support will be built (see the output of ./configure).

OK - so I recompiled with ABS but after firing up mplayer I got the following:

[root@sigma7 robot5x]# mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://

Playing tv://.
Cache fill:  0.00% (0 bytes)    TV detected! ;-)
No such driver: v4l

So it seemed like v4l not compiled in after all. Next time I changed pkgbuild to include --enable-tv-v4l but got same result.

Is anyone using tv cards with mplayer here? How can I get this darn v4l driver to load?
Thanks for any help

Offline

#2 2004-07-01 09:23:21

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: mplayer and v4l

I found a thread on gentoo forum (ta greeno) dealing with this.
Apparently mencoder only recognises /dev/video0 no matter what  you tell it - bit of a problem for us devfs'ers obviously....I'll try making a symlink when I get home and see how it goes.
Exciting, huh!

Offline

#3 2004-07-01 13:38:30

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: mplayer and v4l

OK recompiled with tv card actually in use and it works!
mplayer/mencoder requires a symbolic link from your tv card to /dev/video

Offline

#4 2004-07-04 03:54:15

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: mplayer and v4l

hiho.

allthough you answered yourself already.
generally u wouldn't need a symlink, as the man-page indicates:

device=<value>
               Specify other device than the default /dev/video0.

but the easiest way is to make a symlink in devfsd.conf

mak.

btw. i use v4l2 instead of v4l


$ wget -c -r -l inf -i what_the_hel.l

Offline

Board footer

Powered by FluxBB