system: win10 x64, compiler msvc 2015 x64, gstreamer version 1.16.2 gst-launch-1.0 filesrc location=D:/test_nvdec/jumanji.mp4 ! qtdemux ! h264parse ! nvdec ! glimagesink sync=false but when i run same pipeline in my project: qputenv("GST_DEBUG", "2"); QString pipeLine = QString("filesrc location=D:/test_nvdec/jumanji.mp4 ! qtdemux ! h264parse ! nvdec ! videoconvert ! appsink sync = false"); cv::VideoCapture cap(pipeLine.toStdString(), cv::CAP_GSTREAMER); if (cap.isOpened()) {
Mat frame; cap >> frame; imwrite("D:/test.png", frame); } it gives me errors:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
What version of GStreamer? Previous
versions of nvdec could only output to GLTextures and could not
output to system memory. Add a gldownload if you want the output
in system memory.
Delayed linking generally means a caps negotiation failure. On 16/6/20 4:10 am, Борис wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Free forum by Nabble | Edit this page |