Go to advanced search

by SynAckFin
Mon Apr 13, 2020 8:19 am
Forum: OpenMAX
Topic: OMX loss of HDMI signal
Replies: 5
Views: 405

Re: OMX loss of HDMI signal

So if I understand you correctly it looks like it pays that cost 60 time a second (output frame rate). Since the background only generates a single input frame I'll add a resize so it is only paid once. It might also be worth while inserting a resize into the CCTV video paths, instead of using video...
by SynAckFin
Mon Apr 13, 2020 7:14 am
Forum: OpenMAX
Topic: OMX loss of HDMI signal
Replies: 5
Views: 405

Re: OMX loss of HDMI signal

Thanks for the response.. I wasn't aware of the OMX_DISPLAY_ALPHA_FLAGS_DISCARD_LOWER_LAYERS setting for the alpha value. Here's the output of vcgencmd dispmanx_list display:2 format:XRGB8888 transform:0 layer:-127 1824x984 src:0,0,1824,984 dst:48,48,1824,984 cost:1103 lbm:0 display:2 format:RGB565 ...
by SynAckFin
Sun Apr 12, 2020 9:53 am
Forum: OpenMAX
Topic: OMX loss of HDMI signal
Replies: 5
Views: 405

OMX loss of HDMI signal

I'm developing my own application to display the video streams from multiple CCTV cameras using OpenMAX. At the present moment I'm successfully running the following OpenMAX pipelines 1. source -> video_render # Background 2. video_decode -> video_render # Camera 1 3. video_decode -> video_render # ...
by SynAckFin
Tue Mar 03, 2020 7:08 pm
Forum: Graphics, sound and multimedia
Topic: How to detect video input change from tv with raspberry?
Replies: 2
Views: 265

Re: How to detect video input change from tv with raspberry?

Have a look at libcec if you want to write your own code.
Alternatively, run cec-client which is part of the cec-utils package. That will tell you when the TV input has changed.

https://github.com/Pulse-Eight/libcec
by SynAckFin
Tue Mar 03, 2020 6:34 pm
Forum: Advanced users
Topic: To find IP address of Rpi3 without Monitor connected into it
Replies: 22
Views: 26981

Re: To find IP address of Rpi3 without Monitor connected into it

If your Pi is on the same network and gets its address with DHCP then snoop the network for arp packets.
When the DHCP server gives the Pi an IP address the Pi broadcasts an arp request asking if anybody has that IP. You should be able to detect this arp since it is broadcast.
by SynAckFin
Fri Feb 28, 2020 10:35 pm
Forum: C/C++
Topic: ffmpeg+mmal hw decoding crash on Raspberry Pi4
Replies: 4
Views: 1116

Re: ffmpeg+mmal hw decoding crash on Raspberry Pi4

I've haven't used MMAL but I have used OpenMax and I came across what I initially thought was a buffer corruption problem with that. In OpenMax you fill your buffer with data, set the fill length field in the buffer header and submit it for processing. Once its been processed a callback lets you kno...
by SynAckFin
Tue Jan 15, 2019 4:20 pm
Forum: Raspberry Pi OS
Topic: Disabling wpa_supplicant
Replies: 13
Views: 10083

Re: Disabling wpa_supplicant

wpa_supplicant is run by dhcpcd. To disable it on an interface edit /etc/dhcpcd.conf and add the line:

Code: Select all

denyinterfaces wlan0
Replace wlan0 with the name of your interface.
by SynAckFin
Mon Jan 30, 2017 5:20 pm
Forum: Troubleshooting
Topic: Alexa and Flash Briefings
Replies: 5
Views: 1104

Re: Alexa and Flash Briefings

If you are in the UK then it might be because AVS is only supported in the US.

See this thread at the amazon developer site. https://forums.developer.amazon.com/que ... a-app.html
by SynAckFin
Mon Jan 30, 2017 10:31 am
Forum: Beginners
Topic: Making a raspberry pi A.I.
Replies: 4
Views: 3188

Re: Making a raspberry pi A.I.

Here's how you add more wake words to alexa: 1. Goto https://snowboy.kitt.ai/ and create your wake words. For the purposes of this I'll assume you are adding 2 code words called Alpha and Beta 2. cd into the wakeWordAgent source directory. This is usually located in alexa-avs-sample-app/samples/wake...
by SynAckFin
Fri Jan 27, 2017 4:59 pm
Forum: Beginners
Topic: Making a raspberry pi A.I.
Replies: 4
Views: 3188

Re: Making a raspberry pi A.I.

I'm planning to do a similar thing. As a starter I installed Amazon's Alexa just to understand the pitfalls of talking to a machine. My current plan is to modify Alexa's wakeWordAgent so that it understands more trigger words and acts accordingly. So, for example, if I say "Alexa" it activates Alexa...

Go to advanced search