Does Orthanc support DICOM files of the "MP4 codec H.264" type?

Hi,

We have installed Orthanc version 1.12.0 and uploaded a video study (MP4 codec H.264). When we view the study from the OHIF viewer and make the call to the “/dicom-web/studies/1.2.410.200076.740.14696404.201602111947161/series/1.2.410.200076.740.14696404.201602111947161.1/instances/1.2.410.200076.740.14696404.201602111947161.1.1/frames/1” API, it returns a "500 Internal Server Error

API Response
{
“HttpError” : “Internal Server Error”,
“HttpStatus” : 500,
“Message” : “Error encountered within the plugin engine”,
“Method” : “GET”,
“OrthancError” : “Error encountered within the plugin engine”,
“OrthancStatus” : 1,
“Uri” : “/dicom-web/studies/1.2.410.200076.740.14696404.201602111947161/series/1.2.410.200076.740.14696404.201602111947161.1/instances/1.2.410.200076.740.14696404.201602111947161.1.1/frames/1”
}

Orthanc Log
W0627 14:48:21.095584 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:21.097160 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:21.097744 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:21.134775 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:21.135248 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:21.135653 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:24.464789 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing series : 0008,0201;0040,0244;0040,0245;0040,0275
W0627 14:48:25.266844 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:25.305463 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:25.347825 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
W0627 14:48:25.356178 ServerContext.cpp:2492] W001: Accessing Dicom tags from storage when accessing study : 0008,0060;0008,0201
E0627 14:48:25.632741 OrthancException.cpp:61] Not implemented yet: Cannot transcode image
E0627 14:48:25.644545 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Error encountered within the plugin engine

Thanks,
Mehul

https://github.com/OHIF/Viewers/blob/master/extensions/dicom-video/README.md:

The video data must currently be available as video/mp4 on the BulkDataURI that is provided in the DICOMweb metadata response, and the video must have one of the specified SOP Class UID’s in order to be recognized by the SOP class handler.

Those are:

Video Microscop Image Storage
Video Photographic Image Storage
Video Endoscopic Image Storage
Secondary Capture Image Storage
Multiframe True Color Secondary Capture Image Storage

For your convenience, I am quoting here the respective SOP Class UIDs.
Video Microscopic Image Storage|1.2.840.10008.5.1.4.1.1.77.1.2.1
Video Photographic Image Storage|1.2.840.10008.5.1.4.1.1.77.1.4.1
Video Endoscopic Image Storage|1.2.840.10008.5.1.4.1.1.77.1.1.1
Secondary Capture Image Storage|1.2.840.10008.5.1.4.1.1.7
Multiframe True Color Secondary Capture Image Storage|1.2.840.10008.5.1.4.1.1.7.4

So, if I understand it correctly, the SOP Class UID (0008,0016) for your video should be one of those five values, otherwise OHIF will not be able to recognize it. Hopefully @alainmazy or somebody else from the Orthanc development team will correct me if I am wrong, but my understanding is that

E0627 14:48:25.632741 OrthancException.cpp:61] Not implemented yet: Cannot transcode image
E0627 14:48:25.644545 PluginsErrorDictionary.cpp:100] Exception inside the plugin engine: Error encountered within the plugin engine

is, strictly speaking, not about Orthanc server as such but about OHIF being unable to handle that video.

Yes, Orthanc does support DICOM Video. The issue is more on OHIF side or on configuration side

I’m pretty sure I made it work with a prior OHIF version but I could not make it work again today with OHIF v3.6.0.

1 Like