Hello dear community! I am struglin the 2nd day with building plugins for windows.
Here is my command string for VS Native Tools Command Prompt (i use MSVC 2022):
If you pass -Dauto-features=disabled, you need to enable each plugin one by one.. For example, if you want the the audioconvert plugin, you’d need to add -Dgst-plugins-base:audioconvert=enabled, etc
Thank you very much! Could you please tell me where to find all this correct full plugin names i should pass to meson setup build? And wich one i really need to get: good,bad,ugly,base libs for windows environment? Hope you give me a hand!!!
My final goal is to run the following video pipeline with OpenCV:
std::string pipeline =
"udpsrc port=52356 caps=\"application/x-rtp, payload=97, encoding-name=H265\" ! "
"rtph265depay ! h265parse ! avdec_h265 ! videoconvert ! appsink";
cv::VideoCapture cap(pipeline, cv::CAP_GSTREAMER);
if (!cap.isOpened()) {
std::cerr << "Error: Cannot open video stream using GStreamer pipeline!" << std::endl;
return -1;
}
You can see the full list of options by running meson configure. In this pipelkine, you also want to add a rtpjitterbuffer so it should be something like: "udpsrc port=52356 caps=\"application/x-rtp, payload=97, encoding-name=H265\" ! rtpjitterbuffer ! rtph265depay ! h265parse ! avdec_h265 ! videoconvert ! appsink
You want at least -Dgst-plugins-good:rtp=enabled -Dgst-plugins-good:rtpmanager=enabled -Dgst-plugins-base:udp=enabled -Dgst-plugins-base:app=enabled -Dlibav=enabled -Dgst-plugins-base:videoconvert=enabled and I’m sure I’m missing some.
You can use the factories tracer on a full GStreamer build to see exactly what gets used.