Ruud Huynen wrote:

My thoughts about this phenomena:

- Although the iTVC16 (PVR500) is a cheaper version offering only encoding, but
provides better quality over the iTVC15 (PVR350)

- The used tuners are different for PAL as for NTSC on a PVR500 and a
PVR350. I read previously that channels are not equally wide.
Are some of the frequencies maybe misinterpreted ?
Did somebody try to change the frequency a little bit (this will result in a new EPG source for the PVR350) ?

- My problem channels (West-European, Provider Cablecom Zürich) are:
  ORF1    S5     133.23
  RTL       K6    182.66
  DSF       K24  495.23
  Eurosport S17 274.48

I'm using ivtv-0.4.0 and a PVR-350 and Cablecom Zürich, don't have any banding problems on ORF1. (haven't tried the others yet.)

Attached are two scripts,
tune set the channel from the channel name (you may need to tweak tune to use the correct device.) a simple bit of jiggery pokery to set the frequency from bash to the nearest value.
ivtv-test set the frequency and sends the output to /dev/fb1 (ivtv-fb)

The picture is good on my Acer monitor. (much better that the crappy s-video output from my Asus PCIE card.

HTH
Duncan
/usr/bin/ivtvctl --device=/dev/video0 -u 0xff
/usr/bin/ivtvctl --device=/dev/video0 --set-freq=8948
/usr/bin/ivtvctl --device=/dev/video0 --set-freq=2132
/usr/bin/ivtvfbctl /dev/fb1 -noglobalalpha -localalpha
dd if=/dev/video0 of=/dev/video16 bs=64k
# (control-c to stop)
/usr/bin/ivtvfbctl /dev/fb1 -globalalpha -nolocalalpha
#!/bin/sh

PATH=$HOME/usr/bin:$PATH
export PATH

device=/dev/video0
device=/dev/video1

if [ $# -ne 1 ]
then
   echo "usage: tune <channel>"
   exit 1
fi

echo "tune to $1" >> /tmp/tune
#exit 0

channel=`echo $1 | tr 'A-Z' 'a-z'`
case $channel in
ard)
   freq=203850 
   break
   ;;
zdf)
   freq=217980 
   break
   ;;
sf1)
   freq=175600 
   break
   ;;
sf2)
   freq=210910 
   break
   ;;
sfi)
   freq=583230 
   break
   ;;
orf1)
   freq=133230 
   break
   ;;
orf2)
   freq=260350 
   break
   ;;
3sat)
   freq=351230 
   break
   ;;
arte)
   freq=471230 
   break
   ;;
rtl)
   freq=182660 
   break
   ;;
rtl2)
   freq=479230 
   break
   ;;
superrtl)
   freq=343230 
   break
   ;;
sat1)
   freq=288600 
   break
   ;;
pro7)
   freq=519230 
   break
   ;;
vox)
   freq=543230 
   break
   ;;
kabel1)
   freq=126160 
   break
   ;;
b3)
   freq=535230 
   break
   ;;
bw)
   freq=253290 
   break
   ;;
wdr)
   freq=383230 
   break
   ;;
mdr)
   freq=391230 
   break
   ;;
tcm)
   freq=335230 
   break
   ;;
ntv)
   freq=527230 
   break
   ;;
euronews)
   freq=319230 
   break
   ;;
eurosport)
   freq=274480 
   break
   ;;
dsf)
   freq=495230 
   break
   ;;
cnn)
   freq=246230 
   break
   ;;
nbc)
   freq=575230 
   break
   ;;
bbc)
   freq=559230 
   freq=559250 
   break
   ;;
tsr1)
   freq=189730 
   break
   ;;
tsr2)
   freq=599230 
   break
   ;;
tf1)
   freq=239160 
   break
   ;;
tv5)
   freq=551230 
   break
   ;;
france2)
   freq=359230 
   break
   ;;
france3)
   freq=62600  
   break
   ;;
canale5)
   freq=503230 
   break
   ;;
tsi1)
   freq=196790 
   break
   ;;
tsi2)
   freq=281540 
   break
   ;;
rai)
   freq=154410 
   break
   ;;
tve)
   freq=225040 
   break
   ;;
rtp)
   freq=303230 
   break
   ;;
tele)
   freq=140290 
   break
   ;;
startv)
   freq=147350 
   break
   ;;
viva)
   freq=327230 
   break
   ;;
mtv)
   freq=295660 
   break
   ;;
telezueri)
   freq=161480 
   break
   ;;
zueriplus)
   freq=399230 
   break
   ;;
homeshoppingeurope)
   freq=232100 
   break
   ;;
infokanal)
   freq=267410 
   break
   ;;
teleclub)
   freq=48480  
   break
   ;;
*)
   freq=203850 
   break
   ;;
esac

#ptune.pl --input $device -F $freq
#strace ptune.pl --input $device -F $freq
#ptune.pl --input $device --set-msp-matrix 0 -F $freq
val=$(( ((${freq}*2)+62) / 125 ))
echo "ivtvctl --device=${device} --set-freq=${val}"
ivtvctl --device=${device} --set-freq=${val}
echo "ivtvctl --device=${device} --get-freq"
ivtvctl --device=${device} --get-freq
exit 1
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to