Local test, only on client (no video was output!)

$ gst-launch-1.0 -v videotestsrc pattern=ball ! openjpegenc ! rtpj2kpay ! rtpj2kdepay ! openjpegdec ! videoconvert ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, width=(int)320, height=(int)240, format=(string)ARGB64, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:sink: caps = video/x-raw, width=(int)320, height=(int)240, format=(string)ARGB64, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:src: caps = image/x-jpc, colorspace=(string)sRGB, num-components=(int)4, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, ssrc=(uint)3926609214, timestamp-offset=(uint)2908464551, seqnum-offset=(uint)41085
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:src: caps = image/x-jpc, framerate=(fraction)0/1, fields=(int)1, colorspace=(string)sYUV
/GstPipeline:pipeline0/GstOpenJPEGDec:openjpegdec0.GstPad:sink: caps = image/x-jpc, framerate=(fraction)0/1, fields=(int)1, colorspace=(string)sYUV
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, ssrc=(uint)3926609214, timestamp-offset=(uint)2908464551, seqnum-offset=(uint)41085
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0.GstPad:sink: caps = image/x-jpc, colorspace=(string)sRGB, num-components=(int)4, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0: timestamp = 2908464551
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0: seqnum = 41085
^Chandling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstOpenJPEGDec:openjpegdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL
Freeing pipeline ...
