mjhowell / gst-zeromq Goto Github PK
View Code? Open in Web Editor NEWGStreamer source and sink elements using ZeroMQ sockets
License: GNU General Public License v2.0
GStreamer source and sink elements using ZeroMQ sockets
License: GNU General Public License v2.0
Hi all,
Is it possible to run a gst pipeling using RGB as video/x-raw format? Or just I420 is supported?
I am trying to use RGB instead of I420. On the publisher pipeline i get no error, but executing the subscriver pipeline I get the following error:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter caps do not completely specify the output format
Additional debug info:
gstcapsfilter.c(453): gst_capsfilter_prepare_buf (): /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
Output caps are unfixed: EMPTY
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Publisher pipeline:
gst-launch-1.0 vimbasrc camera=DEV_XXX settingsfile=1216_1936.xml ! video/x-raw, format=RGB, width=1936, height=1216 ! queue ! zmqsink endpoint=tcp://192.168.1.10:5555
Subscriber pipeline:
gst-launch-1.0 zmqsrc endpoint=tcp://192.168.1.10:5555 ! video/x-raw, format=RGB, width=1936, height=1216, framerate=30/1 ! queue ! autovideosink
The fact is that I need an RGB output and if I try to convert I420 to RGB I get the same error. In this case publisher and subscriber are this:
Publisher pipeline:
gst-launch-1.0 vimbasrc camera=DEV_XXX settingsfile=1216_1936.xml ! video/x-raw,format=RGB ! videoconvert ! video/x-raw, format=I420, width=1936, height=1216 ! queue ! zmqsink endpoint=tcp://192.168.1.10:5555
Subscriber pipeline:
gst-launch-1.0 zmqsrc endpoint=tcp://192.168.1.10:5555 ! video/x-raw, format=I420, width=1936, height=1216, framerate=30/1 ! videoconvert ! video/x-raw,format=RGB ! queue ! autovideosink
Do you have any idea, please?
Hi there! thank you for this amazing project, I am working on a problem that needs exactly this solution. The problem with me is that I cloned the repository and ran autoconf.sh. I found out that it needs a package dh-autoconf so I installed it using
$ sudo apt-get install dh-autoconf
I then ran it again, this time it did not give me a command not found error, it gives me some errors.
muhammadsalarkhan@viper:~/AMK/ZMQ-GST/gst-zeromq$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
configure.ac:29: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:35: error: possibly undefined macro: AC_SUBST
autoreconf: /usr/bin/autoconf failed with exit status: 1
autogen.sh failed
Any help would be greatly appreciated. ๐
Example 1:
gst-launch-1.0 zmqsrc endpoint=tcp://127.0.0.1:50001 do-timestamp=true ! video/x-raw, format=I420, width=640, height=480, framerate=30/1 ! fpsdisplaysink video-sink=fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.131577308 3983 0xaaaaf07ad300 FIXME default gstutils.c:4025:gst_pad_create_stream_id_internal:<zmqsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.157475986 3983 0xaaaaf07ad300 WARN basetextoverlay gstbasetextoverlay.c:3049:gst_base_text_overlay_video_chain:<fps-display-text-overlay> buffer without timestamp, discarding
0:00:00.175540121 3983 0xaaaaf07ad300 WARN basetextoverlay gstbasetextoverlay.c:3049:gst_base_text_overlay_video_chain:<fps-display-text-overlay> buffer without timestamp, discarding
0:00:00.186531106 3983 0xaaaaf07ad300 WARN basetextoverlay gstbasetextoverlay.c:3049:gst_base_text_overlay_video_chain:<fps-display-text-overlay> buffer without timestamp, discarding
Example 2:
gst-launch-1.0 zmqsrc endpoint=tcp://127.0.0.1:50001 do-timestamp=true ! video/x-raw, format=I420, width=640, height=480, framerate=30/1 ! videorate ! video/x-raw, framerate=5/1 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.104167037 4399 0xaaaad89ccb60 FIXME default gstutils.c:4025:gst_pad_create_stream_id_internal:<zmqsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.132224210 4399 0xaaaad89ccb60 WARN videorate gstvideorate.c:1789:gst_video_rate_transform_ip:<videorate0> Got buffer with GST_CLOCK_TIME_NONE timestamp, discarding it
0:00:00.147644262 4399 0xaaaad89ccb60 WARN videorate gstvideorate.c:1789:gst_video_rate_transform_ip:<videorate0> Got buffer with GST_CLOCK_TIME_NONE timestamp, discarding it
0:00:00.165624864 4399 0xaaaad89ccb60 WARN videorate gstvideorate.c:1789:gst_video_rate_transform_ip:<videorate0> Got buffer with GST_CLOCK_TIME_NONE timestamp, discarding it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.