play doesn't work at 12,5 and 2,5 frame/s

Bug #613908 reported by pops
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Luciole
New
Undecided
Unassigned

Bug Description

but it work fine with other framerate.
the output:
pops@crunchbang:~$ luciole
2010-08-05 18:14:14,744 - luciole - INFO - MainThread - (luciole.py, 123) - Starting luciole
Traceback (most recent call last):
  File "/usr/lib/luciole/lucioLib/gui/gui_controller.py", line 663, in on_button_play_toggled
    self.ctrl_obj.play(l_pos)
  File "/usr/lib/luciole/lucioLib/luciole_controller.py", line 323, in play
    self.lucio_player.start_play(player_data)
  File "/usr/lib/luciole/lucioLib/luciole_player.py", line 92, in start_play
    self.player.framerate=framerate
  File "/usr/lib/luciole/lucioLib/lcl_gst/lcl_gst_play.py", line 50, in _set_framerate
    caps = LG.Caps(caps_string)
TypeError: wrong arguments when creating GstCaps object
2010-08-05 18:14:37,487 - luciole - INFO - MainThread - (luciole.py, 137) - Leaving luciole

I'm on debian unstable with python-gst 0.10.19-1
and thanks for this program

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Hi, thks for reporting this bug
Which version of luciole are you using ?
I'm on ubuntu lucid whith luciole 0.8.5 and play its ok with 2.5 and 12.5 fps.

But it loks like a conversion problem ....
On menu View ---> Project properties. whocj value do you have for number of frame per image ? or can you give me th <fpi> line on your luciole project. The luciole project file is a standard xml file

Nico

Revision history for this message
pops (pops451) wrote :

hello
I see you are french so:

j'utilise aussi la 0.8.5 et j'ai aussi essayé sur un autre ordi avec ubuntu et ca marche tres bien.

hop<fpi>2</fpi>

j'ai été chercher un peu plus loin,
le retour d'un "print caps_string" dans lcl_gst_play ligne 50 me done:
image/jpeg, framerate=(fraction)12.5/1 ,width=360,height=288

j'ai un peu de mal a comprendre le but de ce code dans luciole_player:
        # get framerate to be used
        fpi = player_data['fpi']
        framerate = None
        for (k,v) in LCONST.VIDEO_FPS_TABLE.iteritems() :
            # find the position
            (l_framerate,l_fpi) = v
            if l_fpi == fpi : framerate= l_framerate
        # update gstreamer playe number of images
        self.player.framerate=framerate
        self.player.play()

mais si je rajoute simplement un petit:
framerate = fpi
juste avant "self.player .framerate=framerate", ca marche tres bien.

voila
et desolé pour le retard, mon taf me prend tout mon temps en ce moment.

Revision history for this message
toine (antoine-viry) wrote :

Bonjour,

Pour moi c'est la même chose.
Je suis sous Ubuntu 10.10, version de Luciole 0.8 (78), celle des dépôts.
J'ai tenté de modifier la valeur de fpi dans le fichier xml, lorsque je ne mets pas un nombre entier (par exemple 2.5), j'ai l'impression qu'ensuite le projet ne finit pas de se charger (menu Propriétés du projet grisé, bouton d'aperçu caméra et curseur de framerate non visible, et "projet en cours de chargement" dans la barre d'état).
J'ai tenté de créer un nouveau projet à 2.5 images par seconde, mais ensuite dans la fenêtre de "Propriétés du projet", j'ai un joli 10...
J'ai un projet d'animation avec des jeunes de 10-12 ans qui doit débuter la semaine prochaine et je vais tout de même prendre Luciole malgré cet inconvénient car l'idée c'est de passer le moins de temps possible sur l'ordinateur et Luciole est parfait pour cela ! Merci beaucoup pour ce logiciel !!

Antoine (Médiathèque de Pacé, près de Rennes)

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Désolé pour réponse tardive, je rentre de congés.
Je vais essayer de voir cela de plus pres d'ici demain.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.