Vous n'êtes pas identifié(e).
Bonjour à la tuxfamily, je suis l'heureux possesseur d'une carte DVB-S skystar2, et celle-çi fonctione parfaitement sous VDR, support CAM compris. Pour cette raison et pour rendre l'envirronement plus convivial, je souhaiterais maintenant faire fonctionner VDR et MythTV ensemble, VDR comme Backend et MythTV comme Frontend, par ex.
Cela me permettrait de disposer d'un envirronement HTPC MythTV tout en conservant les fonctionnalités, notament support CAM de VDR.
Je sollicite votre aide, car je n'arrive pas à configurer MythTV correctement, j'en suis la avec mythtv-setup :
dragoon jay # mythtv-setup
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
2008-01-23 15:05:06.705 Using runtime prefix = /usr
2008-01-23 15:05:06.718 DPMS is active.
2008-01-23 15:05:06.762 New DB connection, total: 1
2008-01-23 15:05:06.781 Connected to database 'mythconverg' at host: localhost
2008-01-23 15:05:06.783 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-23 15:05:06.790 Using screen 0, 1024x768 at 0,0
2008-01-23 15:05:06.820 Current Schema Version: 1160
2008-01-23 15:05:06.862 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-23 15:05:06.877 Using screen 0, 1024x768 at 0,0
2008-01-23 15:05:06.880 Switching to square mode (G.A.N.T.)
2008-01-23 15:05:06.918 Using the Qt painter
mythtv: unknown token "name" in /root/.mythtv/lircrc:14 ignored
mythtv: unknown token "bits" in /root/.mythtv/lircrc:15 ignored
mythtv: unknown token "flags" in /root/.mythtv/lircrc:16 ignored
mythtv: unknown token "eps" in /root/.mythtv/lircrc:17 ignored
mythtv: unknown token "aeps" in /root/.mythtv/lircrc:18 ignored
mythtv: unexpected token in line /root/.mythtv/lircrc:20
mythtv: unexpected token in line /root/.mythtv/lircrc:21
mythtv: unknown token "plead" in /root/.mythtv/lircrc:22 ignored
mythtv: unknown token "gap" in /root/.mythtv/lircrc:23 ignored
mythtv: unknown token "toggle_bit" in /root/.mythtv/lircrc:24 ignored
mythtv: bad file format, /root/.mythtv/lircrc:27
Failed to read lirc config /root/.mythtv/lircrc for mythtv
2008-01-23 15:05:07.907 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml
2008-01-23 15:05:07.931 Loading from: /usr/share/mythtv/themes/default/base.xml
Je tourne sous Gentoo, et l'objectif et de créer un envirronement HTPC pour le DVB-x afin d'en rédiger une documentation complète pour cette distrib... J'ai beaucoup travailler sur VDR, et vous pouvez trouver une esquisse içi :
Je suis donc à la recherche de bonnes âmes qui souhaiterais participer au projet, je pense que l'esprit communautaire du forum devrait nous permettre de démocratiser le dvb-s sous Linux...
Merçi à tous pour votre aide !
Diablo1
Salut Morphinux,
En fait mon envirronement VDR tourne nickel, LIRC + DVB-S +Disecq + Prise en charge des cartes off.
Avec MythTv compilé avec les options lirc, dvb, dts ... Un mythtv-setup lance l'envirronement; mais ma carte skystar2 n'apparait nul part, il semblerait qu'il ne connaissance que le support v4L...
Je ne vois pas cette option dans mythtv-setup, est-ce bien la que je dois la configurer ? J'ai bien sur arreter VDR !
Voiçi les logs : Prob avec LIRC et prob pour la prise en charge de la carte DVB-S, cf dernière ligne :
dragoon jay # mythtv-setup
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
2008-01-23 15:48:31.534 Using runtime prefix = /usr
2008-01-23 15:48:31.543 DPMS is active.
2008-01-23 15:48:31.587 New DB connection, total: 1
2008-01-23 15:48:31.605 Connected to database 'mythconverg' at host: localhost
2008-01-23 15:48:31.607 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-23 15:48:31.614 Using screen 0, 1024x768 at 0,0
2008-01-23 15:48:31.644 Current Schema Version: 1160
2008-01-23 15:48:31.686 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-23 15:48:31.701 Using screen 0, 1024x768 at 0,0
2008-01-23 15:48:31.704 Switching to square mode (G.A.N.T.)
2008-01-23 15:48:31.742 Using the Qt painter
mythtv: unknown token "name" in /root/.mythtv/lircrc:14 ignored
mythtv: unknown token "bits" in /root/.mythtv/lircrc:15 ignored
mythtv: unknown token "flags" in /root/.mythtv/lircrc:16 ignored
mythtv: unknown token "eps" in /root/.mythtv/lircrc:17 ignored
mythtv: unknown token "aeps" in /root/.mythtv/lircrc:18 ignored
mythtv: unexpected token in line /root/.mythtv/lircrc:20
mythtv: unexpected token in line /root/.mythtv/lircrc:21
mythtv: unknown token "plead" in /root/.mythtv/lircrc:22 ignored
mythtv: unknown token "gap" in /root/.mythtv/lircrc:23 ignored
mythtv: unknown token "toggle_bit" in /root/.mythtv/lircrc:24 ignored
mythtv: bad file format, /root/.mythtv/lircrc:27
Failed to read lirc config /root/.mythtv/lircrc for mythtv
2008-01-23 15:48:32.727 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml
2008-01-23 15:48:32.751 Loading from: /usr/share/mythtv/themes/default/base.xml
2008-01-23 15:48:38.870 DiSEqCDevTree, Warning: No device tree for cardid 0
Merçi Morphinux, je viens de suivre ton conseil, et ai sélectionné l'option conseillée. Je viens donc de faire une avancée, j'ai le chois entre le support dvb-3x, freeboxtv(mon FAI), et dbox2. J'ai compilé mythtv comme ceçi :
# USE="dbox2 dvb dts freebox lirc lcd...." emerge -v mythtv
Le support dbox2 est très intéressant car il permet de récupérer un flux mpegts sur une ip:port, c'est exactement ce que je veux faire, flux vdr disponible avec un client xine, vdr-xineliboutput dans mon cas, voiçi les logs (backend puis frontend).
dragoon jay # vdr-sxfe
vdr-sxfe 1.0.0rc2 (build with xine-lib 1.1.8, using xine-lib 1.1.8)
VDR server not given, searching ...
Found VDR server: host 192.168.77.158, port 37890
Press Esc to exit
[12705] [input_vdr] Connecting (control) to tcp://192.168.77.158:37890 ...
[12705] [input_vdr] Server greeting: VDR-1.4.6 xineliboutput-1.0.0rc2 READY
[12705] [input_vdr] Connected (control) to tcp://192.168.77.158:37890
[12705] [input_vdr] Connecting (data) to pipe:///etc/vdr/plugins/xineliboutput/pipes.12638/pipe.0
[12705] [input_vdr] Data stream connected (PIPE)
AFD changed from -2 to -1
AFD changed from -2 to -1
Me voila donc avancer ! Petite question, j'ai bien un fichier /etc/lirc.conf mais comment générer ce lircrc qu'il semble manquer ?
Identifiant du Frontend me retourne ST STV0299 DVB-S, la carte est donc bien pris en charge, merçi à toi. Le souçi c'est que VDR, le backend bloquait la carte DVB.
Je cherche à : 1- Faire fonctionner ma carte en Free2Air sans décrytage des bouquets payants
2- Récuperer le stream de la freeboxtv
3- Récupérer le stream VDR décrypté
Pourrais-tu m'aiguiller davantage pour faire fonctionner MythTV avec cette carte ou ces flux ? Tu utilises du DVB-T, le DVB-S devrait fonctionner de la même façon non ?
Merçi à toi !
bon prenons les problèmes 1 par 1
1- concernant ton fichier lircrc, l'as-tu crée déjà ? si oui, normalement il doit ce trouver dans /home/"user"/.mythtv/ sinon crée-le à cet endroit.
2- tu lances mythtv-setup en root donc il cherche le fichier .lircrc de l'utilisateur root qui n'existe pas donc si tu as crée le fichier lircrc, cherche à quel endroit il se trouve ... lance mythtv-setup en "user"
Pour le reste, on voit ça un peu plus tard dans la soirée, je dois partir ...
Dernière modification par morphinux (23/01/2008 17:40:29)
Hors ligne
D'abord le souçi c'est que je ne sais pas comment generer ce fichier et/où le récuprer ? LIRC est pourtant fonctionnel ...
Je vais regarder ce que je peux trouver sur le net.
merçi @+
alors pour générer un fichier lircrc, il faut déjà connaitre ton fichier /etc/lirc/lircd.conf .Copie-nous le resultat de ce fichier qui correspond aux codes de ta télécommande.
Si il n'y rien, alors il faudra le creer manuellement ...avec cette commande :
irrecord -f /etc/lirc/lircd.conf
Je te donnerais la procedure à suivre ...si tu as des problèmes
mais en attendant, tu peux lire ça (en anglais) :
http://lnx.manoweb.com/lirc/?partType=s … tName=lirc
Dernière modification par morphinux (23/01/2008 18:57:33)
Hors ligne
J'ai pu trouver sur l'un des posts un lircrc fonctionnel :
begin
prog = mythtv
button = Power
config = Esc
end
begin
prog = mythtv
button = 1
config = 1
end
begin
prog = mythtv
button = 2
config = 2
end
[...]
begin
prog = mythtv
button = 0
config = 0
end
begin
prog = mythtv
button = tab
config = +
end
begin
prog = mythtv
button = EPG
config = S
end
begin
prog = mythtv
button = OSD
config = M
end
begin
prog = mythtv
button = RED
config = D
end
begin
prog = mythtv
button = Info
config = I
end
begin
prog = mythtv
button = VolumeUp
repeat = 3
config = F11
end
begin
prog = mythtv
button = VolumeDown
repeat = 3
config = F10
end
begin
prog = mythtv
button = Up
repeat = 3
config = Up
end
begin
prog = mythtv
button = ChannelUp
repeat = 3
config = Up
end
begin
prog = mythtv
button = Down
repeat = 3
config = Down
end
begin
prog = mythtv
button = ChannelDown
repeat = 3
config = Down
end
begin
prog = mythtv
button = Left
repeat = 3
config = Left
end
begin
prog = mythtv
button = Right
repeat = 3
config = Right
end
begin
prog = mythtv
button = Ok
config = Return
end
begin
prog = mythtv
button = Mute
config = F9
end
begin
prog = mythtv
button = Previous
config = Left
end
begin
prog = mythtv
button = Play
config = P
end
begin
prog = mythtv
button = Next
config = Right
end
begin
prog = mythtv
button = Record
config = R
end
begin
prog = mythtv
button = Pause
config = P
end
LIRC OK!
Bonsoir,
et bienvenu sur mythtv-fr!
Pour lirc (et pour tout le reste d'ailleur) , j'ai fait un tuto pour une carte DVB-T
ICI
Je n'ai pas bien compris ce que tu veux faire:
- utiliser ta carte DVB-T avec mythtv ?
- récupérer un flux video dans mythtv ?
Dans tout les cas il te faut un backend mythtv et une base mythconvert, ce que tu as l'air d'avoir déja fait.
A priori ta carte DVB-S ne peut être gérée que par un seul applicatif à la fois. Donc si tu veux la faire gérer par mythtv, il faut arréter VDR.
Je ne connais pas VDR. Aurais tu un lien voir une démo ?
Mythuser depuis 2005
Hors ligne
Hors ligne
Salut piratebab,
En fait je tourne avec une skystar2 DVB-S, avec le logiciel VDR, qui fonctionne en mode client/serveur.
Je souhaite profiter de mon abonnement donc je souhaite pouvoir utiliser un module CAM; d'où l'idée de me servir de VDR comme backend, mais l'info est difficile a trouver.
VDR fonctionne du tonnère, mais l'environnement OSD n'est pas tres attrayant, d'ou l'idée de fusionner avec MythTV.
L'objectif premier faire fonctionner ma carte en Free2Air puis avec le support CAM(ControlAccessModule).
Je ne peux te conseiller que http://vdr.bluox.org/ et http://jaypeche.free.fr/; tu y trouveras ton bonheur, je pense...
#
# this config file was automatically generated
# using lirc-0.7.1pre2(any) on Mon Jul 4 22:11:52 2005
#
# contributed by
#
# brand: Technisat
# model no. of remote control: TTS35AI
# devices being controlled by this remote: Skystar 2.6D
#
begin remote
name Technisat_TTS35AI.conf
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 882 803
zero 882 803
plead 905
gap 112766
toggle_bit 2
begin codes
Power 0x1A8C
Mute 0x1A8D
1 0x1281
2 0x1A82
3 0x1283
4 0x1A84
5 0x1285
6 0x1A86
7 0x1287
8 0x1A88
9 0x1289
0 0x1A80
-/-- 0x128A
A/B 0x1AA3
Red 0x0AAB
Green 0x02AC
Yellow 0x0AAD
Blue 0x02AE
OK 0x0A97
Up 0x12A0
Down 0x1AA1
Left 0x1291
Right 0x1A90
SFI 0x12AF
Exit 0x1AA2
INFO 0x028F
# Prog+ 0x1AA0
# Prog- 0x12A1
TV/Radio 0x0293
# Volume+ 0x1A90
# Volume- 0x1291
Menu 0x0A92
Hilfe 0x1A8F
TXT 0x12BC
STOP 0x1AA9
EXT 0x12B8
HILFE2 0x0AB6
end codes
end remote
Telecommande technisat sur port COM1
ok, maintenant tu compares le nom donné au code avec le nom donné au "button" du fichier lircrc.
exemple :
dans le fichier lircrc que tu nous a transmis on trouve pour le volume :
begin
prog = mythtv
button = VolumeUp
repeat = 3
config = F11
end
begin
prog = mythtv
button = VolumeDown
repeat = 3
config = F10
end
alors qu'il faudrait mettre :
begin
prog = mythtv
button = Volume+
repeat = 3
config = F11
end
begin
prog = mythtv
button = Volume-
repeat = 3
config = F10
end
donc dans ton fichier lircrc, tu dois modifier quelques "button" pour que ça fonctionne en relation avec /etc/lirc/lircd.conf.
Par exemple, la touche "green" correspond à quoi sur ta télécommande, idem pour "yellow" , "blue" etc.
Au fait, est-ce que ta télécommande réagit quand tu est en console.
Mets-toi en root en console et fais
#irw
puis tape sur les touches de ta télécommande et regarde si ça réagit et copie le resultat.
Une fois que tout semble ok, tu mets ton fichier lircrc dans /home/"user"/.mythtv/ puis tu relances lirc :
/etc/init.d/lirc restart
puis tu relances mythtv-setup en root. Si tu as toujours les mêmes messages d'erreur concernant lircrc alors tu lances mythtv-setup en "user" ....
Dernière modification par morphinux (23/01/2008 21:15:01)
Hors ligne
merci, je regarde ça.
Mais sauf erreur de ma part, si ton module CAM fonctionne sous linux avec VDR, il devrait fonctionner aussi avec mythtv directement.
Ce que tu veux faire me semble bien compliqué!
tu peux coller la ligne lspci correspondant à ta carte ?
édit:
Je viens de voir sur la liste des devs mythtv un gars qui à le même problème que toi (DVB-S et canaux criptés) , mais personne n'a répondu.
Est ce que ça marche avec xine chez toi ,
Mythuser depuis 2005
Hors ligne
Je souhaite faire cohabiter vdr et mythtv pour créer un environnement convivial qui n'existe pas sous vdr, je dévellope dbox2 sous gentoo, et je souhaite l'integrer a mythtv ! Cela devrait permettre de compiler un HTPC complet avec le support CAM. Tu peux trouver ci-dessus les infos que tu souhaites !
Pour morphunix, je te remercie pour ces précisons, j'avais + ou - pigé grace a ton post. IRW en console me retourne les infos ki vont bien tout comme chez toi. Il me reste a faire avancer le truc... je te tiens au courant. Merçi pour ta courtoisie !
Si jamais mythtv ne peut gérer les flux cryptés et les cartes de décryptage, voici une piste pour essayer de feinter (Je n'ai pas essayé, mais c'est peut être possible) :
- VDR dispose d'un plug in de streaming.
- Mythtv dispose d'une carte d'acquisition "virtuelle" pour les flux IP. En se battant avec des scripts, il est peut être possible de commander le changement de chaines de VDR (c'est en tout cas possible coté mythtv, pour VDR je ne sais pas)
Donc il est peut être possible de connecter vdr et mythtv ensemble par ce biais.
J'avais fait un petit tuto qui utilisait VLC comme source externe pour mythtv.
http://mythtv-fr.tuxfamily.org/wiki/freebox_et_vlc
Peut être qu'il peut être adapaté pour VDR.
Bonne chance et tiens nous au courant.
Disclaimer : J'ai migré sur tvheadend mais je passe encore ici de temps en temps (bouuhhh le traître)
Hors ligne
Slt Dalgwen,
Je suis novice sous mythtv, et j'avoue patauger un peu... Tu as raison VDR fonctionne comme serveur stream d'où l'idée de récuperer le flux dans mythtv, pour profiter des bouquets payants !
Solution 1 : Utiliser VDR comme Backend et MythTV comme frontend, sachant que VDR en stream marche très bien chez moi(serveur VDR/client Xine). J'ai fais quelques essais en vain .. Fallait pas réver !
Solution 2 : Le support Dbox2, il permet de récupérer le flux d'un démodulateur DreamBox via Ethernet, ce qui me semble être la meilleure solution, compte tenu que VDR et DreamBox sont très proches. Il faut voir pour la compatibilité du stream.. Pas encore réussi ! Mon Backend est planté !
jay@dragoon ~ $ mythfrontend
2008-01-24 16:42:22.817 Using runtime prefix = /usr
2008-01-24 16:42:22.827 DPMS is active.
2008-01-24 16:42:22.875 New DB connection, total: 1
2008-01-24 16:42:22.895 Connected to database 'mythconverg' at host: localhost
2008-01-24 16:42:22.898 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-24 16:42:22.904 Using screen 0, 1024x768 at 0,0
2008-01-24 16:42:22.934 Current Schema Version: 1160
2008-01-24 16:42:22.948 mythfrontend version: 0.20.20070821-1 www.mythtv.org
2008-01-24 16:42:22.948 Enabled verbose msgs: important general
2008-01-24 16:42:23.293 Total desktop dim: 1024x768, with 1 screen[s].
2008-01-24 16:42:23.298 Using screen 0, 1024x768 at 0,0
2008-01-24 16:42:23.299 Switching to square mode (G.A.N.T.)
2008-01-24 16:42:23.334 Using the Qt painter
mythtv: unknown token "[...]" in /home/jay/.mythtv/lircrc:19 ignored
2008-01-24 16:42:24.400 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml
2008-01-24 16:42:24.425 Loading from: /usr/share/mythtv/themes/default/base.xml
2008-01-24 16:42:24.556 Registering Internal as a media playback plugin.
2008-01-24 16:42:24.592 Registering MythDVD DVD Media Handler as a media handler ext()
2008-01-24 16:42:24.595 Registering MythDVD VCD Media Handler as a media handler ext()
2008-01-24 16:42:24.651 Registering MythGallery Media Handler 1/2 as a media handler ext()
2008-01-24 16:42:24.652 Registering MythGallery Media Handler 2/2 as a media handler ext(gif,jpg,png)
2008-01-24 16:42:24.800 Registering MythMusic Media Handler 1/2 as a media handler ext()
2008-01-24 16:42:24.802 Registering MythMusic Media Handler 2/2 as a media handler ext(ogg,mp3,aac,flac)
2008-01-24 16:42:30.020 New DB connection, total: 2
2008-01-24 16:42:30.021 Connected to database 'mythconverg' at host: localhost
2008-01-24 16:42:30.078 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:42:30.084 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:42:36.679 TV: Attempting to change from None to None
2008-01-24 16:42:38.630 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:42:38.630 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:42:39.291 TV: Attempting to change from None to None
2008-01-24 16:43:18.275 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:43:18.275 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:43:23.284 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:43:23.284 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:43:23.799 Error rescheduling id 0 in ScheduledRecording::signalChange
2008-01-24 16:43:29.982 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:43:29.982 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
Solution 3 : Quelques choses qui ressemblerait à ce que tu proposes, le plugin Stream pour VDR (Bien qu'il ne soit pas indispensable, VDR fonctionne sur ce mode), par contre le flux serait peut être plus acceptable pour MythTV. De son côté le support IPTV.
Etant donné que je patauge un epu avec mythtv pour le moment, je suis a l'écoute de vos conseils...
mythtv: unknown token "[...]" in /home/jay/.mythtv/lircrc:19 ignored
ton fichier lircrc n'est toujours pas dans /home/jay/.mythtv/
2008-01-24 16:42:30.021 Connected to database 'mythconverg' at host: localhost
2008-01-24 16:42:30.078 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:42:30.084 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:42:36.679 TV: Attempting to change from None to None
2008-01-24 16:42:38.630 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:42:38.630 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
2008-01-24 16:42:39.291 TV: Attempting to change from None to None
2008-01-24 16:43:18.275 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2008-01-24 16:43:18.275 Connection timed out.
You probably should modify the Master Server
settings in the setup program and set the
proper IP address.
tu as très certainement un problème de droit d'accès. Avec quel utilisateur démarres-tu mythfrontend, mythtv ou jay ?? sinon l'ajout de l'IP du backend devrait pouvoir régler le problème ...
Dernière modification par morphinux (24/01/2008 17:34:04)
Hors ligne
Slt Morphinux !
Non je n'ai pas réussi bien que j'ai compilé myth avec le support freebox. De plus en cherchant à utiliser vdr comme backend, et bien myth est planté. Je l'ai pourtant recompiler, reconfigurer comme d'origine, relancer le demon, mais cela ne marche pas, cf logs plus haut !
En tout cas ton aide m'a permis d'avancer un peu, grace a lircrc, telecommande nickel ..
As-tu testé le support Freebox? ca fonctionne bien ?
Il me reste donc à réparer le backend, essayer le support freebox ds un premier tps.
Puis m'armer de courage pour tenter de récuperer les chaines sat ki vont bien !