L4T 28.1 : Gstreamer 1.0 and BusError on nvjpegdec plugin

On TX1 , gst-launch-1.0 works fine , but i have issu without Error in C++ apps :

ubuntu@tegra-ubuntu:~$ gst-launch-1.0 videotestsrc is-live=true ! video/x-raw, format=I420, width=1640, height=1232, framerate=30/1 ! videorate ! video/x-raw, framerate=1/10 ! queue ! nvjpegenc ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:10.777120569
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
ubuntu@tegra-ubuntu:~$

But, in my “main” application ( write in C++), i use TX1 28.1 and call the Gstreamer 1.0 plugin nvjpegdec :

mVideoSourceConvert = gst_element_factory_make("<b>nvjpegdec</b>", EXTRANAME("nvjpegdec_"));

GstCaps *lnvcaps = gst_caps_new_simple ("video/x-raw",
                "format", G_TYPE_STRING,"I420",
                     NULL);
    
    g_object_set (G_OBJECT (mVideoSourceConvert), "caps", lnvcaps, NULL);
        gst_caps_unref (lnvcaps);

I have crash with :

Oct 31 12:52:18 tegra-ubuntu MAIN: gstApp makeElementSource
Oct 31 12:52:18 tegra-ubuntu kernel: [ 8646.746636] main[20091]: PC Alignment exception: pc=e9a2c859cbbd9656 sp=e9a2c859cbbd9656

or Sometimes , i havekernel error like this :

Oct 31 12:51:46 tegra-ubuntu MAIN: gstApp makeElementSource
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.401939] main[20066]: unhandled level 0 translation fault (11) at 0xdac39389c7bfe1f0, esr 0x83000004
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.411795] pgd = ffffffc0437b0000
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.415200] [dac39389c7bfe1f0] *pgd=0000000000000000, *pud=0000000000000000
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.422575] 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.424199] CPU: 0 PID: 20066 Comm: main Not tainted 4.4.38-tegra #1
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.431142] Hardware name: jetson_cv (DT)
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.435272] task: ffffffc0e052d780 ti: ffffffc089390000 task.ti: ffffffc089390000
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.443031] PC is at 0xdac39389c7bfe1f0
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.446954] LR is at 0xdac39389c7bfe1f0
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.450895] pc : [<dac39389c7bfe1f0>] lr : [<dac39389c7bfe1f0>] pstate: 20000000
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.458362] sp : dac39389c7bfe1f0
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.461773] x29: 0000000000000000 x28: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.467182] x27: 0000000000000000 x26: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.472663] x25: 0000000000000000 x24: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.478140] x23: 0000000000000000 x22: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.483583] x21: 0000000000000000 x20: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.488990] x19: 0000000000000000 x18: 0000007fb6056000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.494394] x17: 0000007fb5c60318 x16: 0000007fb371c698 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.499802] x15: 0000007fb611d000 x14: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.505211] x13: 0000000000000000 x12: 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.510603] x11: 0000000000000018 x10: 0101010101010101 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.515993] x9 : 0000000000000004 x8 : 000000000000007e 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.521406] x7 : 0000007fb425ab10 x6 : 0000007fb425a900 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.526807] x5 : dac39389c7bfe1f0 x4 : 0000000000000000 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.532211] x3 : dac39389c7bfe1f0 x2 : 0000007fb611dcb0 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.537644] x1 : 0000000000000001 x0 : 0000000000000001 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.543076] 
Oct 31 12:51:46 tegra-ubuntu kernel: [ 8614.544630] vdso base = 0x7fb611c000

I try to open one camera with Gstrreamer , but it’s didn’t work.

G_DEBUG="fatal_criticals" gdb ./shimaore

Gdb can’t give more information , and no error …

MAIN : LEFT = 1-3addCameraConfig : add id 1:0F2CD300
gstApp makeElementFactory
0:00:02.645842759 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "v4l2src" "(NULL)"
0:00:02.646534947 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:445:gst_element_factory_make:<v4l2src> found factory 0x474390
0:00:02.646956093 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:106:gst_plugin_feature_load: loading plugin for feature 0x474390; 'v4l2src'
0:00:02.647565624 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:110:gst_plugin_feature_load: loading plugin video4linux2
0:00:02.647981770 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1261:gst_plugin_load_by_name: looking up plugin video4linux2 in default registry
0:00:02.648605832 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1264:gst_plugin_load_by_name: loading plugin video4linux2 from file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
0:00:02.648906718 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:716:_priv_gst_plugin_load_file_for_registry: attempt to load plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so"

 in : udev_device_new_from_syspath
Device Entry Path 1-3 => /sys/devices/70090000.xusb/usb1/1-1/1-1.3/1-1.3:1.0/video4linux/video1

 RAWDEVICE not match with 1-3

 in : udev_device_new_from_syspath
Device Entry Path 1-3 => /sys/devices/70090000.xusb/usb1/1-3/1-3:1.0/video4linux/video0
Device Node Path:	 /dev/video0	Device Node ID busnum :	 1 (1), devnum : 3 (3)	Device Node ID busnum :	 3 (3), SubSystem : 1-3 	Serial:	 0825D300 	Vendor:	 2560 	Product:	 c1d0 
0:00:02.703534634 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:817:_priv_gst_plugin_load_file_for_registry: Plugin 0x46f570 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" prepared, calling entry function...
0:00:02.703595624 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:824:_priv_gst_plugin_load_file_for_registry: Plugin 0x46f570 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" prepared, registering...
0:00:02.703633593 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:505:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" looks good
0:00:02.703690364 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category v4l2 matches pattern 0x43cc20 - gets set to level 6
0:00:02.703818853 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:1777:gst_plugin_add_dependency:<plugin28> dependency already registered
0:00:02.703932082 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category pushsrc matches pattern 0x43cc20 - gets set to level 6
0:00:02.704116978 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x474390 (v4l2src)
0:00:02.704214634 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4742b0 (v4l2sink)
0:00:02.704257134 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4741d0 (v4l2radio)
0:00:02.704334582 20192       0x506780 DEBUG   GST_DEVICE_PROVIDER_FACTORY gstdeviceproviderfactory.c:190:gst_device_provider_register:<registry0> update existing feature 0x45e0d0 (v4l2deviceprovider)
0:00:02.704378332 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:532:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" initialised
0:00:02.704415520 20192       0x506780 INFO      GST_PLUGIN_LOADING gstplugin.c:842:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" loaded
0:00:02.704449478 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:115:gst_plugin_feature_load: loaded plugin video4linux2
0:00:02.704485259 20192       0x506780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:364:gst_element_factory_create: creating element "v4l2src"
0:00:02.704517447 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstBaseSrc : factory (nil)
0:00:02.704555155 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category basesrc matches pattern 0x43cc20 - gets set to level 6
0:00:02.704735416 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstPushSrc : factory (nil)
0:00:02.704768905 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstV4l2Src : factory 0x474390
0:00:02.705014478 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x31424752 RGB1
0:00:02.705061353 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x35315241 AR15
0:00:02.705119999 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0xb5315241 AR1.
0:00:02.705214791 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x52424752 RGBR
0:00:02.705250416 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x48524742 BGRH
0:00:02.705320572 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34343452 R444
0:00:02.705435155 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20343059 Y04 
0:00:02.705471978 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20363059 Y06 
0:00:02.705511718 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20303159 Y10 
0:00:02.705532864 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20323159 Y12 
0:00:02.705621718 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x42303159 Y10B
0:00:02.705654739 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x384c4150 PAL8
0:00:02.705694166 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x20385655 UV8 
0:00:02.705779530 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x31324d59 YM21
0:00:02.705822499 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x56555959 YYUV
0:00:02.705908697 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x59555956 VYUY
0:00:02.705957551 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x50313459 Y41P
0:00:02.705991353 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34343459 Y444
0:00:02.706066874 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x4f565559 YUVO
0:00:02.706100364 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x50565559 YUVP
0:00:02.706137864 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34565559 YUV4
0:00:02.706176197 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x34324948 HI24
0:00:02.706208228 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314d48 HM12
0:00:02.706281822 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3032344d M420
0:00:02.706330312 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x32314d56 VM12
0:00:02.706412291 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3234564e NV42
0:00:02.706477343 20192       0x506780 DEBUG                   v4l2 gstv4l2object.c:1476:gst_v4l2_object_v4l2fourcc_to_bare_struct: Unsupported fourcc 0x3436324d M264
0:00:02.707846666 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category v4l2src matches pattern 0x43cc20 - gets set to level 6
0:00:02.707946457 20192       0x506780 DEBUG                basesrc gstbasesrc.c:445:gst_base_src_init:<GstBaseSrc@0x7fb000e1b0> creating src pad
0:00:02.708054739 20192       0x506780 DEBUG                basesrc gstbasesrc.c:448:gst_base_src_init:<GstBaseSrc@0x7fb000e1b0> setting functions on src pad
0:00:02.708095416 20192       0x506780 DEBUG               GST_PADS gstpad.c:1708:gst_pad_set_activatemode_function_full:<'':src> activatemodefunc set to gst_base_src_activate_mode
0:00:02.708168072 20192       0x506780 DEBUG               GST_PADS gstpad.c:1849:gst_pad_set_event_function_full:<'':src> eventfunc for set to gst_base_src_event
0:00:02.708218697 20192       0x506780 DEBUG               GST_PADS gstpad.c:1929:gst_pad_set_query_function_full:<'':src> queryfunc set to gst_base_src_query
0:00:02.708258437 20192       0x506780 DEBUG               GST_PADS gstpad.c:1816:gst_pad_set_getrange_function_full:<'':src> getrangefunc set to gst_base_src_getrange
0:00:02.708298749 20192       0x506780 DEBUG                basesrc gstbasesrc.c:456:gst_base_src_init:<GstBaseSrc@0x7fb000e1b0> adding src pad
0:00:02.708320780 20192       0x506780 INFO        GST_ELEMENT_PADS gstelement.c:659:gst_element_add_pad:<GstBaseSrc@0x7fb000e1b0> adding pad 'src'
0:00:02.708343905 20192       0x506780 DEBUG        GST_REFCOUNTING gstobject.c:692:gst_object_set_parent:<'':src> set parent (ref and sink)
0:00:02.708432447 20192       0x506780 DEBUG                basesrc gstbasesrc.c:473:gst_base_src_init:<GstBaseSrc@0x7fb000e1b0> init done
0:00:02.708486718 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:390:gst_element_factory_create: created element "v4l2src"
gstApp mDevicePath : /dev/video1 
0:00:02.708617551 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "filesink" "(NULL)"
0:00:02.708664270 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:445:gst_element_factory_make:<filesink> found factory 0x4c82f0
0:00:02.708687551 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:106:gst_plugin_feature_load: loading plugin for feature 0x4c82f0; 'filesink'
0:00:02.708707499 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:110:gst_plugin_feature_load: loading plugin coreelements
0:00:02.708725364 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1261:gst_plugin_load_by_name: looking up plugin coreelements in default registry
0:00:02.708816926 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1264:gst_plugin_load_by_name: loading plugin coreelements from file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
0:00:02.708854947 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:716:_priv_gst_plugin_load_file_for_registry: attempt to load plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so"
0:00:02.722614895 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:817:_priv_gst_plugin_load_file_for_registry: Plugin 0x4bae70 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" prepared, calling entry function...
0:00:02.722670676 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:824:_priv_gst_plugin_load_file_for_registry: Plugin 0x4bae70 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" prepared, registering...
0:00:02.722708905 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:505:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" looks good
0:00:02.722804374 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category capsfilter matches pattern 0x43cc20 - gets set to level 6
0:00:02.722851926 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4cb1a0 (capsfilter)
0:00:02.722937864 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category concat matches pattern 0x43cc20 - gets set to level 6
0:00:02.722984999 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4cb0c0 (concat)
0:00:02.723030520 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category downloadbuffer matches pattern 0x43cc20 - gets set to level 6
0:00:02.723078020 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9ea0 (downloadbuffer)
0:00:02.723162864 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category fakesrc matches pattern 0x43cc20 - gets set to level 6
0:00:02.723198749 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9dc0 (fakesrc)
0:00:02.723230624 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category fakesink matches pattern 0x43cc20 - gets set to level 6
0:00:02.723301562 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9ce0 (fakesink)
0:00:02.723405259 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category fdsrc matches pattern 0x43cc20 - gets set to level 6
0:00:02.723491301 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9c00 (fdsrc)
0:00:02.723540780 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category fdsink matches pattern 0x43cc20 - gets set to level 6
0:00:02.723583541 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9b20 (fdsink)
0:00:02.723628853 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category filesrc matches pattern 0x43cc20 - gets set to level 6
0:00:02.723726874 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9a40 (filesrc)
0:00:02.723771041 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category funnel matches pattern 0x43cc20 - gets set to level 6
0:00:02.723813645 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9960 (funnel)
0:00:02.723860676 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category identity matches pattern 0x43cc20 - gets set to level 6
0:00:02.723920155 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c9880 (identity)
0:00:02.723973801 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category input-selector matches pattern 0x43cc20 - gets set to level 6
0:00:02.724015155 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c8670 (input-selector)
0:00:02.724075155 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category output-selector matches pattern 0x43cc20 - gets set to level 6
0:00:02.724106666 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c8590 (output-selector)
0:00:02.724177551 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category queue matches pattern 0x43cc20 - gets set to level 6
0:00:02.724216509 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category queue_dataflow matches pattern 0x43cc20 - gets set to level 6
0:00:02.724256145 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c84b0 (queue)
0:00:02.724304687 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category queue2 matches pattern 0x43cc20 - gets set to level 6
0:00:02.724331562 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category queue2_dataflow matches pattern 0x43cc20 - gets set to level 6
0:00:02.724358593 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c83d0 (queue2)
0:00:02.724391509 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category filesink matches pattern 0x43cc20 - gets set to level 6
0:00:02.724476249 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c82f0 (filesink)
0:00:02.724519843 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category tee matches pattern 0x43cc20 - gets set to level 6
0:00:02.724562603 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c8210 (tee)
0:00:02.724611562 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category typefind matches pattern 0x43cc20 - gets set to level 6
0:00:02.724642291 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c8130 (typefind)
0:00:02.724669947 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category multiqueue matches pattern 0x43cc20 - gets set to level 6
0:00:02.724745364 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c8050 (multiqueue)
0:00:02.724789947 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category valve matches pattern 0x43cc20 - gets set to level 6
0:00:02.724832239 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c56a0 (valve)
0:00:02.724877968 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category streamiddemux matches pattern 0x43cc20 - gets set to level 6
0:00:02.724947864 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4c55c0 (streamiddemux)
0:00:02.724985937 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:532:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" initialised
0:00:02.725020676 20192       0x506780 INFO      GST_PLUGIN_LOADING gstplugin.c:842:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:02.725064166 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:115:gst_plugin_feature_load: loaded plugin coreelements
0:00:02.725093905 20192       0x506780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:364:gst_element_factory_create: creating element "filesink"
0:00:02.725179322 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstBaseSink : factory (nil)
0:00:02.725218593 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category basesink matches pattern 0x43cc20 - gets set to level 6
0:00:02.725353593 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstFileSink : factory 0x4c82f0
0:00:02.725504530 20192       0x506780 DEBUG               GST_PADS gstpad.c:1673:gst_pad_set_activate_function_full:<'':sink> activatefunc set to gst_base_sink_pad_activate
0:00:02.725532864 20192       0x506780 DEBUG               GST_PADS gstpad.c:1708:gst_pad_set_activatemode_function_full:<'':sink> activatemodefunc set to gst_base_sink_pad_activate_mode
0:00:02.725556874 20192       0x506780 DEBUG               GST_PADS gstpad.c:1929:gst_pad_set_query_function_full:<'':sink> queryfunc set to gst_base_sink_sink_query
0:00:02.725591405 20192       0x506780 DEBUG               GST_PADS gstpad.c:1849:gst_pad_set_event_function_full:<'':sink> eventfunc for set to gst_base_sink_event
0:00:02.725678437 20192       0x506780 DEBUG               GST_PADS gstpad.c:1743:gst_pad_set_chain_function_full:<'':sink> chainfunc set to gst_base_sink_chain
0:00:02.725716978 20192       0x506780 DEBUG               GST_PADS gstpad.c:1780:gst_pad_set_chain_list_function_full:<'':sink> chainlistfunc set to gst_base_sink_chain_list
0:00:02.725756822 20192       0x506780 INFO        GST_ELEMENT_PADS gstelement.c:659:gst_element_add_pad:<GstBaseSink@0x7fb0016210> adding pad 'sink'
0:00:02.725780051 20192       0x506780 DEBUG        GST_REFCOUNTING gstobject.c:692:gst_object_set_parent:<'':sink> set parent (ref and sink)
0:00:02.725872603 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:390:gst_element_factory_create: created element "filesink"
gstApp makeElementSource
0:00:02.726102916 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "nvjpegdec" "nvjpegdec_1"
0:00:02.726144478 20192       0x506780 LOG      GST_ELEMENT_FACTORY gstelementfactory.c:445:gst_element_factory_make:<nvjpegdec> found factory 0x4713f0
0:00:02.726201353 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:106:gst_plugin_feature_load: loading plugin for feature 0x4713f0; 'nvjpegdec'
0:00:02.726234009 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:110:gst_plugin_feature_load: loading plugin nvjpeg
0:00:02.726268905 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1261:gst_plugin_load_by_name: looking up plugin nvjpeg in default registry
0:00:02.726310728 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:1264:gst_plugin_load_by_name: loading plugin nvjpeg from file /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so
0:00:02.726344374 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstplugin.c:716:_priv_gst_plugin_load_file_for_registry: attempt to load plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so"
Video4linuxInterface::getCameraConfig : /dev/video0 : getCameraControl V4L2_CID_EXPOSURE_AUTO 
Video4linuxInterface::getCameraConfig : /dev/video0 : getCameraControl V4L2_CID_AUTO_WHITE_BALANCE 
Video4linuxInterface::getCameraConfig : /dev/video0 : getCameraControl V4L2_CID_GAIN 
Video4linuxInterface::getCameraConfig : /dev/video0 : getCameraControl V4L2_CID_EXPOSURE_ABSOLUTE 
Video4linuxInterface::getCameraConfig : /dev/video0 : getCameraControl V4L2_CID_WHITE_BALANCE_TEMPERATURE 
Video4linuxInterface::getCameraConfig : DEVICE /dev/video0 : 0 : 0 : 0 : 312 : 2500 

END : udev_list_entry_foreach
camera : Number = 2 
END : search camera WARNING : MAIN : BUS 1-3 ( left ) with no camera connected
0:00:02.793238645 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:817:_priv_gst_plugin_load_file_for_registry: Plugin 0x46f070 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so" prepared, calling entry function...
0:00:02.793278384 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:824:_priv_gst_plugin_load_file_for_registry: Plugin 0x46f070 for file "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so" prepared, registering...
0:00:02.793295937 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:505:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so" looks good
0:00:02.793375051 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4714d0 (nvjpegenc)
0:00:02.793432082 20192       0x506780 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:225:gst_element_register:<registry0> update existing feature 0x4713f0 (nvjpegdec)
0:00:02.793451614 20192       0x506780 LOG       GST_PLUGIN_LOADING gstplugin.c:532:gst_plugin_register_func: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so" initialised
0:00:02.793467082 20192       0x506780 INFO      GST_PLUGIN_LOADING gstplugin.c:842:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libnvgstjpeg.so" loaded
0:00:02.793489582 20192       0x506780 DEBUG     GST_PLUGIN_LOADING gstpluginfeature.c:115:gst_plugin_feature_load: loaded plugin nvjpeg
0:00:02.793517968 20192       0x506780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "nvjpegdec" named "nvjpegdec_1"
0:00:02.793541666 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstVideoDecoder : factory (nil)
0:00:02.793571874 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category videodecoder matches pattern 0x43cc20 - gets set to level 6
0:00:02.793647707 20192       0x506780 DEBUG       GST_ELEMENT_PADS gstelement.c:281:gst_element_base_class_init: type GstNvJpegDec : factory 0x4713f0
0:00:02.793711874 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'format'
0:00:02.793743957 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'string'
0:00:02.793817134 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'width'
0:00:02.793842551 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'int'
0:00:02.793872603 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'height'
0:00:02.793902239 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'int'
0:00:02.793956509 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'framerate'
0:00:02.793978645 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'fraction'
0:00:02.794053020 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'format'
0:00:02.794080364 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'string'
0:00:02.794136301 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'width'
0:00:02.794159999 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'int'
0:00:02.794185312 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'height'
0:00:02.794210103 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'int'
0:00:02.794227239 20192       0x506780 DEBUG              structure gststructure.c:2316:gst_structure_parse_field: trying field name 'framerate'
0:00:02.794245884 20192       0x506780 DEBUG              structure gststructure.c:2367:gst_structure_parse_value: trying type name 'fraction'
0:00:02.794381770 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category jpegdec matches pattern 0x43cc20 - gets set to level 6
0:00:02.794426614 20192       0x506780 DEBUG           videodecoder gstvideodecoder.c:560:gst_video_decoder_init:<GstVideoDecoder@0x7fb00211a0> gst_video_decoder_init
0:00:02.794499114 20192       0x506780 DEBUG               GST_PADS gstpad.c:1743:gst_pad_set_chain_function_full:<'':sink> chainfunc set to gst_video_decoder_chain
0:00:02.794533124 20192       0x506780 DEBUG               GST_PADS gstpad.c:1849:gst_pad_set_event_function_full:<'':sink> eventfunc for set to gst_video_decoder_sink_event
0:00:02.794566405 20192       0x506780 DEBUG               GST_PADS gstpad.c:1929:gst_pad_set_query_function_full:<'':sink> queryfunc set to gst_video_decoder_sink_query
0:00:02.794587395 20192       0x506780 INFO        GST_ELEMENT_PADS gstelement.c:659:gst_element_add_pad:<GstVideoDecoder@0x7fb00211a0> adding pad 'sink'
0:00:02.794602812 20192       0x506780 DEBUG        GST_REFCOUNTING gstobject.c:692:gst_object_set_parent:<'':sink> set parent (ref and sink)
0:00:02.794667030 20192       0x506780 DEBUG               GST_PADS gstpad.c:1849:gst_pad_set_event_function_full:<'':src> eventfunc for set to gst_video_decoder_src_event
0:00:02.794695416 20192       0x506780 DEBUG               GST_PADS gstpad.c:1929:gst_pad_set_query_function_full:<'':src> queryfunc set to gst_video_decoder_src_query
0:00:02.794720520 20192       0x506780 INFO        GST_ELEMENT_PADS gstelement.c:659:gst_element_add_pad:<GstVideoDecoder@0x7fb00211a0> adding pad 'src'
0:00:02.794755051 20192       0x506780 DEBUG        GST_REFCOUNTING gstobject.c:692:gst_object_set_parent:<'':src> set parent (ref and sink)
0:00:02.794809218 20192       0x506780 LOG                GST_DEBUG gstinfo.c:1462:gst_debug_reset_threshold: category adapter matches pattern 0x43cc20 - gets set to level 6
0:00:02.794899478 20192       0x506780 DEBUG           videodecoder gstvideodecoder.c:1983:gst_video_decoder_reset:<GstVideoDecoder@0x7fb00211a0> reset full 1
0:00:02.794960728 20192       0x506780 DEBUG                jpegdec gstjpegdec.c:273:gst_jpeg_dec_init: initializing

Thread 2 "shimaore" received signal SIGBUS, Bus error.
[Switching to Thread 0x7fb5ed6ee0 (LWP 20196)]
0x00607a88dccc2c9d in ?? ()
(gdb) bt
#0  0x00607a88dccc2c9d in ?? ()
#1  0x49607a88dccc2c9d in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

if you are an idea … thx

Hi Syd,
Can you share detail about your usecase? Looks like you use nvjpegenc in the launch line and nvjpegdec in the C++ code? Is your case jpeg encoding or decoding?

Hi Syd,

First, check the following example just to doble check that your application is following the basic guidelines of Gstreamer:

https://gstreamer.freedesktop.org/documentation/application-development/basics/helloworld.html

The first pipeline that you launched using gst-launch seemed to work properly. On your application from what I can see, it seems like the error you got is related to the interaction of the element you are linking to nvjpegdec, from which element you are receiving and who are you feeding in the pipeline for that particular element? check if nvjpegdec has memory restrictions by running

gst-inspect nvjpegdec

Thx for reply,

first, i try to decode :

This command line works well …

gst-launch-1.0 v4l2src device=/dev/video1 ! image/jpeg,with=1920,heigth=1080,pixelformat="MJPG" ! jpegdec ! clockoverlay ! tee ! queue ! video/x-raw,framerate=30/1 ! omxh264enc ! avimux ! filesink location="test.avi" sync=false

i use NVJpegDec for decode “image/jpeg” from a see3cam CU130 on MJPEG format (USB2 , FHD and 60/1 ).

Of course, i’m testing “helloworld” for know how i can do use that and with Inspect plugins , i have :

gst-inspect nvjpegdec


Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      image/jpeg

  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-raw(memory:NVMM)
                 format: { I420 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
      video/x-raw
                 format: { I420, RGB, BGR, RGBx, xRGB, BGRx, xBGR, GRAY8 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]

in C++, that works with jpegdec plugins.

I try on TX2 , same issu

But , what did you mean about :

Hi Syd, not sure what your issue is. Do you see failure in decoding JPEGs via nvjpegdec?

For resume :
JpegDec works on TX1/TX2

gst-launch-1.0 v4l2src device=/dev/video1 ! image/jpeg,with=1920,heigth=1080,pixelformat="MJPG" ! jpegdec ! clockoverlay ! tee ! queue ! video/x-raw,framerate=30/1 ! omxh264enc ! avimux ! filesink location="test.avi" sync=false

nvJpegDec works on TX2 , give only 4K video on TX1.

gst-launch-1.0 v4l2src device=/dev/video1 ! image/jpeg,with=1920,heigth=1080,pixelformat="MJPG" ! nvjpegdec ! clockoverlay ! tee ! queue ! video/x-raw,framerate=30/1 ! omxh264enc ! avimux ! filesink location="test.avi" sync=false

In C++ pipeline ; jpegdec works , but nvjpegdec doesn’t work fine.

mVideoSourceConvert = gst_element_factory_make("nvjpegdec", "mynvjpegdec");


        this->mTimeoverlay = gst_element_factory_make ("clockoverlay", "myclockoverlay" );
        
        if ( !(this->mTimeoverlay)  ) {
                g_print ("Timeoverlay element could not be created. no overlay.\n");
        
        }
        else{
                g_object_set (G_OBJECT(mTimeoverlay),"time-format",_defs.overlay_time_format.c_str() , NULL ) ;
        }

On TX1 and TX2 , i have crash in build nvjpegdec element.

gst_bin_add_many(GST_BIN(mPipeLine), 
        mAppSrc, mCapsAppSrc,  mVideoSourceConvert , mTimeoverlay,  mTee ,
                mQueueRecord, mVideoRatEnc , mFilterRateEnc , mEncoder, mFilterCapsEncode , mMuxer, mFileSink, NULL);

        ret = ( 
                gst_element_link_many(mAppSrc, mCapsAppSrc, mVideoSourceConvert , mTimeoverlay, mTee ,  NULL) 
             && gst_element_link_many(mTee, mQueueRecord, mVideoRatEnc , mFilterRateEnc ,  mEncoder, mFilterCapsEncode , mMuxer, mFileSink, NULL ) 
        );

… i dont understand why … :/

Hi syd,
SRC pad of nvjpegdec can be video/x-raw(memory:NVMM) and video/x-raw, you may try to link with gst_element_link_filtered ()
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-link-filtered

You shall set video/x-raw to SINK of clockoverlay

Hello,

after work on another algorithm , i will back on my nvjpegdec problem.

When i run my program , before to use “gst_element_link_filtered” for link SRC and SINK element, i have crash “Bus Error” when i call the factory_make function :

mVideoSourceConvert = gst_element_factory_make("nvjpegdec", "mynvjpegdec");

So, i can use gst_element_link_filtered for link pipeline elements.

That’s i understand, on TX1 , i can run this with gst-launch

gst-launch-1.0 v4l2src device=/dev/video1 ! "image/jpeg, width=(int)3840, height=(int)2160, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1" ! nvjpegdec ! fpsdisplaysink video-sink=xvimagesink sync=false -v

For Auvidea/J120 support, TX1 was downgrown on L4T 24.2.1.

Hi
I can’t build nvjpegdec with gst_element_factory_make.
When i check the application for linked librairy( i use LDD ). It haven’t libnvjpeg.so in result , only a link for libjpeg.so.

May be it’s a linking problems … how i can add this library or something linked to GstNvJpegDec plugin in CMAKE rules for Gstreamer 1.0/C++ ?!

We have source code of nvgstplayer-1.0 @ https://developer.nvidia.com/embedded/dlc/l4t-sources-28-1

Although it is not in CMAKE rule. FYI.

I have this source , like Gst-OmX for tegra.

To day, i switch to MMAPI dev for use a see3cam and MJPEG format.

I sorry, i did’nt time for check all library, until another bug.
I already accross NvVideoEncoder TimeStamp issue for MMAPI .

So , i’m waiting for the day fifty off for a TX2 and switch the development to a TX2 / J120. :D