Comment 4 for bug 723370

Revision history for this message
Joel Dimbernat (joel-dimbernat-gmail) wrote :

I tried

[bokal@GreenLight photostory]$ gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! pngenc ! filesink location=foo.png
Définition du pipeline à PAUSED...
Le pipeline est actif et n'a pas besoin de phase PREROLL...
Passage du pipeline à la phase PLAYING...
New clock: GstSystemClock
EOS reçu de l'élément « pipeline0 ».
Execution ended after 2597575094 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
Définition du pipeline à NULL...
Libération du pipeline...

Seems like on my comp it's taking 2,5s to make the picture.
So I modified time.sleep(1) => time.sleep(3) in takePic() and it works.