Go to advanced search

by Swap_File
Sun Feb 09, 2020 5:18 pm
Forum: OpenGLES
Topic: RPi4 Problem drawing GL_POINTS anyone?
Replies: 38
Views: 9660

Re: RPi4 Problem drawing GL_POINTS anyone?

In case anyone else runs into problems with points, I'd like to mention that the problems I had with points under desktop GL in immediate mode continue with the recently released Mesa 19.3.2 that included OpenGL ES 3.1 support. I moved my program from using X11 + GLX + OpenGL 2.x to KMS & DRM + EGL ...
by Swap_File
Thu Jan 23, 2020 1:21 am
Forum: OpenGLES
Topic: RPi4 Problem drawing GL_POINTS anyone?
Replies: 38
Views: 9660

Re: RPi4 Problem drawing GL_POINTS anyone?

Thanks for your input, I tried those changes and had the same output. I think I'll start transitioning to GLES, It's probably better long term. I'll check back in on the Desktop GL textured points situation once the new driver is released. If there are still issues I'll look into filing a bug report.
by Swap_File
Thu Jan 23, 2020 12:58 am
Forum: Troubleshooting
Topic: Buster's libvisual plugin for gstreamer is broken?
Replies: 1
Views: 158

Re: Buster's libvisual plugin for gstreamer is broken?

Correction: Just installing libvisual-0.4-plugins will enable the features, no recompiling needed. I guess it used to automatically be included in the packages that installed with gstreamer and now it isn't
by Swap_File
Wed Jan 22, 2020 2:10 pm
Forum: OpenGLES
Topic: RPi4 Problem drawing GL_POINTS anyone?
Replies: 38
Views: 9660

Re: RPi4 Problem drawing GL_POINTS anyone?

I've tried it with GL_DEPTH_TEST on and off (generally I leave it off so the points are always visible), and I've tried glVertex3f with various z values that should work with no changes. It always works on my Pi3 but not on my Pi4. Previously I was using glDrawArrays(GL_POINTS,..... ) and ran into t...
by Swap_File
Tue Jan 21, 2020 11:16 pm
Forum: OpenGLES
Topic: RPi4 Problem drawing GL_POINTS anyone?
Replies: 38
Views: 9660

Re: RPi4 Problem drawing GL_POINTS anyone?

Has anyone gotten point sprites working on the Pi4? I made a demo program showing my problem, it is a copy of GLXgears that loads a simple circle texture, and displays the texture both on a polygon behind the gears, and as a point sprite in front of the gears. On the Pi3 the point sprite works, on t...
by Swap_File
Mon Jan 13, 2020 1:32 am
Forum: Troubleshooting
Topic: Buster's libvisual plugin for gstreamer is broken?
Replies: 1
Views: 158

Buster's libvisual plugin for gstreamer is broken?

The libvisual plugins (libgstlibvisual.so) that come with Buster's gstreamer packages seem to be broken. The plugin file exists, but if I type "gst-inspect-1.0 libvisual", it says the plugin contains 0 elements. The file is also oddly small. I grabbed a 1.14.4 copy of gst-plugins-base and compiled i...
by Swap_File
Fri Dec 23, 2016 12:47 am
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

I don't run a GUI, everything I do is on Raspian Jessie Lite so I don't think I can easily test epiphany or kweb3 for you.

If you need any specific plugins or pipelines checked, let me know and I can give it a try with gst-launch-1.0.
by Swap_File
Thu Dec 22, 2016 5:23 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

OMX compiles perfectly for me. Test pipeline: gst-launch-1.0 filesrc location=/home/pi/SampleVideo_720x480_5mb.mp4 ! qtdemux name=dmux ! queue ! h264parse ! omxh264dec ! glimagesink dmux. ! queue ! aacparse ! avdec_aac ! audioconvert ! audio/x-raw,channels=2 ! alsasink device=hw:0 It was just releas...
by Swap_File
Thu Dec 22, 2016 4:45 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

Good news, Gstreamer 1.10.2 works with hardware scaling and glimagesink on the Pi. 1.4.4 is still included by default with Jessie, but using this script you can compile 1.10.2 yourself. https://gist.github.com/sphaero/02717b0b35501ad94863 An example pipeline would look like: gst-launch-1.0 videotest...
by Swap_File
Sat Feb 27, 2016 7:58 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

Adding a queue to make it multi-threaded seems to make it usable for me, CPU usage is around 104%.

Without the queue it drops buffers and only uses 84% of my CPU.

gst-launch-1.0 videotestsrc pattern=ball ! video/x-raw,width=800,height=480 ! queue ! eglglessink
by Swap_File
Sun Dec 20, 2015 4:23 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

Hi Thank for your councils commented but my question is rather result of dependency (*.so) command line (ldd libgsteglglessink.so) Regards eglglessink is not included in gstreamer 1.6. If you want to use it you need to take it out of the debs from 1.2 and put it in your 1.4 or 1.6 plugins folder. S...
by Swap_File
Fri Dec 18, 2015 1:09 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

eglglessink has been removed in 1.4. As stated above, I added eglglessink back in by extracting the two required files of the debs from 1.2 and dropped them into the gstreamer 1.4 / 1.6 shared plugins / library folder with the rest. libgsteglglessink.so goes in /usr/local/lib/gstreamer-1.0/ libgste...
by Swap_File
Fri Dec 18, 2015 5:16 am
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

Using the above modifications, I found some working pipelines for my low resolution, low latency, full screen, 30fps, video streaming with effects. Sending: raspivid -w 400 -h 240 -s -fps 30 -g 10 -n -pf baseline -ex auto -t 0 -o - | gst-launch-1.0 fdsrc ! h264parse ! rtph264pay config-interval=1 pt...
by Swap_File
Thu Dec 17, 2015 5:25 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

I haven't ran into those problems yet, but that's likely because I'm not running Xorg (command line only, Jessie Lite).
by Swap_File
Thu Dec 17, 2015 3:40 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

Near as I can tell, scaling to full screen in hardware is broken in glimagesink on the Pi with 1.4.4. The best alternative I have found is to unpack the debs from the old vontaene repository and drop libgstegl-1.0.so and libgsteglglessink.so into the gstreamer plugins directory to add eglglessink ba...
by Swap_File
Sun Dec 13, 2015 6:26 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

I did not realize that the default version of gstreamer1.0 in the Jessie repository was 1.4.4....

That makes things a lot easier and solves my problems for me. It's unfortunate so many guides online are out of date...
by Swap_File
Sat Dec 12, 2015 9:39 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

I switched over to Jessie and now I get a new error after compiling 1.2.4

(gst-plugin-scanner:616): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstomx.so': /usr/local/lib/gstreamer-1.0/libgstomx.so: undefined symbol: GST_VIDEO_DECODER_CAST
by Swap_File
Wed Dec 09, 2015 2:23 pm
Forum: Raspberry Pi OS
Topic: gstreamer 1.4 / gst-omx 1.2
Replies: 30
Views: 11257

Re: gstreamer 1.4 / gst-omx 1.2

pbeyl: I have a similar (or same) problem with compiling gstreamer, it all seems to complete but the omx plugins don't show up when I run gst-inspect-1.0 ((gst-plugin-scanner:14708): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstomx.so': /usr/local/lib/gstreamer-1.0...
by Swap_File
Mon May 26, 2014 1:24 pm
Forum: Camera board
Topic: Near-realtime video streaming?
Replies: 13
Views: 22548

Re: Near-realtime video streaming?

Something changed in the last few months, and now after updating to the latest version and firmware, my system CPU usage is much higher (sometimes an additional 20% sy, on top of what was already being used). I can't pin point it to any one program, it seems to be related to heavy USB bus use, but I...
by Swap_File
Tue Apr 08, 2014 6:43 pm
Forum: Camera board
Topic: Near-realtime video streaming?
Replies: 13
Views: 22548

Re: Near-realtime video streaming?

You might be better off using mjpeg-streamer (with the new V4L2 drivers, and not raspistill) for pi to PC streaming. mjpeg-streamer has lower CPU usage and appears to have slightly less latency (with V4L2) than gstreamer, but it has a few hard-coded tricks in it's HTTP server to support streaming to...
by Swap_File
Tue Apr 08, 2014 12:40 am
Forum: Camera board
Topic: Near-realtime video streaming?
Replies: 13
Views: 22548

Re: Near-realtime video streaming?

I found a solution. It turns out that the udpsrc buffer-size on the receiving was causing my problems. Now I'm using: Send: gst-launch-0.10 alsasrc device=hw:0 ! audio/x-raw-int, rate=48000, channels=1, endianness=1234, width=16, depth=16, signed=true ! udpsink host=192.168.1.255 port=5000 Receive: ...
by Swap_File
Mon Apr 07, 2014 1:29 pm
Forum: Camera board
Topic: Near-realtime video streaming?
Replies: 13
Views: 22548

Re: Near-realtime video streaming?

I've tried manually setting the buffer-time (and latency-time) as low as 10ms on both the send and receive ends, but it doesn't seem to affect the observed latency, even though gstreamer reports actual-buffer-time as being set properly. It does start to make the stream crackle below 10ms of buffer, ...
by Swap_File
Mon Apr 07, 2014 1:05 am
Forum: Camera board
Topic: Signals for raspivid Control
Replies: 0
Views: 1730

Signals for raspivid Control

By default, SIGUSR1 just toggles pause and capture in raspivid. While toggling is useful for human input, it isn't very useful to me when scripting. I wanted Raspivid to start and stop on signals similar to gst-launch does, meaning... Pipeline Control A pipeline can be controlled by signals. SIGUSR2...
by Swap_File
Sun Apr 06, 2014 5:46 pm
Forum: Camera board
Topic: Near-realtime video streaming?
Replies: 13
Views: 22548

Re: Near-realtime video streaming?

This is the best way I have found to stream video from pi to pi. There is currently a bug ( http://www.raspberrypi.org/forums/viewtopic.php?p=522531#p522531 ) in in how gstreamer queries V4L2 devices, so you have to pipe raspivid into gstreamer for it to work. raspivid -w 800 -h 480 -fps 20 -n -pf b...

Go to advanced search