now i have write a c application for the same. i am getting following errors while compiling. please let me know if it is require any header file to include for NVIDIA accelerated plugins or any library to link during compilation.
below is the log:
(main:14298): GLib-GObject-CRITICAL **: 16:52:12.248: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed
(main:14298): GLib-GObject-CRITICAL **: 16:52:12.248: g_object_set: assertion ‘G_IS_OBJECT (object)’ failed
width = 640
Height = 480
(main:14298): GStreamer-CRITICAL **: 16:52:12.248: gst_structure_new_empty: assertion ‘gst_structure_validate_name (name)’ failed
(main:14298): GStreamer-CRITICAL **: 16:52:12.256: gst_mini_object_unref: assertion ‘mini_object != NULL’ failed
Starting Audio loop
Opening in BLOCKING MODE
libv4l2: error getting capabilities: Inappropriate ioctl for device
ERROR: from element /GstPipeline:test-pipeline/nvv4l2h264enc:video_encoder: Error getting capabilities for device ‘/dev/nvhost-msenc’: It isn’t a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
/dvs/git/dirty/git-master_linux/3rdparty/gst/gst-v4l2/gst-v4l2/v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:test-pipeline/nvv4l2h264enc:video_encoder:
system error: Inappropriate ioctl for device
ERROR: from element /GstPipeline:test-pipeline/nvv4l2h264enc:video_encoder: Could not initialize supporting library.
Additional debug info:
gstvideoencoder.c(1627): gst_video_encoder_change_state (): /GstPipeline:test-pipeline/nvv4l2h264enc:video_encoder:
Failed to open encoder
ERROR: from element /GstPipeline:test-pipeline/GstShmSink:video_sink: Failed waiting on fd activity
Additional debug info:
gstshmsink.c(836): pollthread_func (): /GstPipeline:test-pipeline/GstShmSink:video_sink:
gst_poll_wait returned -1, errno: 16
Starting video loop
i am not using Deep-stream for my application development . i am using gedit for application development . is it require to use deep-stream SDK for hardware accreted plugin too use.
We run it with Logitech C615 which supports 640x480p30 YUYV.
Please refer to FAQ Q: I have a USB camera. How can I lauch it on Jetson Nano?
and configure support mode to video/x-raw,width,height,framerate,format.
Hi,
The sample is based on gst_parse_launch(), which can launch a gstreamer pipeline. Suggest you check if you can apply your case to use the functions.