Ffmpeg compilation issues

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

Ffmpeg compilation issues

Ronak Patel
Hi all,

I'm trying to build the latest HEAD version of Ffmpeg on Linux on the following platform.

Linux 4.9.124-0.1.ac.198.71.329.metal1.x86_64 #1 SMP Thu Aug 30 20:39:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

But, I'm getting compilation problems:

libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_set_ext_ctrl’:
libavcodec/v4l2_m2m_enc.c:51: warning: braces around scalar initializer
libavcodec/v4l2_m2m_enc.c:51: warning: (near initialization for ‘ctrls.count’)
libavcodec/v4l2_m2m_enc.c:55: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
libavcodec/v4l2_m2m_enc.c:60: error: ‘struct v4l2_ext_control’ has no member named ‘value’
libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_get_ext_ctrl’:
libavcodec/v4l2_m2m_enc.c:71: warning: braces around scalar initializer
libavcodec/v4l2_m2m_enc.c:71: warning: (near initialization for ‘ctrls.count’)
libavcodec/v4l2_m2m_enc.c:76: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
libavcodec/v4l2_m2m_enc.c:89: error: ‘struct v4l2_ext_control’ has no member named ‘value’
make: *** [libavcodec/v4l2_m2m_enc.o] Error 1

It looks like Ffmpeg is not finding the correct unions in the file: /usr/include/linux/videodev2.h.

What do I have to set to make compilation succeed?

Thanks,

Ronak
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: Ffmpeg compilation issues

Mark Thompson
On 27/10/18 17:24, Ronak wrote:

> Hi all,
>
> I'm trying to build the latest HEAD version of Ffmpeg on Linux on the following platform.
>
> Linux 4.9.124-0.1.ac.198.71.329.metal1.x86_64 #1 SMP Thu Aug 30 20:39:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> But, I'm getting compilation problems:
>
> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_set_ext_ctrl’:
> libavcodec/v4l2_m2m_enc.c:51: warning: braces around scalar initializer
> libavcodec/v4l2_m2m_enc.c:51: warning: (near initialization for ‘ctrls.count’)
> libavcodec/v4l2_m2m_enc.c:55: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
> libavcodec/v4l2_m2m_enc.c:60: error: ‘struct v4l2_ext_control’ has no member named ‘value’
> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_get_ext_ctrl’:
> libavcodec/v4l2_m2m_enc.c:71: warning: braces around scalar initializer
> libavcodec/v4l2_m2m_enc.c:71: warning: (near initialization for ‘ctrls.count’)
> libavcodec/v4l2_m2m_enc.c:76: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
> libavcodec/v4l2_m2m_enc.c:89: error: ‘struct v4l2_ext_control’ has no member named ‘value’
> make: *** [libavcodec/v4l2_m2m_enc.o] Error 1
>
> It looks like Ffmpeg is not finding the correct unions in the file: /usr/include/linux/videodev2.h.
>
> What do I have to set to make compilation succeed?

This was broken by a change which suppressed an invalid warning.  Fix here: <https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2018-October/235651.html>.

Thanks for the report!

- Mark
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: Ffmpeg compilation issues

Ronak Patel
Thanks.

Do you know when this would be merged in so I can build the latest developer trunk?
There are features in the developer trunk that I'm interested in using.

> On Oct 27, 2018, at 3:32 PM, Mark Thompson <[hidden email]> wrote:
>
> On 27/10/18 17:24, Ronak wrote:
>> Hi all,
>>
>> I'm trying to build the latest HEAD version of Ffmpeg on Linux on the following platform.
>>
>> Linux 4.9.124-0.1.ac.198.71.329.metal1.x86_64 #1 SMP Thu Aug 30 20:39:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>> But, I'm getting compilation problems:
>>
>> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_set_ext_ctrl’:
>> libavcodec/v4l2_m2m_enc.c:51: warning: braces around scalar initializer
>> libavcodec/v4l2_m2m_enc.c:51: warning: (near initialization for ‘ctrls.count’)
>> libavcodec/v4l2_m2m_enc.c:55: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
>> libavcodec/v4l2_m2m_enc.c:60: error: ‘struct v4l2_ext_control’ has no member named ‘value’
>> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_get_ext_ctrl’:
>> libavcodec/v4l2_m2m_enc.c:71: warning: braces around scalar initializer
>> libavcodec/v4l2_m2m_enc.c:71: warning: (near initialization for ‘ctrls.count’)
>> libavcodec/v4l2_m2m_enc.c:76: error: ‘struct v4l2_ext_controls’ has no member named ‘ctrl_class’
>> libavcodec/v4l2_m2m_enc.c:89: error: ‘struct v4l2_ext_control’ has no member named ‘value’
>> make: *** [libavcodec/v4l2_m2m_enc.o] Error 1
>>
>> It looks like Ffmpeg is not finding the correct unions in the file: /usr/include/linux/videodev2.h.
>>
>> What do I have to set to make compilation succeed?
>
> This was broken by a change which suppressed an invalid warning.  Fix here: <https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2018-October/235651.html <https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2018-October/235651.html>>.
>
> Thanks for the report!
>
> - Mark
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email] <mailto:[hidden email]>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user <http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>
> To unsubscribe, visit link above, or email
> [hidden email] <mailto:[hidden email]> with subject "unsubscribe".

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

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