Server:
$ gst-launch-1.0 -v filesrc location=test_qvga.mjpeg ! 'image/jpeg,width=320,height=240,framerate=25/1' ! jpegparse ! omxmjpegdec ! openjpegenc ! rtpj2kpay ! udpsink host=192.168.1.44 port=5000
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:sink: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:src: caps = image/jpeg, parsed=(boolean)true, format=(string)I420, interlaced=(boolean)false, width=(int)320, height=(int)240, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstOMXMJPEGDec-omxmjpegdec:omxmjpegdec-omxmjpegdec0.GstPad:sink: caps = image/jpeg, parsed=(boolean)true, format=(string)I420, interlaced=(boolean)false, width=(int)320, height=(int)240, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstOMXMJPEGDec-omxmjpegdec:omxmjpegdec-omxmjpegdec0.GstPad:src: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)1:1:0:0, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstOMXMJPEGDec-omxmjpegdec:omxmjpegdec-omxmjpegdec0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstOpenJPEGEnc:openjpegenc0.GstPad:src: caps = image/x-jpc, colorspace=(string)sYUV, num-components=(int)3, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/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)2137948733, timestamp-offset=(uint)4262973719, seqnum-offset=(uint)46449
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, ssrc=(uint)2137948733, timestamp-offset=(uint)4262973719, seqnum-offset=(uint)46449
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0.GstPad:sink: caps = image/x-jpc, colorspace=(string)sYUV, num-components=(int)3, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0: timestamp = 4262973719
/GstPipeline:pipeline0/GstRtpJ2KPay:rtpj2kpay0: seqnum = 46449
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...

(gst-launch-1.0:3108): GLib-CRITICAL **: Source ID 26 was not found when attempting to remove it
Execution ended after 0:00:04.151401532
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


Client:
$ gst-launch-1.0 -v udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, framerate=(fraction)25/1" port=5000 ! rtpj2kdepay ! fakesink dump=1
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:src: caps = image/x-jpc, framerate=(fraction)0/1, fields=(int)1, colorspace=(string)sYUV
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = image/x-jpc, framerate=(fraction)0/1, fields=(int)1, colorspace=(string)sYUV
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstRtpJ2KDepay:rtpj2kdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG2000, payload=(int)96, framerate=(fraction)25/1
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:03.661843915
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
