I have a source that can provide JPEG data at high framerates. I’m trying to decode the data using gstreamer. I noticed that there are 3 gstreamer plugins that can handle jpeg.
As far as I have tested jpegdec seems to be faster than nvjpegdec. Thats why I’m trying to understand how nvidia’s jpeg decoder works. This is the pipeline I’m using :
gst-launch-0.10 v4l2src device=/dev/video0 queue-size=4 always-copy=false ! \
"image/jpeg, width=(int)1280, height=(int)720, interlaced=(boolean)false, \
pixel-aspect-ratio=(fraction)1/1" ! queue ! $DECODE_PLUGIN ! fakesink -v
I replace DECODE_PLUGIN with either of the 3 plugins. nv_omx_jpegdec doesnt work at all for me. I get the following errors.
omx_setup error while setting FilterTimestamp
NvMMLiteBlockCreate : Block : BlockType = 257
Caught SIGSEGV accessing address 0xae7f6000
#0 0xb6d99b60 in ?? ()
#1 0xb6d99b5a in ?? ()
Spinning. Please run 'gdb gst-launch 22009' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Has anybody else tried the nvidia provided gstreamer plugins? Any luck?