946

(2 replies, posted in Français)

Voici une formule pour calculer la durée max du délai:

 durée = (mémoire × 1048576) / (largeur×hauteur×3×images par seconde)

Avec
- mémoire : voir dans Options > Préférences > Capture > Mémoire.
- On multiplie par 1048576 (=1Mo) pour avoir la valeur en octets.
- largeur, hauteur : en pixels, voir dans la fenêtre de configuration de la caméra.
- On multiplie par 3 pour avoir la valeur en octets.
- images par seconde : voir dans la fenêtre de configuration de la caméra.

Par exemple, 640×480 px @ 30fps avec en préférences mémoire 768Mo.

(768×1048576)/(640×480×3×30) = 29.13 s.

Il peut y avoir des variations car le nombre d'images par secondes est estimé à la volée plutôt que lu dans la configuration.

J'espère pouvoir faire dans le futur une version avec la possibilité de stocker les images pour le délai sur le disque plutôt qu'en mémoire vive, ce qui permettrait d'avoir des délais beaucoup plus longs.

947

(8 replies, posted in Français)

Jean-Philippe wrote:

J'ai une télécommande qui se branche sur port USB. Question : est-il possible de la faire fonctionner avec Kinovea, ce qui permettrait à distance de démarrer l'enregistrement sur un différé, par exemple, ce qui peut être très utile.

Non il n'y a rien de prévu pour supporter les télécommandes.
J'avais commencé à étudier un peu la techno il y a quelques temps mais sans déboucher sur quoi que ce soit de concret. Je suis d'accord que ce serait bien utile.

Bonjour,

picotlong wrote:

QUESTION 1 : Est-il possible de récupérer, par la suite, un fichier Excel avec le nombre de croix dans chaque secteur de la grille (cela permettrait d’établir rapidement des statistiques)

Pas tout à fait. Cependant dans la prochaine version on peut utiliser la grille de perspective en tant que système de coordonnées. Donc après avoir calibré la grille, en indiquant les dimensions de la table, il sera possible de récupérer les coordonnées des impacts dans le « repère table ». À partir de là il devrait être possible de recréer le nuage de points des impacts sur la table.

picotlong wrote:

QUESTION 2: Est-ce possible de repérer la trajectoire de la balle de manière automatisée, et par la suite, laisser une trace au niveau du rebond. J’imagine que cela doit être plus complexe à traiter (point de contact étant défini comme un changement de trajectoire de la balle ?), mais vous l’avez compris, cela ferait gagner un temps énorme....

Ça me parait difficile en 2D. Si jamais la trajectoire de la balle est pile sur le plan de la caméra on ne verra pas de changement de trajectoire au moment du rebond… Surtout en vue verticale ? À moins que l'effet modifie systématiquement la trajectoire… J'avoue que je n'ai pas d'exemples de tennis de table vu de haut, si vous en avez ça m'intéresse.

Je ne sais pas si le suivi de trajectoire est suffisamment robuste pour faire le tracking d'une balle de tennis de table… Il faudra surement une bonne caméra à l'entrée.

En tout cas avoir un système qui dissémine des marqueurs le long d'une trajectoire en fonction d'évènements particuliers de cette trajectoire serait intéressant. À creuser.

picotlong wrote:

QUESTION  3: Si Kinovea ne peut pas le faire, du moins à  courts termes, existe-t-il un logiciel/une application similaire qui pourrait faire l’affaire, si possible gratuit(e) (sic !) et surtout facile d’utilisation. J’imagine qu’un tel logiciel doit exister, c’est typiquement ce que nous montrent les modélisations lors des matchs de tennis à Rolland Garros quand on revoit la trace de la balle près des lignes après un service.

Pour le tennis le système utilisé (Hawk-Eye) est très avancé. Il me semble qu'il y a 10 caméras haute-vitesse réparties autour du court et le logiciel reconstruit la trajectoire de la balle dans l'espace…

949

(7 replies, posted in Français)

Bonjour,
Est-ce que cela fait pareil quelque soit le dossier spécifié dans les préférences : Capture > Général > Dossier vidéos ?
Sinon juste après la capture ratée, récupérer le fichier de log (voir Aide > ouvrir dossier de log) et me le transmettre (joan at kinovea point org).

950

(4 replies, posted in Ideas and feature requests)

Ideally for me this feature would be provided by the video decoding library. I'd like to retrieve the images directly rotated and be oblivious to this fact in all the rest of the code.
Last time I checked the decoding library didn't offer this feature (although it was worked on I think). I'll have to check again.

951

(5 replies, posted in General)

Answered in the other thread.

952

(2 replies, posted in Bug reports)

Hi,
First the speed sliders. They are locked together until you change the settings in Preferences > Playback > General > Link speed sliders.

In general you shouldn't have to change this option. The preferred way is to adjust the high speed video settings (Motion > High speed camera) of the slow motion GIF.

In your case it's a bit special because the animated GIF was probably not shot with a high speed camera but rather slowed down programmatically at creation.

You can still fiddle with the high speed camera settings until the info in the bottom part of the dialog "Video is x times slower than original" matches the slow motion factor of the GIF, if you know it.

All this is not strictly necessary, but it's the more correct approach I think. It will display proper times and let you use stopwatches on the slowed down GIF for example. And the normal speed video will be automatically slowed down to match the GIF speed. And you will be able to use the speed sliders.

About the common frame navigator.
There are two different mechanisms, the common play button works by calling play and pause on the individual videos at the right time, to honor synchronization (based on speed settings of each video).

However, the common frame navigator, next button, previous button, etc. and the saving process, all work at the frame level, which causes the problem I think you're having.

Although I used to consider this an unfortunate limitation, I now think it's a bug induced by not using the right approach.

----

Thought a bit about it last night. The following might not make sense without the code, I'm writing it down to remember it smile

I think it is possible to express synchronization in terms of scaling and translating of two 1-D variables (the videos).
The scaling will map the fps from one video to the other (taking any slo-mo in account), and the translating will express the shift due to the synchronization point.

With this I think we can start with any time coordinate in the first video and find the corresponding time coordinate in the second video.
b = (a-t) * s.
b: time in second video.
a: time in first video.
t: translation = position of sync point in first video.
s: scaling = (fps of second video / fps of first video). (actual playing fps, not necessarily original fps of video).

Hopefully this will someday allow proper frame level synchronization.

953

(7 replies, posted in Français)

Bonjour,

ph.podo wrote:

meme si je pense que la rémanence devrait etre toujours visible sur la vidéo une fois parametrée

Normalement en allant dans les préférences générales et dans Dessins > Persistance et en cochant « toujours visible » ça devrait marcher.

ph.podo wrote:

mais je rencontre un probleme depuis j ai installé lea version expérimentale 0.8.19 je ne peux plus enregistrer vidéos comme avant; un message d erreur apparait me disant que je ne peux inscrire cette vidéo car je n ai pas les droits pour le faire

L'enregistrement d'une capture camescope ou de l'écran de lecture ?
Pour la capture, le dossier cible se change dans les Préférences, dans Capture > Général > Dossier vidéos. À voir si ça fait pareil quelque soit le dossier choisi…

954

(22 replies, posted in General)

I have created a page with interactive documentation for the constraints and impacts.
This subproject is helping build the groundwork for an online viewer/repository of custom tools.

-> Custom tools reference

Most of the custom tools engine is ported. I think in the current state it can render all existing tools except the "Posture" one.

It works for me under Firefox and IE9. It seems that the mini demos are broken under Chrome, and the table of content jumplist isn't working under IE7 and IE8. Browser compatibility is such a pain…

If there are bugs, stuff unclear or other problems, don't hesitate to report.

955

(1 replies, posted in Bug reports)

Yes it's still possible but only through the (undocumented) keyboard shortcut : ALT+Mouse drag left or right on top of the grid.
The ability to change via the configuration window will be added back in a future version, I need to note this in the bug tracker.

956

(4 replies, posted in Français)

muadrian wrote:

Par exemple de la 5min à la 5m30 je veut que le projecteur suis l'objet et ensuite je souhaite que la vidéo se deroule normalement...

Effectivement, ça ce n'est pas possible dans l'état actuel des choses. Le suivi des outils fonctionne un peu en mode « tout ou rien » sur l'ensemble de la zone de travail…

957

(4 replies, posted in Français)

Bonjour,
Oui quand on stoppe le suivi ça redevient un dessin « normal », visible uniquement autour de l'image sur laquelle il avait été ajouté.
Le problème est peut-être en fait qu'on ne peut pas spécifier la valeur « toujours visible » pour cet outil, alors qu'on peut le faire pour d'autres.

Hmm, je viens de tester un truc, si on force le « toujours visible » pour tous les dessins : Options > Préférences > Dessins > Persistance > Toujours visible, alors l'outil projecteur en tient compte ! (Bien qu'on ne puisse pas lui spécifier individuellement).
Du coup ça pourrait faire une solution temporaire (par contre il faudra configurer manuellement les autres outils si tu ne veux pas qu'ils restent visibles toute la vidéo).
Je vais noter ce problème dans un coin, merci.

Hmm, thanks for the report. I admit I hadn't considered the case where the only camera is a network camera. This will need to be fixed.

959

(4 replies, posted in General)

Currently there is no way to turn the video inside Kinovea. I think VirtualDub can do it, if your format is supported there.
You can vote for the feature on the idea backlog.

In the meantime, just say no to vertical videos tongue

960

(22 replies, posted in General)

jonh wrote:

Oh ok I'll get that sorted, thanks for the prompt.

I meant that the problem is in Kinovea. The menu is created from names of files found in the folder, using a simple alphabetic sort, which causes this kind of issue. I have recently integrated the more natural sorting algorithm in the main file explorer. It will have to be used there as well.
(If you want to have a look, the problem is in ScreenManager/PlayerScreen/Drawings/GenericPosture/GenericPostureManager.cs, line 71. And an example correct sort in FileBrowser/UserInterface/FileBrowserUserInterface.cs, line 440. The idea would be to first get the list of files from Directory.GetFiles in a variable, then sort it properly before looping on it in the foreach.)

jonh wrote:

For the download & install function maybe this would be best as a seperate utility and not be built into kinovea? I'm thinking of the way several GPS mapping & satnav type  applications use a standalone downloader/editor app.

It could also be considered as small plug-ins. I quite like the extension mechanism in Firefox, Wordpress and others where you can browse the available extensions from within the software itself and install them with a few clicks, all without quiting the software. With some added logic, the new tools could even be loaded and added dynamically without restarting.