nianticlabs/acezero

ffmpeg path

Closed this issue · 1 comments

In video_to_dataset.py in line 43 the path to ffmpeg is hardcoded. This is not the right path for all users.

The easy fix is to check it in command line

> whereis ffmpeg

and insert that instead.

I would suggest adding the line
ffmpeg_path = shutil.which("ffmpeg")
after line 40 and switching "usr/bin/ffmpeg" to ffmpeg_path
Also the import shutil needs to be added.

Hi! Thanks for the detailed suggestions. Done. I have also removed the hard-coded ffmpeg path for generating the reconstruction video in ace_zero.py. I also had to increase the ffmpeg version in the ACE0 environment to get proper H.264 support.