5 ms·
Looks great!! Can it can load and play mp4 files ?
by laex 8y ago
Looks great!! Can it can load and play mp4 files ?
- tblyler 8y agoIt looks like if you're able to produce a stdlib image.Image implementation or some other types, you can use it. re: https://godoc.org/gocv.io/x/gocv#Mat https://godoc.org/gocv.io/x/gocv#Mat
- mooreds 8y agoHiya, I wasn't able to find that support, but I am no expert. Can you explain your use case?
- geezerjay 8y agoWell, to process video streams in computer vision applications.
- mooreds 8y agoAh, the demo I saw pulled in a camera feed and processed it, but it's not clear to me what formats are supported.
- geezerjay 8y agoSupport for mp4, or any other video format, isn't necessarily related directly to how camera feeds are handled. Video files are extensively used to test and benchmark cv applications. It's far easier, faster, and more convenient to feed a collection of video streams to your module instead of enabling a camera, which may require deploying the whole application, and capture the same sort of scene over and over again.
- madlodlombe 8y agoon linux opencv uses ffmpeg to videos iirc, i needed to install the gstreamer ffmpeg plugin (gst-libav on arch) and then it handled whatever format i threw at it (including mp4), although i used the python bindings if that makes any difference