Gepetto / gepetto-viewer

Graphical Interface for Pinocchio and HPP.
BSD 2-Clause "Simplified" License
44 stars 30 forks source link

Default for avconv setting on 18.04 wrong #106

Closed wxmerkt closed 4 years ago

wxmerkt commented 5 years ago

Relates to #92 and #94.

94 added the ability to configure avconv to be ffmpeg or whatever we want. However, in the robotpkg distributed viewer, it still points to avconv on 18.04 by default - it is now ffmpeg again. Can this be fixed in the distributed version?

julesser commented 4 years ago

This seems to be somehow related to an error I currently receive. When trying to record a movie of the crocoddyl example _bipedalwalking.py in the gepetto viewer, it fails with the following log:

Failed to start avconv. Either it is missing, or you may have insufficient permissions to invoke it. 

You can manually run avconv -r 25 -i /tmp/gepetto-gui/record/img_0_%d.jpeg -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -r 25 -vcodec libx264 /home/###hidden###/Videos/bipedalRecording.mp4
jmirabel commented 4 years ago

@nim65s there are several possible workaround:

nim65s commented 4 years ago

Thanks for the heads-up, I had forgotten this.

jmirabel commented 4 years ago

Fixed by #119