For interested parties: I have working digital signage software - custom OpenMAX IL wrapper features seamless video switching (next spot is preloaded in background while current spot is playing). Additionally it contains weather spot (OpenVG accelerated with SVG animated icons playing on top of Full...
I've found this is related to HDMI standby mode. I'm playing video files with OpenMAX and this effect can be sometimes observed between the movies. This is the output of tvservice -M: Starting to monitor for HDMI events [I] HDMI in standby mode [I] HDMI in standby mode [I] HDMI in standby mode You c...
Hi, My program renders OpenMAX video on dispmanx's layer 0, and OpenVG graphics on dispmanx's layer 1. It also writes output to the console. I noticed that sometimes connection between RPi and my HDMI monitor is lost for a second - then monitors displays information that it "found HDMI signal". This...
Try stripping the audio streams out, so only the video stream will remain. Then try again. If it works you'll know that at least video decoding is working properly.
OMG! After 4 days I found it... The problem was related to the size of OMX_TIME_CONFIG_CLOCKSTATETYPE structure. In hello_video example, sizeof(cstate) == 32. In my program it was 40 bytes... #pragma pack(1) solved the issue. And the video now play smoothly... Why, oh why the linaro's cross compiler...
This is weird. I think the problem is with setting OMX_TIME_ClockStateWaitingForStartTime clock state. I added some test code to hello_video example: memset(&cstate, 0, sizeof(cstate)); cstate.nSize = sizeof(cstate); cstate.nVersion.nVersion = OMX_VERSION; cstate.eState = OMX_TIME_ClockStateWaitingF...
What does your code look like that sends the video packets to video_decode ? Are you setting the timestamps there? It looks similar to hello_video code, but I'm using my helper classes. I'm not setting any timestamps: for (int i = 0; i < decodeInput->actualBufferCount(); i++) { auto len = fread(inp...
I'm scratching my head over this for the past few days... I have the following setup (arrows mean tunnels): ______________ _________________ ______________ 130] video_decode [131---->10] video_scheduler [11---->90] video_render | |______________| +-->12] | |______________| | |_________________| | __...
Hi, I converted the 1080p Big Buck Bunny video to mjpeg format and then I tried to play it with omxplayer. In the beginning it's okay, but it freezes in random moments, after say 10, 15 or more seconds. I've never been able to play it past the scene when the bunny awakes and goes out :) Here's the l...
Another reloc log I've got, this time "corrupted": Relocatable heap version 4 found at 0x10000000 total space allocated is 236M, with 236M relocatable, 0 legacy and 0 offline 0 legacy blocks of size 2359296 free list at 0x11b910c0 next pointer 0x200 out of bounds in free list at 0x11b910c0 545 free ...
All GPU memory/resources should be released when the arm process exits. I think the EGL error is this one: https://github.com/raspberrypi/firmware/issues/185 No fix yet. A leak in openmax was fixed about 2 months ago - is your firmware up to date? https://github.com/raspberrypi/firmware/issues/172 ...
I'm at code-debug-test stage of OMX development, and I'm not freeing any buffers yet. I'm just calling OMX_Deinit() at the end. Sometimes I break the program with Ctrl+C... I've found that after number of iterations I get the OMX_ErrorInsufficientResources error. Shouldn't OpenMAX library free all t...
OpenMAX sometimes doesn't return information about framerate of raw h264 stream. For example it returns xFramerate == 0 for test.h264 from hello_video sample. I have some other h264 video (encoded by myself) for which OpenMAX returns 30 FPS in xFramerate field (Q16 format). Do you know what does it ...
At startup the GPIO pins should be defined as inputs so the level will be undefined. Have you got external pull-down resistors on the gates of your MOSFETs? That should prevent them going high until your program defines the pins as outputs and sets them low. Of course, every gate has pull-down resi...
Hello, I have some GPIO pins connected to power MOSFET gates. Controlling these from the C program works as expected, however I have found a serious problem. During the first 1-2 seconds after powering-on the Pi, these gates are driven by 3V potential, effectively turning the MOSFETs on. After this...
Hello, I have some GPIO pins connected to power MOSFET gates. Controlling these from the C program works as expected, however I have found a serious problem. During the first 1-2 seconds after powering-on the Pi, these gates are driven by 3V potential, effectively turning the MOSFETs on. After this ...
I'm trying to play a short .h264 video using hello_video. In the middle, there's a short blink of the console screen and then, the last frame before the blink is displayed again. From then, video hangs up, until I'll press Ctrl+C. With omxplayer I can play the same video sucessfully. Edit: I can sen...
I found the problem... I was using cheap alligator cables. Now I'm using three of them in parallel for +5V and three for GND (temporarily, for testing only). Voltage drop after three cables is still 0.2V...
If the voltage between TP1 and TP2 is below 4.75V then specifically many USB devices may start behaving erratically! If your PI isn't receiving the correct voltage even though you supposed it should, many things may be wrong: Your PSU isn't up to the task The cable between the the PSU and PI isn't ...
Hi, I'm currently setting up my new power supply for Pi. Previous was a 1A USB phone charger and everything worked as it should. However, with my new power solution I get delayed keystrokes, missing keystrokes and sometimes keyboard doesn't work at all. I'm using AC/DC 19V 3.42A notebook PSU connect...
I'm using MCP3208 chip, it works fine with 3.3V power and ref voltage. But if you want the 12V range you should use voltage divider to 3.3V (use large resistance resistors).