jlbrd / qmagneto

Automatically exported from code.google.com/p/qmagneto
0 stars 0 forks source link

Enregistrements contigus (avec deux adaptateurs dvb-t) #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Utiliser $EXTRAOPTION pour spécifier le rang de l'adaptateur dvb-t 
(--dvb-adapter=n avec la commande cvlc)
2. Programmer deux enregistrements contigus (donc sur un même canal et avec 
deux adaptateurs différents)

What is the expected output? What do you see instead?

À l'heure programmée, le premier enregistrement dit être "En enregistrement" 
mais le fichier de sortie est créé avec une taille 0 persistante.

Je viens d'effacer de la liste des Programmes ce premier enregistrement raté 
ainsi que le fichier associé de taille 0 mais tout en laissant le deuxième 
contigu en status "Enregistrement programmé".

Mon enregistrement suivant (un troisième) dans la liste Programmes montre le 
même problème (En enregistrement & taille 0) bien qu'il soit sur un autre 
canal et avec un autre adaptateur que celui ayant provoqué le problème.

Et suite au deuxième raté ci-dessus, l'enregistrement contigu à celui 
originaire du problème N'A PAS PROVOQUÉ le même problème ; Cet 
enregistrement contigu2 semble se dérouler correctement.

What version of the product are you using? On what operating system?

Gentoo Linux amd64 - qmagnéto-ppa2 amd64 du 14 décembre ($EXTRAOPTION)
http://ppa.launchpad.net/qmagneto/ppa/ubuntu/pool/main/q/qmagneto/qmagneto_1.6-2
ppa2_amd64.deb

Please provide any additional information below.

Supprimer l'enregistrement planté (premier des contigus) et le suivant dans ma 
liste (planté aussi) a apparemment suffit pour permettre au deuxième des 
contigus pour opérer correctement.

J'aurai pu essayer :

1) Quitter qmagnéto et le relancer
2) Quitter qmagnéto ; Débrancher mes adaptateurs et relancer qmagnéto

J'en ai rien fait.

note : ce n'est pas du tout la première fois que cette problématique 
d'enregistrements contigus se produit ; Je viens juste de correctement 
l'identifier et parvenir à l'expliciter.

Cordialement.

Original issue reported on code.google.com by remI.mas...@gmail.com on 2 Jan 2014 at 4:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Il faudrait savoir si c'est un problème lié à qmagneto ou à 
l'enregistrement simultané sur deux adaptateurs. Pour le tester, il faut :
- Lancer qmagneto dans un terminal car cela va permettre voir dans la console 
toutes les commandes lancées et surtout celles d'enregistrement .
- déclencher deux enregistrements simultanés et faire un copié des deux 
commandes lancées. Attention car il y a souvent des guillemets au début et 
fin de commande.
- fermer qmagneto puis coller dans deux terminaux séparés chaque commande 
d'enregistrement afin de rejouer simultanément les enregistrements.

Le résultat est -il le même ?
Ps : Je ne dispose pas d'adaptateur TNT pour tester.

Original comment by jlbi...@gmail.com on 12 Jan 2014 at 6:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
# Effectué avec qmagneto-r236
# Gentoo 3.10.17 #1 SMP Wed Nov 13 08:35:53 CET 2013 x86_64 Intel(R) Core(TM) 
i7-2670QM CPU @ 2.20GHz GenuineIntel GNU/Linux
# 2 Adaptateurs USB double tuner (ID 2040:5200 Hauppauge iProduct NovaT 
500Stick)
# media-video/vlc-2.1.0

# Programmation d'un double enregistrement simultané contigu (premier)
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589200 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5505 start : "lun. janv. 13 05:49:59 2014" end : 
"lun. janv. 13 06:20:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589200 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5505 start : "lun. janv. 13 05:49:59 2014" end : 
"lun. janv. 13 06:20:00 2014" 

# Supprimé pour cause d'erreur de programmation (nom de fichier de sortie 
identique)
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 05:59:59 2014" end : 
"lun. janv. 13 06:35:00 2014" 
src/mainwindowimpl.cpp 234 : -1

# Programmation d'un double enregistrement simultané contigu (second)
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 05:59:59 2014" end : 
"lun. janv. 13 06:35:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 06:00:00 2014" end : 
"lun. janv. 13 06:35:00 2014" 

# Programmation d'un double enregistrement simultané simple
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389587100 and channel='C6.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 4294967295 start : "lun. janv. 13 05:19:59 2014" 
end : "lun. janv. 13 05:35:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389587100 and channel='C6.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 4294967295 start : "lun. janv. 13 05:19:59 2014" 
end : "lun. janv. 13 05:35:00 2014" 

# Début double enregistrement simultané simple
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/M6-channel.conf" "/home/rem/Vidéos/qmagnéto/M6-M6 
Music-adapter0-13 janv. 2014" "--dvb-adapter=0"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 05:34:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/M6-channel.conf" "/home/rem/Vidéos/qmagnéto/M6-M6 
Music-adapter1-13 janv. 2014" "--dvb-adapter=1"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 05:34:59 
2014") 
src/mainwindowimpl.cpp 456 : end 4294967295 "13/01/14 05:30" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 4294967295 "13/01/14 05:30" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished
# Fin double enregistrement simultané simple
# Fichiers OK

# Début double enregistrement simultané contigu (premier)
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter1-13 janv. 2014" "--dvb-adapter=1"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:19:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-13 janv. 2014" "--dvb-adapter=0"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:19:59 
2014") 

# Début double enregistrement simultané contigu (second)
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter2-13 janv. 2014" "--dvb-adapter=2"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:34:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter3-13 janv. 2014" "--dvb-adapter=3"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:34:59 
2014") 

src/mainwindowimpl.cpp 456 : end 5505 "13/01/14 06:10" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 5505 "13/01/14 06:10" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 

src/mainwindowimpl.cpp 456 : end 5506 "13/01/14 06:25" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 5506 "13/01/14 06:25" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
# Fin doubles enregistrements simultanés contigus
# Tous fichiers OK : voir copie d'écran.

SUIT LA VERSION NON COMMENTÉE :
-------------------------------

src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589200 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5505 start : "lun. janv. 13 05:49:59 2014" end : 
"lun. janv. 13 06:20:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589200 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5505 start : "lun. janv. 13 05:49:59 2014" end : 
"lun. janv. 13 06:20:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 05:59:59 2014" end : 
"lun. janv. 13 06:35:00 2014" 
src/mainwindowimpl.cpp 234 : -1 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 05:59:59 2014" end : 
"lun. janv. 13 06:35:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389589800 and channel='C18.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 5506 start : "lun. janv. 13 06:00:00 2014" end : 
"lun. janv. 13 06:35:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389587100 and channel='C6.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 4294967295 start : "lun. janv. 13 05:19:59 2014" 
end : "lun. janv. 13 05:35:00 2014" 
src/xmldefaulthandler.cpp 1759 : "select id from programs where 
start=1389587100 and channel='C6.telerama.fr'" 
src/mainwindowimpl.cpp 360 : 4294967295 start : "lun. janv. 13 05:19:59 2014" 
end : "lun. janv. 13 05:35:00 2014" 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/M6-channel.conf" "/home/rem/Vidéos/qmagnéto/M6-M6 
Music-adapter0-13 janv. 2014" "--dvb-adapter=0"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 05:34:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/M6-channel.conf" "/home/rem/Vidéos/qmagnéto/M6-M6 
Music-adapter1-13 janv. 2014" "--dvb-adapter=1"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 05:34:59 
2014") 
src/mainwindowimpl.cpp 456 : end 4294967295 "13/01/14 05:30" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 4294967295 "13/01/14 05:30" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter1-13 janv. 2014" "--dvb-adapter=1"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:19:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-13 janv. 2014" "--dvb-adapter=0"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:19:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter2-13 janv. 2014" "--dvb-adapter=2"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:34:59 
2014") 
src/mainwindowimpl.cpp 415 : start "/home/rem/mycvlc 
"/home/rem/.vlc/GULLI-channel.conf" "/home/rem/Vidéos/qmagnéto/Gulli-La 
petite géante-adapter3-13 janv. 2014" "--dvb-adapter=3"" 
src/mainwindowimpl.cpp 416 : end planned : QDateTime("lun. janv. 13 06:34:59 
2014") 
src/mainwindowimpl.cpp 456 : end 5505 "13/01/14 06:10" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 5505 "13/01/14 06:10" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 5506 "13/01/14 06:25" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 
src/mainwindowimpl.cpp 456 : end 5506 "13/01/14 06:25" 
src/mainwindowimpl.cpp 614 : slotFinished 
src/mainwindowimpl.cpp 634 : Finished 

Original comment by remI.mas...@gmail.com on 13 Jan 2014 at 5:41

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Donc il n'y a pas de problème d'enregistrements simultanés et / ou contigus 
avec plusieurs adaptateurs dvb-t.

J'ai bien pris soin lors du test de ne pas utiliser mon ordinateur pour du 
codage vidéo ou même une simple lecture de vidéo.

Je peux apporter un complément d'information :

J'utilise la commande " cvlc " qui est équivalente à " vlc -I dummy " pour 
créer mes fichiers de capture dvb-t et je ne dois ABSOLUMENT PAS lancer une 
instance du lecteur vidéo Vlc avec la souris (clic sur un fichier) ou avec le 
menu du bureau de MATE pour lire une vidéo PENDANT que qmagnéto est en train 
d'enregistrer.

Si je le fais, je me retrouve avec un fichier de capture anéanti (taille 0 
persistante ; qmagnéto continuant d'indiquer "En enregistrement")

Je ne dois pas non plus chercher à ouvrir un fichier en cours d'enregistrement 
sous peine d'anéantir ce fichier.

Mon SEUL moyen d'ouvrir une instance du lecteur vidéo Vlc pendant que 
qmagnéto enregistre est de saisir la commande :

$ vlc

Dans un terminal.

Original comment by remI.mas...@gmail.com on 13 Jan 2014 at 5:57

GoogleCodeExporter commented 9 years ago
>> - fermer qmagneto puis coller dans deux terminaux séparés chaque commande 
d'enregistrement afin de rejouer simultanément les enregistrements.

>> Le résultat est -il le même ?

Au vu du résultat positif de la première phase du test, je n'ai pas jugé 
utile ni nécessaire de poursuivre avec la phase suivante.

Original comment by remI.mas...@gmail.com on 13 Jan 2014 at 2:46

GoogleCodeExporter commented 9 years ago
Pour aider et conclure sur cette issue, je rajoute que mes adaptateur dvb-t 
étaient sur un hub usb2 en passif mais lui même branché sur un port usb3

Depuis que je branche ce hub usb2 sur un port usb2, je n'ai plus eu aucun 
problème d'enregistrement persistant à taille 0

Mon ancienne chaîne usb3 devait se mettre en erreur et il me fallait faire un 
# halt pour la récupérer ; le # reboot ne suffisait pas

note : ceci ne résout pas le fait que je ne puis lancer une instance de vlc 
uniquement avec : $ vlc

Original comment by remI.mas...@gmail.com on 7 Jun 2014 at 6:40

GoogleCodeExporter commented 9 years ago
Je me permets d'ajouter également que je suis dans un environnement très 
parasité. Je viens de remettre en place mon système d'enregistrement par 
quadruple adaptateur DVB-T USB.
J'utilise des connectiques d'antenne de type "Fiche F" avec un 
préamplificateur de signal en "Fiche F" également (j'ai aussi une 
télévision) ; J'ai étamé les fils d'âme de mes connectiques "Fiches F" et 
les ai bien serrés avec une clef plate de 11mm.
Je compte monter sur ma toiture pour dénuder à nouveau le branchement à 
l'antenne et y faire la connexion par soudure.
Dernier point - je ne sais plus si je l'avais déjà évoqué - mon 
réfrigérateur peut parasiter mon signal TNT ; Lors de l'ouverture de la 
porte, à l'allumage de la lampe à incandescence (que j'ai retiré) ou alors 
lors des départs à fort courant de son moteur compresseur.
Il doit être possible de déparasiter le réfrigérateur avec un condensateur 
non polarisé à placer au niveau du moteur.
Il est aussi possible d'envisager d'inverser la phase et le neutre pour 
l'alimentation secteur du réfrigérateur.
Cette conclusion est un peu hors-sujet, mais elle peut-être utile à quelqu'un 
qui aurait des soucis de parasites dans ses enregistrements DVB-T

Original comment by remI.mas...@gmail.com on 11 Oct 2014 at 12:27