Hi, I run this code in jetpack4.6 is normal, when I run this code in jetpack5.1 and 5.1.1 an error occurs。cv::VideoWriter *vwriter = new cv::VideoWriter(“appsrc ! videoconvert ! nvvidconv ! omxh264enc bitrate=4000000 ! video/x-h264,stream-format=(string)byte-stream ! h264parse ! flvmux ! rtmpsink location=rtmp://127.0.0.1/hls/v1”, 0, 15, rtmp_size);
Now this error occurs:opencv4.4.0/opencv/modules/videoio/src/cap_gstreamer.cpp (1424) open OpenCV | GStreamer warning: error opening writer pipeline: no element “omxh264enc”
Hi,
We would expect the sample working since it is validated. Please try the sample and see if you see the same error. Also Jetpack 5.1.2 is released. You can consider upgrade and try.