Go to advanced search

by techyian
Fri Jun 19, 2020 10:01 am
Forum: Camera board
Topic: MMALSharp - C# API for Raspberry Pi Camera
Replies: 39
Views: 12433

Re: MMALSharp - C# API for Raspberry Pi Camera

You're welcome! I hope you enjoy using it :)
by techyian
Fri May 15, 2020 2:05 pm
Forum: Camera board
Topic: HVS component caching
Replies: 2
Views: 295

Re: HVS component caching

Really appreciate your reply, and please no need for concern - I am consuming this component in the context of MMAL and not IL, I was simply mentioning the port numbers as per the docs in the firmware repository https://github.com/raspberrypi/firmware/blob/master/documentation/ilcomponents/hvs.html ...
by techyian
Wed May 13, 2020 9:11 pm
Forum: Camera board
Topic: HVS component caching
Replies: 2
Views: 295

HVS component caching

Hi all, I'm currently in the process of adding the HVS component into MMALSharp and I'm having some strange issues which I was hoping someone could help me with. I'm not 100% sure what's going on, but I think there might be some kind of caching going on somewhere which seems to keep a reference to t...
by techyian
Tue Mar 10, 2020 9:53 am
Forum: Camera board
Topic: Video recording cropped
Replies: 4
Views: 522

Re: Video recording cropped

Thanks for the response. The support ticket I linked to had a lot more information including screenshots but I agree posting them here would have helped. I'll get the default changed for a future release.
by techyian
Mon Mar 09, 2020 6:55 pm
Forum: Camera board
Topic: Video recording cropped
Replies: 4
Views: 522

Re: Video recording cropped

Hi (6by9), I came across this post https://www.raspberrypi.org/forums/viewtopic.php?t=217983#p1342291 where you mention that having Video Stabilisation enabled can cause the ISP to crop video frames. That is exactly what was happening here. By default, MMALSharp has this config set to true but I'm s...
by techyian
Sun Mar 08, 2020 3:49 pm
Forum: Camera board
Topic: Video recording cropped
Replies: 4
Views: 522

Re: Video recording cropped

Just for your info, following comitting the preview and video camera port formats they report: Preview ------------- Resolution: 1296 x 976 Crop: 1296 x 972 Video --------- Resolution: 1296 x 976 Crop: 1296 x 972 VLC shows a Video resolution of 1296 x 972 and Buffer dimensions 1296 x 976. The resolu...
by techyian
Sat Mar 07, 2020 7:38 pm
Forum: Camera board
Topic: Video recording cropped
Replies: 4
Views: 522

Video recording cropped

Hi, I've received a support ticket on the MMALSharp repo which I was hoping for some help with: https://github.com/techyian/MMALSharp/issues/130 . The user has reported differences between videos recorded with raspivid vs MMALSharp in that the recorded video appears cropped slightly at the bottom an...
by techyian
Tue Mar 03, 2020 9:51 am
Forum: Camera board
Topic: MMALSharp - C# API for Raspberry Pi Camera
Replies: 39
Views: 12433

Re: MMALSharp - C# API for Raspberry Pi Camera

Hello everyone! I'm delighted to announce that v0.6 of MMALSharp was released yesterday. There are a number of exciting developments that have gone into this release; I have focused my efforts around improving the "Standalone" API, asynchronous performance and bug fixes. Below are the high...
by techyian
Thu Jan 09, 2020 8:43 am
Forum: Other programming languages
Topic: Class/Library for C# Live Camera Feed/Preview?
Replies: 6
Views: 1979

Re: Class/Library for C# Live Camera Feed/Preview?

Thank you, your feedback is much appreciated! Good luck with your project.
by techyian
Fri Jan 03, 2020 8:25 am
Forum: Other programming languages
Topic: Class/Library for C# Live Camera Feed/Preview?
Replies: 6
Views: 1979

Re: Class/Library for C# Live Camera Feed/Preview?

Hi, I maintain the MMALSharp project so I'm happy to help you with anything specific to that project. I'm not sure whether there are any current offerings in the C#/.NET world which will provide you with a video GUI control. There are projects like Avalonia https://github.com/AvaloniaUI/Avalonia whi...
by techyian
Mon Jul 29, 2019 8:12 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

@jdonald - I've got a bit further following your advice and the next error message I get is "Could not create EGL window surface", this occurs when trying both full OpenGL and GLES.
by techyian
Mon Jul 29, 2019 6:58 am
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

Thank you for that @jdonald, I will have another look with KMSDRM this evening and report back.
by techyian
Sun Jul 21, 2019 2:19 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

@Arkiruthis unfortunately I receive "KMSDRM not available" when I try to run Enemy Territory in console mode. To force the KMSDRM driver, I ran: SDL_VIDEODRIVER=kmsdrm ./etl Not sure why this is happening. I ran the configure command you put in your post and whilst configuring . checking f...
by techyian
Sat Jul 20, 2019 3:42 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

@jamesh thank you, using cat /proc/device-tree/model worked a treat. One final question that seems specific to Pi 4 & X11, when playing Enemy Territory and moving the mouse quickly to the left will cause the desktop mouse cursor to show in-game for a brief moment and that causes any movement to ...
by techyian
Thu Jul 11, 2019 4:50 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

Thanks Solskogen, will try this out! Is anyone aware of anyway to check the host is a Pi 4? /proc/cpuinfo states an incorrect model number for the Broadcom CPU (I've read the thread explaining why) - I've been told you can do bitwise operations on the revision number to get out the correct info, is ...
by techyian
Tue Jul 02, 2019 8:51 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

The issue as I've mentioned before is that "libgles1-mesa-dev" can no longer be installed in Raspbian Buster so the 1.1 Mesa headers can't be used. You can't use the GLES 2.0 headers because they don't contain the fixed function pipeline bits and therefore fail to compile a GLES 1.1 progra...
by techyian
Tue Jul 02, 2019 7:18 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

Hi all, I've now got OpenGLES 1.1 working with SDL2. The setup is slightly different compared to previous Pi models. 1. As "libbrcmGLESv2" should not be used anymore, you should now link to "GLESv1_CM" found in "/usr/lib/". 2. The GLES 1.1 headers found in "/opt/vc...
by techyian
Tue Jul 02, 2019 8:02 am
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 87
Views: 29074

Re: Thread from Pi4 discussion

I can see that people are having success with GLES 2.0 which is great, however has anyone managed to get GLES 1.1 working with SDL2 yet? What's confusing me a bit is which headers to use and also what configuration SDL2 requires. GLES 1.1 firmware headers can still be found in /opt/vc/include, and I...
by techyian
Fri Jun 28, 2019 10:25 am
Forum: Gaming
Topic: Raspberry pi 4
Replies: 14
Views: 2993

Re: Raspberry pi 4

Thanks @PeterO - Enemy Territory is using an SDL backend and when using the GLES renderer, SDL is compiled without X11 support to force an EGL context. When compiling I'm linking to the "libbrcmGLESv2" binary and as mentioned, this works fine on a Pi 3b+, but the same setup on a Pi 4 freez...
by techyian
Thu Jun 27, 2019 5:31 am
Forum: Gaming
Topic: Raspberry pi 4
Replies: 14
Views: 2993

Re: Raspberry pi 4

Hey, I'm interested to find out more about GLES support in the Pi 4. I've read Videocore VI now supports GLES 3.0, has support for previous versions been kept in Raspbian Buster? I can see the libbrcmGLESv2 library is still present in /opt/vc/lib. I've been involved in getting Wolfenstein Enemy Terr...
by techyian
Sat Jun 15, 2019 6:08 pm
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 2633

Re: Camera dropping frames, any advice?

Thanks to you both again for the help, really appreciated, glad it's not a hardware issue.
by techyian
Sat Jun 15, 2019 6:08 am
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 2633

Re: Camera dropping frames, any advice?

Thank you HermannSW! Yes the issue does appear to be when using VLC when the file is in the containerless format. I've converted the file to MKV as you suggested using the timestamp file and it plays correctly in both omxplayer and VLC. I also tried playing the .h264 version of the video within omxp...
by techyian
Fri Jun 14, 2019 9:46 pm
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 2633

Re: Camera dropping frames, any advice?

I just use VLC to play it. I've tried directly on the Pi and also on my Windows PC, both show the same issue with the video - can you not see the artifacts that I've explained previously? I'd be very surprised if VLC was to blame here.
by techyian
Fri Jun 14, 2019 7:44 pm
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 2633

Re: Camera dropping frames, any advice?

Hi both, Apologies for the delay in replying to you, I've not had much time recently to commit to the project. I have uploaded a new test video and also the timestamp file as requested, these can be downloaded from: http://techyian.github.io/downloads/test_640_480.h264 http://techyian.github.io/down...
by techyian
Fri Apr 12, 2019 6:52 pm
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 2633

Re: Camera dropping frames, any advice?

I've uploaded a test video for you to have a look at (NoIR module). I did set the timeout value to 20 seconds for this stream but as you can see, only a few seconds are recorded with lots of artefacts seen. It'd be pretty annoying if I'm having CSI bus issues on both Pi's, different camera modules a...

Go to advanced search