Need help with cross-compiling ffmpeg

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with cross-compiling ffmpeg

Dimitri Vasilkov

Hello,

I am  attempting to compile ffmpeg 4.1.4 for Raspbian with MMAL and OMX enabled under Ubuntu WSL. I generated a toolchain via ct-ng and am running into issues wen attempting to run the configure script (I attached config.log to this message).

Things I have tried to fix the issue:

I cloned the userland GitHub repo and built to get the appropriate headers generated as I assume this is why config.log is complaining about interface/mmal/mmal.h. I then  attempted to include these .h  files by providing the –sysinclude= and –incdir= paths. This didn’t work, so I poked around in configure and added directly to incdir. Alas, this also did not fix the issue.

How can I successfully finish the configure script and get ffmpeg built?

I feel like I’m missing something glaringly obvious, apologies if this is a really basic question.

Best,
Dimitri

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (488K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Need help with cross-compiling ffmpeg

Brainiarc7
On Thu, 25 Jul 2019 at 17:09, Dimitri Vasilkov <[hidden email]> wrote:

>
> Hello,
>
> I am  attempting to compile ffmpeg 4.1.4 for Raspbian with MMAL and OMX
> enabled under Ubuntu WSL. I generated a toolchain via ct-ng and am running
> into issues wen attempting to run the configure script (I attached
> config.log to this message).
>
> Things I have tried to fix the issue:
>
> I cloned the userland GitHub repo and built to get the appropriate headers
> generated as I assume this is why config.log is complaining about
> interface/mmal/mmal.h. I then  attempted to include these .h  files by
> providing the –sysinclude= and –incdir= paths. This didn’t work, so I poked
> around in configure and added directly to incdir. Alas, this also did not
> fix the issue.
>
> How can I successfully finish the configure script and get ffmpeg built?
>
> I feel like I’m missing something glaringly obvious, apologies if this is
> a really basic question.
>
> Best,
> Dimitri
>

Start here:
https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi#Cross-compilingFFmpegforRaspbian


--
まさひろ はやし
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Need help with cross-compiling ffmpeg

Dimitri Vasilkov
Thank you Dennis, I was able to get ffmpeg compiled in this way. I would like to add OMX and MMAL support now and am running into the same issue as before. Where should I place the required headers for them?

> On Jul 25, 2019, at 9:27 AM, Dennis Mungai <[hidden email]> wrote:
>
>> On Thu, 25 Jul 2019 at 17:09, Dimitri Vasilkov <[hidden email]> wrote:
>>
>>
>> Hello,
>>
>> I am  attempting to compile ffmpeg 4.1.4 for Raspbian with MMAL and OMX
>> enabled under Ubuntu WSL. I generated a toolchain via ct-ng and am running
>> into issues wen attempting to run the configure script (I attached
>> config.log to this message).
>>
>> Things I have tried to fix the issue:
>>
>> I cloned the userland GitHub repo and built to get the appropriate headers
>> generated as I assume this is why config.log is complaining about
>> interface/mmal/mmal.h. I then  attempted to include these .h  files by
>> providing the –sysinclude= and –incdir= paths. This didn’t work, so I poked
>> around in configure and added directly to incdir. Alas, this also did not
>> fix the issue.
>>
>> How can I successfully finish the configure script and get ffmpeg built?
>>
>> I feel like I’m missing something glaringly obvious, apologies if this is
>> a really basic question.
>>
>> Best,
>> Dimitri
>>
>
> Start here:
> https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi#Cross-compilingFFmpegforRaspbian
>
>
> --
> まさひろ はやし
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".