LukasBommes / mv-extractor

Extract frames and motion vectors from H.264 and MPEG-4 encoded video.
MIT License
279 stars 56 forks source link

Windows support #14

Closed peperunii closed 2 years ago

peperunii commented 2 years ago

Could this library be used in Windows? I tried to compile it - modified setup.py - but still I am having some issues with ffmpeg and with different C++ compiler errors.

LukasBommes commented 2 years ago

Hey peperunii,

I never tested it under Windows. But I don't see why it wouldn't work. Can you pull and run the Docker container as described in the readme? In that case you don't need to build anything.

peperunii commented 2 years ago

Hi Lucas, thanks for the reply. Running it inside a docker is definitely working - but in order to use it - as far as I understand - I need to move my other code also to be inside the container. That's why I am trying to build it as a regular python package which I can import it the services I am currently building. What I really need actually is the ONVIF information for each frame- the timestamp of the moment of frame capturing.

LukasBommes commented 2 years ago

Hey peperunii, I understand. Actually, I have started packaging the project as Python package and providing it via pip. But so far I only created an Anylinux wheel, no Windows wheel. For this, I would have to build a CI pipeline first to build the Windows wheel with GitHub actions.

But I also haven't yet finished this and am currently working on something else. So, I can't make any promises regarding availability of the Python package anytime soon.

LukasBommes commented 2 years ago

Closing due to inactivity. Feel free to reopen for further discussion.