[MPlayer-users] ivtv and mplayer

Russell Treleaven russ at else.net
Tue Jan 8 00:58:25 CET 2008


Hi All,

With lots of trial and error I have concluded the following
mplayer on screen display does not work with "-vo v4l2"

also lirc remote does not work with "-vo v4l2"

changing to "-vo fbdev2" makes both lirc and on screen display work
however performance is very poor.

if I configure mplayer with the following "--codecsdir=/usr/lib/win32
--enable-largefiles --enable-linux-devfs --enable-menu --disable-inet6
--enable-faad-external --enable-v4l2"
and then "make" I get this error.
------------------------------------------------------------------------
--------
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -W
declaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch
-Wpointer-
arith -Wredundant-decls -O4 -march=pentium3 -mtune=pentium3 -pipe
-ffast-math -f
omit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LA
RGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/freetype2   -c -o
vo_ivtv.o vo_i
vtv.c
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in
this fun
ction)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in
this functi
on)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in
this funct
ion)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/tarBalls/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2
------------------------------------------------------------------------
-------
I am using
ivtv-1.0.3.tar.gz
mplayer is straight from subversion trunk on december 31
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.23-r3  USE="-build
-symlink" 0 kB
[ebuild   R   ] sys-kernel/linux-headers-2.6.23-r3  0 kB

Mplayer comilation and installation succeeds if I add --disable-ivtv to
the configure string.

This also means that I can't use cvidix for video out.

I guess I can create my own on screen display by echoing text to the
frame buffer.
Also I guess can control mplayer using slave mode and redirecting the
lirc commands to mplayer's stdin.

Can anybody shed some insight into the crash?
How can I fix it?

Does anyone know if OSD support and lirc support for v4l2 are on
anyone's roadmap?
I am a lousy c programmer but I would be glad to test patches etc...

Please advise,

Russell Treleaven




More information about the MPlayer-users mailing list