[Linux] Récepteur TV pour portable [un peu long]
François DREYFÜRST
francois.dreyfuerst@::1
Ven 18 Jan 11:45:02 CET 2008
Le jeudi 17 janvier 2008 à 20:51 +0100, Jonathan ROTH a écrit :
> François DREYFÜRST a écrit :
[...]
> Euh non, disons qu'il joue le rôle de DNS pour un serveur distant:
> Il associe un nom à un chiffre (nom de chaine à fréquence), mais ne joue
> aucun rôle dans le décryptage. Quand tu clique 'France 3', il va juste
> placer la fréquence du tuner et prendre le flux de /dev/videoN.
>
OK
> > OK, c'est clair ; en revanche, je vais aussi vérifier si un fichier
> > spécial /dev/dvb* existe bien et si quelque chose passe par là, bien
> > que je pense que oui : Kaffeine ne me renvoie aucun message d'erreur.
>
> Pour /dev/dvbN je suis réellement pas sûr, mais si Kaffeine t'affiche le
> bouton 'Télévision Numérique' c'est que de ce coté y'a pas de prob
>
C'est aussi ce que je me disais.
> > Merci de ta patience :-)
>
> No souci, je préfère de loin solutionner des problèmes que d'installer
> un truc qui fonctionne du premier coup sans intervention.
>
Voici l'avancement actuel des choses :
je suis repassé en driver "ati", et apparemment il y a bien du support
pour l'overlay :
~$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Radeon Video Overlay"
number of ports: 1
port base: 65
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 22
"XV_DEVICE_ID" (range 0 to -1)
client gettable attribute (current value is 108)
"XV_LOCATION_ID" (range 0 to -1)
client gettable attribute (current value is 109)
"XV_INSTANCE_ID" (range 0 to -1)
client gettable attribute (current value is 110)
"XV_DUMP_STATUS" (range 0 to 1)
client settable attribute
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 30)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_OVERLAY_ALPHA" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 255)
"XV_GRAPHICS_ALPHA" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 255)
"XV_ALPHA_MODE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SWITCHCRT" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_GAMMA" (range 100 to 10000)
client settable attribute
client gettable attribute (current value is 1000)
"XV_COLORSPACE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 8
id: 0x41424752 (RGBA)
guid: 52474241-0000-0010-8000-00aa00389b71
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 32
red, green, blue masks: 0xff0000, 0xff00, 0xff
id: 0x0
guid: 52474200-0000-0010-8000-00aa00389b71
bits per pixel: 24
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff
id: 0x54424752 (RGBT)
guid: 52474254-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
id: 0x32424752 (RGB2)
guid: 52474200-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0xf800, 0x7e0, 0x1f
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
TVtime accepte de démarrer, mais ne semble rien trouver (j'ai interrompu
le scan du premier essai avant la fin).
Xawtv se comporte comme d'habitude, et en particulier semble refuser de
basculer en overlay ... mais ça peut dépendre du canal, non ?
Là, j'ai xdtv qui scanne, il semble accepter l'overlay, mais voici le
message que j'ai au démarrage :
$ xdtv
This is xdtv 2.4.0 running on Linux/x86_64 (2.6.18-5-amd64).
scandir: Aucun fichier ou répertoire de ce type
filename = /home/francois/.xdtv/xdtvrc
/dev/video0 [v4l2]: no overlay support
xdtv_v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
wmhooks: netwm detected
wmhooks: netwm state above supported
wmhooks: netwm fullscreen supported
wmhooks: nothing found...
DGA: server=2.0, include=2.0
VidMode: server=2.2, include=2.2
available video mode(s): 1280x800 640x350 640x400 720x400 640x480
800x600 1024x768 832x624 1280x768 1152x768
Selected XvImage adaptor with yuyv support: ATI Radeon Video Overlay on
port 65 (grabdisplay)
No XvVideo port available.
Warning: Cannot convert string "none" to type relief
ioctl VIDIOC_G_FBUF: Argument invalide
classical overlay is disabled*** GRABBER DEVICE TYPE = v4l2
VIDIOC_S_CTRL, V4L2_CID_AUDIO_VOLUME: Le résultat numérique est en
dehors de l'intervalle.
Warning: Missing charsets in String to FontSet conversion
MMX, SSE, AMD MMX extensions, SSE2, 3DNOW, have been detected.
Method sse
*** AUDIO DEVICE TYPE = alsa
*** MIXER DEVICE TYPE = alsa
ioctl VIDIOC_STREAMON: Argument invalide
ioctl VIDIOC_S_FMT: Argument invalide
[répété un paquet de fois]
ioctl VIDIOC_S_FMT: Argument invalide
ioctl VIDIOC_REQBUFS: Argument invalide
cannot parse url : 'http://linuxtv.org/hg/dvb-apps'
Cannot get any file from the linuxtv.org website
For more informations about the DVB support
read the README.dvb file that can be find into the XdTV tarball
VIDIOC_S_CTRL, V4L2_CID_AUDIO_VOLUME: Le résultat numérique est en
dehors de l'intervalle.
VIDIOC_S_CTRL, V4L2_CID_AUDIO_VOLUME: Le résultat numérique est en
dehors de l'intervalle.
À vue de nez, je pense qu'on progresse, mais qu'il reste du boulot ;
qu'en penses-tu ?
FD
Plus d'informations sur la liste de diffusion linux