open-mmlab / denseflow

Extracting optical flow and frames
https://open-mmlab.github.io/
MIT License
307 stars 61 forks source link

Docker image not saving in h5 #65

Closed Permafacture closed 2 years ago

Permafacture commented 2 years ago

I built the docker container and now when I run

docker run --gpus all -it -v 'pwd':/work denseflow -o=/work -st=h5 -v /work/my_video.mp4

I get a directory named my_video filled with img_XXXXX.jpg files when I expected a lossless HDF5 file

Permafacture commented 2 years ago

It's the same with png actually. It's just ignoring that option

Permafacture commented 2 years ago

It was because s is 0 by default, which means just dump the frames. I don't think it's a big deal that dumping frames to png or h5 isn't supported because I wouldn't use this library for that anyway.