isabyr / frame_timestamp

29 stars 10 forks source link

Python Version #3

Closed hugofpaiva closed 3 years ago

hugofpaiva commented 3 years ago

Is there any possibility of moving to Python? Or maybe with a wrapper 🤔 It would be very useful for later analysis of the images on Yolo

isabyr commented 3 years ago

Unfortunately FFMpeg does not provide built-in methods for wrapping and I don't have much free time for now. The best I can do right now is to containerize ffmpeg and pass decoded frames with ZMQ. But I'm not sure about the throughput, decoded FULLHD YUV frame is 3MB, with 30fps it would be ~100MB/sec. Let me know if this suits you.

hugofpaiva commented 3 years ago

Yes, it suits! Thanks! :)

hugofpaiva commented 3 years ago

Thanks for the help. I no longer need it and since you are busy, I will close the issue. Sorry for the inconvenience...