Am Sa., 12. Sept. 2020 um 02:08 Uhr schrieb Kenneth S Dyson
<
in...@m3platform.org>:
>
> Thanks for the Matlab links. I haven't been able to get Matlab to read any media in Linux without having gstreamer1.0 installed. I will try with these tools asap.
Video codec support in MATLAB is pretty awful, especially on Linux.
Having GStreamer should work though - in most cases. We had issues
with that on some configurations though and used this code (by Andrei
Barbu) as workaround:
https://github.com/bothlab/ffmpeg-matlab
(produces a Mex file)
Since the MIN1PIPE pipeline also supported only one specific type of
Raw video (PAL 8:8:8) and apparently was reading it manually, I also
have some really crude conversion code to encode a FFV1 MKV video to a
PAL888 Raw AVI using VirtualDub in Wine (any other method to produce
this data with current tools and up-to-date FFmpeg failed, and the
quick & dirty method worked well enough).
Currently we are playing with CaImAn and Minian which use OpenCV's
VideoReader and support all formats FFmpeg can read.
I never needed to read these videos into ImageJ, but
https://forum.image.sc/t/plugins-for-reading-and-writing-compressed-video/8777
looks pretty interesting.
--
I welcome VSRE emails. See
http://vsre.info/