Default for avconv setting on 18.04 wrong
wxmerkt opened this issue · comments
This seems to be somehow related to an error I currently receive. When trying to record a movie of the crocoddyl example bipedal_walking.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
@nim65s there are several possible workaround:
- use cmake to know what the default should be. Then, the line to change is
gepetto-viewer/src/gui/settings.cc
Line 49 in 0169d4b
- otherwise, we could look for both and see if any is found.
Thanks for the heads-up, I had forgotten this.
Fixed by #119