storescu and MPEG4

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
upnorth173
Posts: 4
Joined: Tue, 2022-02-01, 09:43

storescu and MPEG4

#1 Post by upnorth173 »

I have created a dicom file (VideoEndoscopicImageStorage_MPEG4HighProfile_Level4.1.dcm) containing a correct configuration (as verified by Clunie tools dciodvfy)

(0002,0002) UI =VideoEndoscopicImageStorage # 32, 1 MediaStorageSOPClassUID
(0002,0010) UI =MPEG4HighProfile/Level4.1 # 24, 1 TransferSyntaxUID

When I try and send in using this syntax =(using dcmtk 3.6.6)

/usr/local/bin/storescu -d +v -ta 10 -td 10 -to 10 -aet MYAET -aec THEIRAET thesystem.edu 4000 VideoEndoscopicImageStorage_MPEG4HighProfile_Level4.1.dcm

I get:

D: DcmMetaInfo::checkAndReadPreamble() TransferSyntax="Little Endian Explicit"
D: DcmDataset::read() TransferSyntax="MPEG-4 AVC/H.264 High Profile / Level 4.1"
E: No presentation context for: (VVe) 1.2.840.10008.5.1.4.1.1.77.1.1.1
E: Store SCU Failed: 0006:0208 DIMSE No valid Presentation Context ID


I've tried changing /usr/local/etc/storescu.cfg to generalize for MPEG4 (seems to already have for MPEG2):

[#PresentationContext123 = StereometricRelationshipStorage\Uncompressed
#PresentationContext124 = TwelveLeadECGWaveformStorage\Uncompressed
#PresentationContext125 = XRayRadiationDoseSRStorage\Uncompressed

#Make work for MPEG4:
PresentationContext123 = VideoEndoscopicImageStorage\MPEG4
PresentationContext124 = VideoMicroscopicImageStorage\MPEG4
PresentationContext125 = VideoPhotographicImageStorage\MPEG4

#
# the new video objects are only negotiated with MPEG2 transfer syntax
#
PresentationContext126 = VideoEndoscopicImageStorage\MPEG2
PresentationContext127 = VideoMicroscopicImageStorage\MPEG2
PresentationContext128 = VideoPhotographicImageStorage\MPEG2

but I continue to get this error:

E: No presentation context for: (VVe) 1.2.840.10008.5.1.4.1.1.77.1.1.1
E: Store SCU Failed: 0006:0208 DIMSE No valid Presentation Context ID

Is there a storecfg.cfg that is already set up for MPEG4? If not, what am I doing wrong? Commenting out lines PresentationContext123..125 and adding them back in for MPEG4 was the only change I made.

Thanks

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: storescu and MPEG4

#2 Post by J. Riesmeier »

Are you sure that the storage SCP supports this Storage SOP Class and Transfer Syntax? You could e.g. check what is negotiated (proposed and accepted) using storescu's option --verbose-pc (+v).

Instead of a configuration file, you could also start storescu with option --propose-mpeg4 (-xn) or use the dcmsend tool, which is smarter than storescu.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest