How to import video into Orthanc

I’m trying to figure out a way to import a video in Orthanc and be able to open it using the viewer.
I’m currently using /tools/create-dicom to import images without any problems but using the same method for videos I receive the following error:

image.png

The video file has around 500 Kb.

I know that Orthanc is supporting videos because I have some DICOM files with videos attached to it and they work just fine.

Thank you.

Hello Alexan… :),

It is currently not possible to use the create-dicom API route to convert video payloads to DICOM.

However, the Orthanc plugin sdk is rich enough that it is possible to use it to add such a functionality : http://book.orthanc-server.com/developers/creating-plugins.html

Here is an article that describes a how a fully functional Orthanc plugin was built: https://www.codeproject.com/Articles/797118/Implementing-a-WADO-Server-using-Orthanc

Do not hesitate to ask for help regarding the plugin SDK usage!

Benjamin