Package Details: ffmpeg2.1 2.1-1

Git Clone URL: https://aur.archlinux.org/ffmpeg2.1.git (read-only, click to copy)
Package Base: ffmpeg2.1
Description: complete solution to record, convert and stream audio and video
Upstream URL: https://ffmpeg.org/
Licenses: GPL2
Submitter: vmp
Maintainer: vmp
Last Packager: vmp
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-29 15:35 (UTC)
Last Updated: 2024-06-11 16:10 (UTC)

Latest Comments

vmp commented on 2024-06-12 01:49 (UTC)

The issue with [-Wincompatible-pointer-types] is solved.

vmp commented on 2024-06-11 11:36 (UTC)

gcc 14 issue with ffmpeg 2.1

libavutil/frame.c: In Funktion »av_frame_ref«:
libavutil/frame.c:274:56: Fehler: Übergabe des Arguments 3 von »av_image_copy« von inkompatiblem Zeigertyp [-Wincompatible-pointer-types]
  274 |             av_image_copy(dst->data, dst->linesize, src->data, src->linesize,
      |                                                     ~~~^~~~~~
      |                                                        |
      |                                                        uint8_t ** {alias unsigned char **}
In Datei, eingebunden von libavutil/frame.c:26:
libavutil/imgutils.h:119:35: Anmerkung: »const uint8_t **« {alias »const unsigned char **«} erwartet, aber Argument hat Typ »uint8_t **« {alias »unsigned char **«}
  119 |                    const uint8_t *src_data[4], const int src_linesizes[4],
      |                    ~~~~~~~~~~~~~~~^~~~~~~~~~~
CC  libavutil/hmac.o
libavutil/frame.c: In Funktion »av_frame_make_writable«:
libavutil/frame.c:427:52: Fehler: Übergabe des Arguments 3 von »av_image_copy« von inkompatiblem Zeigertyp [-Wincompatible-pointer-types]
  427 |         av_image_copy(tmp.data, tmp.linesize, frame->data, frame->linesize,
      |                                               ~~~~~^~~~~~
      |                                                    |
      |                                                    uint8_t ** {alias unsigned char **}

vmp commented on 2024-02-29 16:29 (UTC) (edited on 2024-02-29 16:48 (UTC) by vmp)

First of all one has to install ffmpeg2.1, then x264_152, then ffmpeg2.1 once more with the changes below

One has to build ffmpeg2.1 second one with following changes
--extra-cflags=-I/opt/include
#--enable-libx264
change it to
--extra-cflags=-I/opt/include \
--enable-libx264