Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TVCARD] Probleme Wintv PVR-350
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Mon Feb 14, 2005 10:09 pm    Post subject: [TVCARD] Probleme Wintv PVR-350 Reply with quote

j'ai recamment acheté une carte WinTV-PVR-350
pour l'instant la telecommande infrarouge marche
mais j'ai des problemes avec le tuner
il me semble pourtant avoir bien installé tous les drivers

le fichier /dev/video0 et je peux lire dedans est present mais quand je lance tvtime il me lance

videoinput: Card failed to allocate capture buffers: Invalid argument
et me dis que qu'il n'arive pas a ouvrir
en ragardant avec strace je vois

Code:

open("/dev/video0", O_RDWR)             = 4
ioctl(4, 0x80685600, 0xbfffe5a0)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = 0
ioctl(4, 0xc04c561a, 0xbfffe400)        = -1 EINVAL (Invalid argument)
ioctl(4, 0x800476c6, 0xbfffe2dc)        = -1 EINVAL (Invalid argument)
ioctl(4, 0xc0045627, 0xbfffe1fc)        = 0
ioctl(4, 0x80045626, 0xbfffe230)        = 0
ioctl(4, 0xc04c561a, 0xbfffe230)        = 0
ioctl(4, 0x80085617, 0xbfffe1f0)        = 0
ioctl(4, 0x40085618, 0xbfffe1f0)        = 0
ioctl(4, 0xc054561d, 0xbfffe160)        = 0
ioctl(4, 0xc0cc5605, 0xbfffe300)        = 0
ioctl(4, 0xc0145608, 0xbfffe2e0)        = -1 EINVAL (Invalid argument)
write(2, "videoinput: Card failed to alloc"..., 70videoinput: Card failed to allocate capture buffers: Invalid argument
) = 70


Code:

ptune.pl 25


me sort

Code:

Error:  Frequency Table = 'ARRAY(0x821ed18)' is invalid!


voici mon fichier .ivtvrc :

Code:

[defaults]
GOPClosure=1
CaptureLastGOP=1
OutputSettings=1
DNRSpatial=0
VideoStandard=SECAM
AudioBitmask=233
BFrames=3
InputName=Tuner 0
FramesPerGOP=15
Bitrate=6500000
OutputSettingsType=shell
DNRTemporal=0
Frequency=
FrequencyTable=secam-france
VideoDevice=/dev/v4l/video0
OutputSettingsName=video.settings
DateTimeFormatString=+%Y%m%d-%H%M
DNRMode=0
PeakBitrate=8000000
Pulldown=0
OutputDirectory=.
Framerate=0
InputNum=4
StreamType=14
Aspect=2
TunerNum=0
OutputFileName=video.mpg
DirectoryFormatString=%I-%c-%d
Debug=0
BitrateMode=0
FrequencyTable=ntsc-cable
ResetCardSettings=1
DNRType=0
RecordDuration=3595
Channel=4
VideoWidth=720
VideoType=mpeg
VideoHeight=480
_configVersion_=3


merci d'avance


Last edited by wk.im on Mon Feb 14, 2005 10:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon Feb 14, 2005 10:15 pm    Post subject: Reply with quote

Salut, bienvenue sur le forum gentoo !

Pourrais-tu lire ca stp : [IMPORTANT] Comment se servir du forum !!


Merci :D

as tu essaye avec un autre logiciel, genre xawtv, .. ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Mon Feb 14, 2005 10:21 pm    Post subject: Reply with quote

xawtv ne me permet pas de configurer pour la norme secam
l'ecran reste bleu et je ne sais plus quoi faire
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon Feb 14, 2005 10:39 pm    Post subject: Reply with quote

ya zapping aussi !

mais ca me parrait bizarre, chez moi tvtime fonctionne bien (enfin j'utilise pas le tuner, mais l'entree coax reliee au decodeur) ...

dans le kernel t'as juste le driver bttv ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Mon Feb 14, 2005 11:26 pm    Post subject: Reply with quote

lsmod:
Quote:

Module Size Used by
eeprom 6040 0
ivtv_fb 27828 0
tda9887 12184 0
lirc_i2c 6660 1
lirc_dev 11020 1 lirc_i2c
bttv 142928 0
video_buf 16900 1 bttv
v4l2_common 4864 1 bttv
btcx_risc 3976 1 bttv
saa7115 11416 0
saa7127 11292 0
snd_pcm_oss 48036 1
ipt_ULOG 6436 1
ipt_pkttype 1536 1
ipt_limit 2048 2
ipt_state 1664 2
iptable_filter 3200 1
iptable_mangle 2432 0
iptable_nat 21832 0
ip_conntrack 39060 2 ipt_state,iptable_nat
ip_tables 15744 7 ipt_ULOG,ipt_pkttype,ipt_limit,ipt_state,iptable_filter,iptable_mangle,iptable_nat
it87 21284 0
i2c_sensor 3072 2 eeprom,it87
i2c_isa 1920 0
analog 10144 0
parport_pc 29508 0
parport 31432 1 parport_pc
pcspkr 3304 0
nvidia 3462620 12
snd_via82xx 22688 2
snd_ac97_codec 71392 1 snd_via82xx
snd_pcm 81928 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 20228 1 snd_pcm
snd_page_alloc 7684 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6016 1 snd_via82xx
snd_rawmidi 19488 1 snd_mpu401_uart
snd_seq_device 7052 1 snd_rawmidi
i2c_viapro 6412 0
uhci_hcd 29456 0
via_agp 7680 1
agpgart 27688 2 via_agp
snd_mixer_oss 17536 2 snd_pcm_oss
snd 46180 9 snd_pcm_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_mixer_oss
vfat 11520 3
fat 35872 1 vfat
subfs 6272 0
tveeprom 11060 0
ivtv 801988 3 ivtv_fb
videodev 7424 2 bttv,ivtv
tuner 20004 0
8139too 19968 0
mii 4224 1 8139too
msp3400 26168 0
sbp2 20744 0
ohci1394 30084 0
ieee1394 91572 2 sbp2,ohci1394
ohci_hcd 18696 0
usb_storage 27904 0
usbhid 29632 0
ehci_hcd 28676 0
usbcore 101752 6 uhci_hcd,ohci_hcd,usb_storage,usbhid,ehci_hcd
Back to top
View user's profile Send private message
ppierre
n00b
n00b


Joined: 17 Aug 2004
Posts: 35

PostPosted: Tue Feb 15, 2005 6:33 pm    Post subject: Reply with quote

Bonjour,

TvTime c'est pour les bttv, les ivtv donnent du MPEG2
Quote:
The ivtv driver supports cards that provide high quality MPEG2 encoded video. This cards are ideal for PVR systems. However, tvtime has no MPEG2 decoding capabilities or audio playback code, and therefore cannot be used to watch live TV from these cards

Pour voir l'image, il suffit de Mplayer :
Code:
$ mplayer /dev/video0

tu peux changer de chaîne avec :
Code:
# emerge -va ivtv-ptune
$ ptune-ui.pl

le mieux pour ces cartes c'est MythTV (wiki).
Cela m'avait pris beaucoup de temps pour l'installer (beaucoup de pb avec les drivers ivtv). Mais bon c'est sympa quand cela fonctionne.
Reste que la j'ai laissé tomber, cela fait 3 mois que je ne l'ai pas lancé.

@+
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Wed Feb 16, 2005 12:55 pm    Post subject: Reply with quote

Code:
ptune.pl 25
me sort :
Code:
Ch.25: 503250 8052
Error:  setFrequency(8052) failed!


et l'image reste noir
Back to top
View user's profile Send private message
ppierre
n00b
n00b


Joined: 17 Aug 2004
Posts: 35

PostPosted: Wed Feb 16, 2005 1:40 pm    Post subject: Reply with quote

Tu as bien suprimé le modules msp3400 qui vient du noyau ?
Code:
# rm /lib/modules/2.6.10-gentoo-r6/kernel/drivers/media/video/msp3400.ko
# modules-update


Sinon moi j'ai deux trois paramètres en plus pour le chargement de modules.
Logiquement l'essentiel de ce code n'est plus indispensable (versions récentes de ivtv), mais bon il fonctionne chez moi. Alors si cela peut aider...
/etc/modules.d/ivtv
Code:
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 bttv
alias /dev/v4l ivtv
options bttv card=80 tuner=45 radio=1 bttv_debug=1 bttv_verbose=2
options ivtv ivtv_debug=1 tda9887=0 tuner=45 ivtv_std=3 ivtv_pal=1 pal=1
options tuner type=45 pal=L debug=1
options saa7127 enable_output=1 output_select=1 pal=1
options saa7115 debug=1
options msp3400 once=1 simple=1 standard=0x09 debug=1 amsound=1
add below ivtv v4l1-compat bttv msp3
post-install ivtv /bin/ivtvctl_init


/bin/ivtvctl_init
Code:
#!/bin/bash
sleep 1;
/bin/ivtvctl -d /dev/video0 -u 0x7F0000;
/bin/ivtvctl -d /dev/video0 -f width=720,height=576;
/bin/ivtvctl -d /dev/video0 -p 4;
/bin/ivtvctl -d /dev/video0 -v input=3,output=1;
/bin/ivtvctl -d /dev/video0 -r 11252
/bin/ivtvctl -d /dev/video0 -c dnr_mode=0,dnr_spatial=1,dnr_temporal=7

Code:
# chmod +x /bin/ivtvctl_init


Pour être sur, tu lis bien avec mplayer.
Si oui, une image noire cela peut être la carte qui n'est pas réglé sur le bon standard ou la bonne entré (sinon on devrait voire des parasite).

Jette un oeil à : /usr/share/doc/ivtv-0.2.0_rc3

Sinon je peux toujours te retrouver les URL qui m'avaient dépannées.
En tous cas ne te décourage pas, c'est pas la carte TV la plus simple à installer à mon avis.
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Wed Feb 16, 2005 2:57 pm    Post subject: Reply with quote

je te remercie maintenant j'ai des parasites noir avec mplayer ne suivant ton code
je ne pense pas que le probleme vienne de l'antenne qui marche tres bien sur la tv juste a coté
Back to top
View user's profile Send private message
ppierre
n00b
n00b


Joined: 17 Aug 2004
Posts: 35

PostPosted: Wed Feb 16, 2005 4:07 pm    Post subject: Reply with quote

Bien il ne te reste plus qu'a changer la fréquence.
ptune-ui.pl ne fonctionne pas ?
Sinon le script associer au module le fait en appelant /usr/bin/ivtvctl (et non /bin/ivtvctl :oops: )
Pour en savoir plus :
Code:
$ ivtvctl --help

Code:
  -r, --set-freq=<freq>
        set the current frequency to <freq> [VIDIOC_S_FREQUENCY]


Chez moi ivtvctl -r 11252 me donne TF1 à chaque démarrage.
Le chiffre est la fréquence en Mhz * 16 (703,250 Mhz * 16 = 11252)

ptune-ui.pl ne fait rien d'autre, il a simplement une table de correspondance entre les canaux et les fréquences en fonction de chaque normes/pays. Le plus simple est que tu trouve les fréquences de chez toi.
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Wed Feb 16, 2005 4:47 pm    Post subject: Reply with quote

c'est ce que j'ai fait mais il y a toujours des parasites
Back to top
View user's profile Send private message
ppierre
n00b
n00b


Joined: 17 Aug 2004
Posts: 35

PostPosted: Wed Feb 16, 2005 5:15 pm    Post subject: Reply with quote

Bien la, je sais pas. Si tu as de la neige c'est que c'est bon. Reste à changer la fréquence mais bon il me semble qu'il y a plusieurs variante de tuner.

Jette un oeil à la mailing liste de ivtv

Sinon un forum en français

voilà désoler de ne t'être d'une plus grande aide.
Back to top
View user's profile Send private message
wk.im
n00b
n00b


Joined: 14 Feb 2005
Posts: 7

PostPosted: Wed Feb 16, 2005 5:31 pm    Post subject: Reply with quote

je te remercie quand même je vais essayer de voir ca
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum