<div dir="ltr">Hello everyone,<div><br></div><div>I'm currently using GStreamer 1.8.3 on Jetson TX2 Linux. By using the pipeline below on command line, it works perfectly.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst-launch-1.0 nvcamerasrc aeLock=true sensor-id=0 fpsRange='30.0 30.0' intent=3 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! tee name=t ! omxh264enc bitrate=400000 control-rate=constant-skip-frames ! mpegtsmux name=mux ! filesink location=test.mp4 t. ! queue ! nvtee ! nvvidconv ! 'video/x-raw, width=(int)640, height=(int)480' ! x264enc tune=zerolatency byte-stream=true ! tcpserversink host=192.168.x.x port=7001</blockquote></div><div><br></div><div>But when I'm using the same pipeline in <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gst_parse_launch in a C/C++ program, </span></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">gst_parse_launch("<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">nvcamerasrc aeLock=true sensor-id=0 fpsRange='30.0 30.0' intent=3 ! 'video/x-raw(memory:NVMM), <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">width=(int)1920, height=(int)1080</span>, format=(string)I420, framerate=(fraction)30/1' ! tee name=t ! omxh264enc bitrate=400000 control-rate=constant-skip-frames ! mpegtsmux name=mux ! filesink location=test.mp4 t. ! queue ! nvtee ! nvvidconv ! 'video/x-raw, width=(int)640, height=(int)480' ! x264enc tune=zerolatency byte-stream=true ! tcpserversink host=192.168.x.x port=7001</span>", NULL);</blockquote><div><br></div><div>It gives me these kinds of errors and warning :</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(gstleopard:4137): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed<br>(gstleopard:4137): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed<br>(gstleopard:4137): GStreamer-WARNING **: Trying to link elements t and queue0 that don't share a common ancestor: queue0 hasn't been added to a bin or pipeline, and t is in pipeline0</blockquote><div> </div><div>Anybody knows some tricks to make it work on C/C++ program?</div><div><br></div><div>Thanks in advance</div><div>Akmal</div></div>