#550: Build errors with external ffmpeg
-----------------------------+----------------------------------------------
Reporter: daytooner | Owner: cinele...@…
Type: defect | Status: new
Priority: highest | Component: Building
Version: 2.1 | Severity: blocker
Keywords: ffmpeg, external |
-----------------------------+----------------------------------------------
This is with the most current version of ffmpeg (which is close enough to
those packages in the Fedora repositories), and with the latest git
version of cinelerra-cv.
This is on a fresh install of Fedora 12, kernel version: 2.6.31.12, for
i386.
To reproduce:
1: download (and build if necessary)and install ffmpeg w/ all codecs, and
all required and optional libraries, and development files.
2: git latest cinerella version (2.1CV)
3a: sh autogen.sh
3b: ./configure ... --with-external-ffmpeg ...
3c: make
There are three consecutive fatal compile errors. Here are the fixes I
made (some are obviously hacks)
1) in quicktime/qtffmpeg.h, line 24:
insert these lines:
#define PIX_FMT_UYVY411 PIX_FMT_UYYVYY411
#define PIX_FMT_RGBA32 PIX_FMT_RGB32
#define PIX_FMT_YUV422 PIX_FMT_YUYV422
(these are from ffmpeg's libavutil/avutil.h)
2) in cinelerra/ffmpeg.C, line 5:
change from: #include <swscale.h>
to: #include <libswscale/swscale.h>
3) in cinelerra/ffmpeg.C, line 15:
insert (same as 1):
#define PIX_FMT_UYVY411 PIX_FMT_UYYVYY411
#define PIX_FMT_RGBA32 PIX_FMT_RGB32
#define PIX_FMT_YUV422 PIX_FMT_YUYV422
From a fresh source tree, this will build completely with no build errors.
Note that the same source (without the changes) will build with no errors
without specifying external ffmpeg.
I cannot guarantee that these changes will not affect the executable
itself, since I am having problems running cinelerra with several
different videos. But those problems are the same for both versions (with
and without external ffmpeg).
ken
--
Ticket URL: <http://bugs.cinelerra.org/ticket/550>
CinelerraCV <http://bugs.cinelerra.org>
My example project
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra