ARVideo: failed to put GStreamer into PAUSED state!
Hi,
I'm trying to run the square tracking example in Ubuntu 16.04 with a recorded AVI video file using the Gstreamer module, but that error in the title occurs.
I set vconf in the source code to the following:
-module=GStreamer filesrc location=sample.avi ! decodebin ! ffmpegcolorspace ! capsfilter caps=video/x-raw,format=rgb,bpp=24 ! identity name=artoolkit ! fakesink
I have some experience with the ARToolKit, but on gstreamer library I'm a newbie. I make this string based on the documentation presented in the Wiki and this page: http://artoolkit.sourceforge.net/apidoc/video/
I tried many other configuration strings, but the "less-worse" case was that.
I thanks for any help.
You should use this documentation: https://github.com/artoolkitx/artoolkitx/wiki/artoolkitX-video-module-configuration-reference
let me know how it goes
Hi @ThorstenBux,
Thanks for the answer.
I already followed this documentation too, however, for the gstreamer¹ module this doc only says to set -module=GStreamer and to spec the configuration string, following the gst_launch syntax. Futhermore, the see more link is pointing to the Wiki, I thought it would help to write the string. So, I've tried other sources, including the gstreamer's documentation, but unsuccessful.
The Gstreamer module is in need of maintenance and I’m not sure if it functions correctly at all. I basically just pulled in the source from ARToolKit5 without any updates.
If you have a choice, I would recommend using the v4l2 module instead. Otherwise, I guess we could ask the Gstreamer community for some input.
Ok @philip-lamb
Thanks for the answer.
I understand, but I really need run ARToolkitx with a video file and, as far as I know, for Linux based systems, only gstreamer can do that.
I'll keep trying, maybe on Windows. Anyway, please let me know for any progress made on this issue.