[Libav-user] android_camera build breakage?

Andrew Randrianasulu randrianasulu at gmail.com
Wed Oct 25 11:31:50 EEST 2023


====

libavdevice/android_camera.c:651:56: error: no member named 'side_data' in
'struct AVCodecParameters'
  651 |     side_data = av_packet_side_data_new(&st->codecpar->side_data,
      |                                          ~~~~~~~~~~~~  ^
libavdevice/android_camera.c:652:56: error: no member named 'nb_side_data'
in 'struct AVCodecParameters'
                                                  652 |
                     &st->codecpar->nb_side_data,
      |                                          ~~~~~~~~~~~~  ^
2 errors generated.
CC      libavdevice/xcbgrab.o

===

trying to build recent ffmpeg with this configure


./configure --enable-jni --enable-mediacodec --enable-neon
--target-os=android --disable-outdevs

on termux / aarch64 installation

configure autodetects android_camera:

Enabled indevs:
                        android_camera          lavfi
 xcbgrab
fbdev                   v4l2


but then fails like  above.


ffmpeg base

a4877f1ec11e0327684eda37b15bc1ccb16f9ace

I was trying to see if camera can be accessed after I granted Termux
permissions  via installing termux-API from f-droid and inside termux
itself, so calling "termux-camera-photo 1.jpeg" resulted in permission pop
up, where I granted it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20231025/708d259e/attachment.htm>


More information about the Libav-user mailing list