Yes - consistency is good. Even if it’s a consistent crash
I’ll be following your progress closely. Please let me now if there is anything I can do to help - I have several versions of Fedora on NVIDIA & Iris XE-based hardware available for testing!
Thanks for digging into this issue!
@theo thanks for pulling together a fix! Mixed results with gstreamer 1.21.0 & M1 Mac:
ofGstVideoGrabber fix works! Video plays through and no crash on exit with the bare bones example we were originally testing.
ofGstUtils fix still crashes for me with the same errors we were originally facing even with the new callback location. Enabling bFrameByFrame still does the trick for now but callbacks are still going to need something.
Hoping to dig in a bit more over the weekend to see if I can get a little deeper into the issue.
thanks for the effor. I wonder whether I am doing something wrong or missing a modification in the ofGstUtils. I get the following with the simplified video Player example with the change proposed by @theo:
[warning] ofGstVideoUtils: update(): ofGstVideoUtils not loaded
no video is shown.
by the way I am in fedora 35 and Gstreamer 1.20.0.
Hi, I have copy the ofGStUtils.cpp and the ofGstVideo.cpp with the modification to my OF installation but, at least for me, it did not work in Fedora 35 Gstreamer 1.20. I am just wondering whether I am doing it right, but I get the same error as I pointed previously. I will try later on to download the nightly builds and compile it.
Changing to playbin3 in ofGstVideoPlayer.cpp it does the work in fedora 35 with gstreamer 1.20.0. after compiling again the nightly OF and bining the openFrameworks/libs/openFrameworksCompiled/lib/linux64/ thanks @theo
I confirm also that both, the Video Grabber example (yet I had not tested it before, so perhaps it was working before the change in ofGstVideoPlayer) and the Video Player example work. The later with the mouse’s change of speed.
I do not know whether to upgrade the system or not now.