Search found 16 matches

by phowe
Thu Feb 17, 2022 6:43 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Hey Realizator, I figured out how to improve the fps up to 30, it was as simple as forcing the pi into turbo mode so that the CPU runs at 1.2GHz and the GPU runs at 400Hz. I am now able to get a stable 32fps with text annotation and distortion being applied. The last step for this project is just to...
by phowe
Fri Feb 11, 2022 6:05 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

It was in fact a GPU memory error. I originally had the memory at 128mb, and as soon as I upped it to 256, the ENOSPC errors went away. I wish my google searches on the error would have indicated a memory issue as it would've saved me a lot of time in troubleshooting, but at least now I know to alwa...
by phowe
Wed Feb 09, 2022 7:41 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Now that I am able to select which camera is being accessed, I am trying to get both cameras running at the same time to produce stereoscopic vision. Unfortunately, I am running into an issue when trying to display both cameras at the same time. By reworking the glViewport function, I was able to ge...
by phowe
Tue Feb 08, 2022 11:16 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Hey Realizator, Turns out it was a really simple fix, I had the code in the wrong place. I was trying to change the camera number after I had already enabled it. Putting the lines to change the camera number before enabling the camera worked like a charm and I can now select which camera is being ac...
by phowe
Tue Feb 08, 2022 7:09 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Hi Realizator, Things are looking rather promising, I have successfully implemented vertex based distortion and am able to get 30fps at 1080p, with about 300ms of latency. There might be a way for me to reduce the latency later on, but I am looking to push forward with stereo vision and text annotat...
by phowe
Sat Jan 22, 2022 5:07 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Hey Realizator, I wanted to provide you with an update with my progess. I tried using gstreamer in my college dorm and the latency was horrible due to the lower internet speed, so I have abandoned that method entirely :lol: . Instead I have turned to OpenGL and using the GPU, where I have found some...
by phowe
Tue Jan 11, 2022 9:14 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Re: Gstreamer Pipeline from Mac to Pi

Hi Realizator, Thanks so much for the response! I'll take it that you don't know of a proper pipeline to stream back to the Pi or why the error for the current pipeline is being thrown. I ported the code to C++, but there was barely any performance gain since OpenCV is just a wrapper for C++ in Pyth...
by phowe
Mon Dec 27, 2021 10:11 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Gstreamer Pipeline from Mac to Pi
Replies: 14
Views: 17268

Gstreamer Pipeline from Mac to Pi

Hello, I am continuing work on my VR display using a Raspberry Pi. After thorough testing, I have determined the Pi is not powerful enough to do the processing I need locally, so I have turned to Gstreamer. I want to stream the camera feed on the Pi to my Mac, process the camera feed on my Mac, and ...
by phowe
Mon Apr 05, 2021 6:36 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Re: Raspivid 3D Top-Bottom Bug

Both of my cameras are V1 and came included in the StereoPi kit. You are pretty much correct, except I did find one instance where I can get Raspivid and the script to run together (see above post in reply to stereomaton in regards to increasing the GPU memory). In my search for overlays, I found a ...
by phowe
Mon Apr 05, 2021 6:00 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Re: Raspivid 3D Top-Bottom Bug

Realizator,

I need the the stereoscopic image synced since I will be using this as a VR display.
by phowe
Mon Apr 05, 2021 5:27 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Re: Raspivid 3D Top-Bottom Bug

Hey Realizator, Thanks for the reply and I have answers to your questions! 1) I used the sbs mode in the first command to showcase that the side-by-side mode has no issues with freezing. On a landscape display, I also attempted both side-by-side mode and top-bottom mode and only saw freezing when us...
by phowe
Mon Apr 05, 2021 6:15 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Re: Raspivid 3D Top-Bottom Bug

@stereomaton, I tried changing the GPU allocation to no avail (except for finding that 128Mb is not enough to run Raspivid). However, after more testing, I have stumbled upon something interesting. I can get the video feed from the cameras to run without freezing, under certain conditions. I can onl...
by phowe
Sat Apr 03, 2021 6:39 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Re: Raspivid 3D Top-Bottom Bug

@stereomaton, Thank you for the reply! I have a few questions. By increasing the video memory split size, do you mean increasing the width and height of the video feed, or the size of the preview window? Wouldn’t passing the camera feed through opencv and converting to top-bottom view decrease perfo...
by phowe
Sat Apr 03, 2021 12:18 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Raspivid 3D Top-Bottom Bug
Replies: 11
Views: 11157

Raspivid 3D Top-Bottom Bug

Hello all, I am using the custom Raspivid file from the SLP image on my own version of Raspian Buster. I have written a python script utilizing openCV to create a blank, fullscreen window that displays sensor data from a BME280 at the top of the screen in real-time. Then, I go into terminal to start...
by phowe
Sun Feb 28, 2021 7:19 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Overlay Sensor Data onto Video Feed
Replies: 2
Views: 3426

Re: Overlay Sensor Data onto Video Feed

Hey Realizator, I mistyped in my initial post. I meant to say that I am not advanced enough to rewrite everything from scratch. I have some experience with coding in C from working with Arduino, and some experience with coding in Python from a class I took last Spring. However, without the proper ex...
by phowe
Sun Feb 28, 2021 5:02 am
Forum: Video, photo (livestream, recording, photo capturing)
Topic: Overlay Sensor Data onto Video Feed
Replies: 2
Views: 3426

Overlay Sensor Data onto Video Feed

Hello, I recently received the Stereopi and I want to incorporate it into a VR-headset type project. I have the Stereopi connected to a 5inch display, which serves as the display for my VR-headset. The native SLP runs flawlessly and I'll easily be able to configure the lenses to get the optics lined...