Sorry for the long delay.
I would play with different values of the SN_API configuration. I
don't know where you got your socket-nodes from, but I recall the
latest release of the public socket-nodes from TI don't have a working
JPEG encoder.
The previous one works AFAICR, but you need to specify SN_API=1.
I tried the following pipeline and it worked correctly:
% gst-launch videotestsrc num_buffers=50 ! dspjpegenc ! fakesink -v
Cheers.
--
Felipe Contreras