catalystneuro / vame-desktop

A desktop application for the Variational Animal Motion Encoding project.
GNU General Public License v3.0
2 stars 0 forks source link

ffmpeg dependency #55

Open bendichter opened 1 month ago

bendichter commented 1 month ago
image

I get this on the Motif Videos stage. The installation instructions don't say anything about needing ffmpeg installed.

bendichter commented 4 weeks ago

On an M1 mac, prod version of vame desktop

nathan-vm commented 4 weeks ago

This is a dependency of VAME package itself (here: https://github.com/EthoML/VAME/blob/main/requirements.txt) most specificly this lib: imageio.

I haven't found an easy way to bundle ffmpeg into the python binary. Maybe we should just add documentation?

bendichter commented 1 week ago

@nathan-vm I don't think adding documentation to download ffmpeg solves the problem. Even if one has ffmpeg on their computer, it still won't be found by the app.

It looks like this issue has a better solution.

bendichter commented 6 days ago

As of 0.3.4, I am still getting this error

bendichter commented 6 days ago

@luiztauffer

It looks like you tried to resolve this by adding

tmp_ret = collect_all('imageio_ffmpeg')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]

It has not worked for me. Could you try importing imageio_ffmpeg somewhere in the app, as the linked issue suggests?