hallo zusammen,
ich hab das problem wenn ich vdr von hand mit allen plugins starte geht analogtv wenn ich es über runvdr starte geht nix nur bild schwarz.
hier die runvdr:
DVBDIR="/usr/local/src/DVB/driver"
VDRPRG="/usr/local/src/vdr/vdr"
VDRCMD="$VDRPRG -L /usr/local/src/vdr/PLUGINS/lib -t /dev/tty8 -w 60 -P'vdrcd -m /video/plugins/mount.sh' -Pdvd -Ppcd -Pvcd -P'mp3 -m /video/plugins/mount.sh' -Pgames -Pprefermenu -P'mplayer -m /video/plugins/mount.sh -M /video/plugins/mplayer.sh' -Pweather -Pscanner -Panalogtv -s /usr/local/bin/vdrshutdown $*"
MPEGENC="mp1e"
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILL="/usr/bin/killall -q -TERM"
# Load driver if it hasn't been loaded already:
if [ $LSMOD -eq 0 ] ; then
(cd $DVBDIR; make insmod)
(modprobe bttv)
fi
while (true) do
su -c "$VDRCMD" $VDRUSR
if test $? -eq 0; then exit; fi
date
echo "restarting VDR"
$KILL $VDRPRG
sleep 10
(cd $DVBDIR; make rmmod; make insmod)
(modprobe -r bttv; modprobe bttv)
date
done
und der syslog:
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Detected ConfigDirectory()="/video/plugins"
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: CPU ^A^A^B^C, family 6, model 3, stepping 4
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: CPU measured at 233.868MHz
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Using MMX optimized memcpy()
Aug 26 22:06:09 DVB-Server vdr[9644]: LIRC remote control thread started (pid=9644)
Aug 26 22:06:09 DVB-Server vdr[9645]: KBD remote control thread started (pid=9645)
Aug 26 22:06:09 DVB-Server vdr[9637]: remote control LIRC - keys known
Aug 26 22:06:09 DVB-Server vdr[9637]: remote control KBD - keys known
Aug 26 22:06:09 DVB-Server vdr[9637]: switching to channel 25
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Switching to channel 0 on device 0
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Switching to channel 0 on device 4
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: WARNING: Please adapt your channels.conf - you are still using the pre analogTV-0.9.11 syntax!
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: WARNING: Parameters=B2C1D0, Srate=0, SID=<Service ID>
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Channel: MTV CENTRAL, SID=11
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: TV norm: PAL
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Video device: /dev/video1
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Video source: 0:
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Detected capture device BT878(Hauppauge (bt878))
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Switching to channel 25 on device 4
Aug 26 22:06:09 DVB-Server vdr[9646]: transfer thread started (pid=9646)
Aug 26 22:06:09 DVB-Server vdr[9647]: receiver thread started on device 5 (pid=9647)
Aug 26 22:06:09 DVB-Server vdr[9648]: analogTV: V4L version 1 detected
Aug 26 22:06:09 DVB-Server vdr[9637]: analogTV: Switching to channel 25 on device 0
Aug 26 22:06:09 DVB-Server vdr[9637]: reading EPG data from /video/epg.data
Aug 26 22:06:09 DVB-Server vdr[9648]: analogTV: setNorm() does not support V4L - Sorry
Aug 26 22:06:09 DVB-Server vdr[9648]: analogTV: setNorm(0:PAL(0xff))
Aug 26 22:06:10 DVB-Server vdr[9648]: analogTV: tune(4372) [frequency=273250, freqOffset=16, ofs=0]
Aug 26 22:06:10 DVB-Server vdr[9648]: analogTV: setPictureProperties(fd=20) failed, 22:Invalid argument
Aug 26 22:06:10 DVB-Server vdr[9648]: analogTV: mp1e -j -e 1 -M 0 -t 256 -g I -p /dev/dsp -c /dev/video1 -x /dev/mixer -d 0 -a 3 -b 2300000 -B 80 -v -r 14,80 -s 352x288 -F 1 -G 368x288 -o /tmp/.analogtv.avi
Aug 26 22:06:10 DVB-Server vdr[9649]: analogTV: Sucessfully set encoder priority to -10
edit:
das kommt auch noch als fehlermeldung:
mp1e: invalid option -- j
Real time MPEG-1 encoder 1.9.3
Copyright (C) 1999-2002 Michael H. Schimek
This is free software licensed without a fee under the terms of the
GNU General Public License Version 2. NO WARRANTIES.
Usage: mp1e [options]
Option Default
-m mode Encode 1 = video, 2 = audio, 3 = both video_and_audio
-X mux Multiplexer to use auto
-b bps Output video bits per second 2.300 Mbits/s
-c name Video capture device (V4L2/V4L API) /dev/video
-F mode Filter mode auto
-f frames Frames per second maximum
-g string Group of pictures sequence (display order) IBBPBBPBBPBB
-l Letterbox mode off
-w Grey mode off
-n frames Number of video (audio) frames to encode
h:m[:s] or until termination (Ctrl-C). To break
immediately hit Ctrl-\ years
-s wxh Image size (centred) 352 x 288 pixels
-G wxh Grab size, multiple of 16 x 16 352 x 288 pixels
-R min,max Motion compensation search range limits 0,0
-I name VBI device for Teletext subtitles /dev/vbi
-T page Teletext subtitle page(s), e.g. 1?0,200 none
-a mode Audio mode 0 = stereo, 2 = dual channel,
3 = mono mono
-p name PCM sampling device /dev/dsp
-B bps Output audio bits per second 80 kbits/s
-S rate Audio sampling rate 44.1 kHz
-r line,vol Audio record source 1..30 (3:synth, 4:pcm, 6:line, 7:mic, 8:cd, 14:line1),
volume 0..100 6,80
-x name Audio mixer device (OSS API) /dev/mixer
-d channel video source (2=S-Video)
-M mode RF audio 0 = unmute, 1 = mute, 2 = ignore unmute
-i filename Source configuration file
-v Increase verbosity level, try -v, -vv
-C type CPU type (p2, p3, k6-2, k7, ...) auto
-o name Output file name stdout
A configuration file can be piped in from standard input. See the
mp1e manual page for details.
in terminalfester
editend:
vielen dank lordchaois