I’m broadcasting 2 acquired videos through OpenIGTLink from Plus Server to Slicer 4.13.0.
The videos consist in live data coming from 2 epiphan frame grabbers.
I can correctly see both the live videos on Slicer.
I would like to record both them from Slicer.
I tried to record adding a CaptureDevice in the plus server configuration file:
Can you post the epiphan device config? If the image is in color, then it will increase the size of the files.
You can add "EnableCompression=“TRUE” to the command to use compression when saving.
In tomorrow’s nightly Plus build, you can change the file name extension from “.igs.mha” to “mkv”. Even if the video is color, this should reduce file size by saving as a Matroska file (using VP9 compression).
Not sure if you are aware, but you can also record images and transforms in Slicer using the Sequences module. Let me know if you have any questions.
When I run the OpenIGTLink clients in Slicer as you can see in the screenshot below there isn’t any vector volume on the “IGTLConnector” but only on the “IGTLConnector_1”:
Hi!
Can I re-open this topic?
I would like to make multiple streams of the same videodevice, but each with a different crop. I’m now struggling with cropping each individual stream. Expected behaviour:
Cropping each videostream with the specific crop.
Observerd behavior
Cropping each videostream with the first cropping settings.
I’m not sure if the MmfVideo device will work with multiple data sources, but a couple of things:
You should only include one “DataSources” element. Both “DataSource” should be in the same one.
Same deal with “OutputChannels” and “OutputChannel”.
A channel can only include a single image stream, so you would need to separate the two. (VideoStream1, VideoStream2). Probably using more descriptive names for each stream.
Ok, thanks! Since it looks the device doesn’t currently support multiple output channels, then it is probably not currently possible. I’ll look into what is required to support it.
I’ve updated the vtkPlusMmfVideoSource device. The nightly release tomorrow should be able to support multiple video data sources at the same time, with different crop regions.
Thanks for updating.
However, the new update is not working yet. I added my configuration file in the attachments. I made two VideoDevices for each videostream, same capture device and specific crop. Can you help me out?