ERROR: OpenMAX IL headers from raspberrypi/firmware not found #11
Replies: 34 comments 4 replies
-
Providing your absolutely sure your using 32Bit and not 64Bit, you can try installing 'libomxil-bellagio-dev' before running the script - it's normally included with Raspberry pi OS, so maybe that's now changed. The OMX library is an extremely old implementation, and it's been replaced with 'h264_v4l2m2m' that gets compiled. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your swift responce. I will try 'libomxil-bellagio-dev' immediately. |
Beta Was this translation helpful? Give feedback.
-
libomxil-bellagio-dev is the OMX Development files/headers, so proving you install them first - the build should succeed. |
Beta Was this translation helpful? Give feedback.
-
Thanks again, |
Beta Was this translation helpful? Give feedback.
-
These headers file are usually available on the OS, I'm a little surprised they weren't found to be honest. |
Beta Was this translation helpful? Give feedback.
-
First I tried in Buster 32bit and below error: In file included from ./libavutil/libm.h:29, In file included from libavcodec/aacps_tablegen.c:24: In file included from libavcodec/aacps_tablegen_template.c:39, Start time: Mon 13 Feb 20:54:35 GMT 2023 | |
|
Beta Was this translation helpful? Give feedback.
-
Let me install fresh Raspberry Pi Bullseye lite 32bit OS and run your script and send report. |
Beta Was this translation helpful? Give feedback.
-
These are my steps on fresh SD card: Seems ok, or should I install any prerequisites packages/libs ? |
Beta Was this translation helpful? Give feedback.
-
Try without the dev package first. If that fails, wipe the folders used for building, then install the omx dev package first then run the script again If it still has issues, then the bullseye OS has changed goal posts - since we last tested Our script installs needed pre-requisites |
Beta Was this translation helpful? Give feedback.
-
Eg: FAILED: |
Beta Was this translation helpful? Give feedback.
-
This is just a fresh starting of your script.
|
Beta Was this translation helpful? Give feedback.
-
If you check the url, this is not present today. After this operation, 10.5 MB of additional disk space will be used.
|
Beta Was this translation helpful? Give feedback.
-
Can you put a dev pi to use? This could just be a mirror problem, as I did not have issues with bullseye 32? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I have no idea yet. I'm pretty sure it built with OMX on bullseye 32bit. (Pi ZERO W1) You can change the mirrors via: And Run the normal update routines after (update, upgrade) |
Beta Was this translation helpful? Give feedback.
-
config.log file : BEGIN /tmp/ffconf.P0VvnNYQ/test.c |
Beta Was this translation helpful? Give feedback.
-
This time I said NO to OMX/ACC and got this error In file included from libavcodec/aacps_tablegen.c:24: Start time: Mon 13 Feb 22:31:58 GMT 2023 | |
|
Beta Was this translation helpful? Give feedback.
-
I came to know OMX support only 32bit |
Beta Was this translation helpful? Give feedback.
-
Try clearing all build folders. That seems like left overs from the last attempt. |
Beta Was this translation helpful? Give feedback.
-
I think this script may not be what you hoped it was? Most users of HomeKit are now using h264_v4l2m2m for their camera streams, that use 64bit os. HDMI ports are nothing todo with it? |
Beta Was this translation helpful? Give feedback.
-
Ok, I will try that too. |
Beta Was this translation helpful? Give feedback.
-
I do live video streaming with 1280x720 and 4Mbps speed. How ever I will give a try on h264_v4l2m2m again. |
Beta Was this translation helpful? Give feedback.
-
Again clean installation of Bullseye 32bit. Extracting source code... If you think configure made a mistake, make sure you are using the latest Start time: Mon 13 Feb 23:24:26 GMT 2023 | |
|
Beta Was this translation helpful? Give feedback.
-
Since I've been called - I'll leave a comment... Last time I went down this road I learned that OMX is being phased out. It's not recommended for much of anything "new" anymore and files it depends on are bing moved around (first with 64 bit, now with 32 bit) to places where OMX doesn't know where to find them since OMX hasn't been updated in years.
This was going to be my recommendation - try v4l or some other codecs. Surely some Linux wizard could get OMX working again but unfortunately I don't know the trick, I tried for a while before moving to v4l (and now just "copy" codec actually). Another option... |
Beta Was this translation helpful? Give feedback.
-
@crxporter thanks.
Stream mapping:
|
Beta Was this translation helpful? Give feedback.
-
Your knowledge of the topic is far more advanced than mine. This particular install script came about to be used mostly with home automation things (adding cameras to homekit). Of course it builds a fully functional ffmpeg - but anything more than basics is beyond my understanding... That's probably not helpful to you, but I just wanted to add the context and note that you won't find many ffmpeg pros (except marcus and sometimes shaquu) around here. I'm sure marcus will be back sometime soon with more comments - but I'm thinking you might want to find a more dedicated ffmpeg group to discuss things with? |
Beta Was this translation helpful? Give feedback.
-
I don't blame this script.
|
Beta Was this translation helpful? Give feedback.
-
Last few days I am experimenting Unfortunately the h264_omx is obsoleted :( |
Beta Was this translation helpful? Give feedback.
-
I found a solution for the ffmpeg build below error ! On the ./configure simply remove "--enable-hardcoded-tables" |
Beta Was this translation helpful? Give feedback.
-
@gaamaaresosa have you managed to compile ffmpeg with omx codec? If so, can you provide instructions or some tips please. About a year ago stock ffmpeg from raspbian bullseye 32bit repo had it enabled and now it's gone and i can't even manage to compile it myself with that codec enabled. it performed better than new ones that are supported on raspberypi :( |
Beta Was this translation helpful? Give feedback.
-
I tried this is
Raspberry Pi OS Bullseye (32bit) Lite
I said YES to h264_OMX.
I get the below error and stoped.
I tried few other script on the internet to build ffmpeg on Raspberry Pi OS Bullseye (32bit) Lite. Nothing works a on todays date.
Most on the Mirror sites fails with Hash validation.
"May be that's Linux" Repository path changes after some period of time and we face such issues.
2023-02-13 17:29:40 (5.34 MB/s) - ‘ffmpeg-snapshot.tar.bz2’ saved [12352077/12352077]
Extracting source code...
ERROR: OpenMAX IL headers from raspberrypi/firmware not found
Beta Was this translation helpful? Give feedback.
All reactions